Re: how to use hog mode
Re: how to use hog mode
- Subject: Re: how to use hog mode
- From: Derk-Jan Hartman <email@hidden>
- Date: Mon, 28 Jun 2004 12:26:51 +0200
First of all thanks to David for pointing out that file.
On 28 jun 2004, at 11:56, Jean-Alexis Montignies wrote:
Hi Derk,
I think in fact that you cannot use AUHAL for non PCM fornats or for
hog mode. Am I wrong?
Why not? the thing knows that AC3 is being set, so why couldn't it take
Hog and all other necessary steps itself? As far as i can see AUHAL is
actually just a AU implementation of our entire plugin :)
The hog mode is to be released when closing the output (I guess at the
same place than you used to restore the old format).
I committed this to VLC. Still no clue if it works of course.
Someone will need to test. Also not sure if i need to set mixable. I do
know that things are starting to become a mess :)
I also think there is another problem. In VLCs audio output model a AC3
output is a different device. So we fake this. However, it doesn't
account for the fact that AC3 might be de default stream on a G5, even
though it cannot be used in that mode (not connected). I think that's
causing some trouble as well.
So you would need two code base (which makes sense in my opinion as
you can not even do sample rate conversion in AC3).
I don't know how to do that in VLC. Two modules? One module with a
switch?
This would be an extremely bad idea. One module should be able to
handle everything.
On 27 juin 04, at 21:25, Derk-Jan Hartman wrote:
Hi all,
So i know that VLC should actually use AUHAL, but atm i don't think
any of us (2 osx devs) has the time to learn AUHAL and re-implement
our entire module.
So we almost have all the bugs out of the old style coreaudio module.
However i know that we need to take hog mode before setting AC3 audio
format. But I cannot find IF, and HOW we should release hog mode.
Since i don't have any equipment to test this, i need to be told /
find the documentation. Unfortunately even the headers don't document
this one.
Does anyone know how this works?
DJ
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.