Re: Canonical format max amp limits?
Re: Canonical format max amp limits?
- Subject: Re: Canonical format max amp limits?
- From: Jeff Moore <email@hidden>
- Date: Thu, 15 Jul 2004 13:36:44 -0700
I would advise against this route. It is much more complicated to do
native mode IO and manage hog mode than it would be to use AUHAL or an
AudioConverter. Native mode IO is also unfriendly to the rest of the
system as it prevents other applications from using the device too.
Your best bet is to use AUHAL and the converter it manages for you.
There is plenty of sample code in /Developer/Examples/CoreAudio that
show how this works.
On Jul 15, 2004, at 1:15 PM, Mark Cookson wrote:
On Jul 15, 2004, at 1:52 PM, Stephen Checkoway wrote:
Unless there is a simpler way to just pass along the 16 bit ints,
this is
exactly what I will do now.
If you just want to give the hardware 16 bit ints, you can do this for
hardware running the AppleUSBAudio or AppleOnboardAudio driver by
selecting the 16-bit non-mixable format. The driver will then expect
you to give it 16-bit ints. For USB it will be expecting little
endian 16-bit ints, but for AppleOnboardAudio, it will be expecting
16-bit big endian ints.
--
Mark Cookson
M-Audio
225 Locust St.
Hudson, WI 54016
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.