• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Canonical format max amp limits?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Canonical format max amp limits? (From: Stephen Checkoway <email@hidden>)
 >Re: Canonical format max amp limits? (From: Mark Cookson <email@hidden>)

  • Prev by Date: Re: Canonical format max amp limits?
  • Next by Date: Re: Parameters in Offline AUs and Reducing the length of AudioFiles
  • Previous by thread: Re: Canonical format max amp limits?
  • Next by thread: Re: Canonical format max amp limits?
  • Index(es):
    • Date
    • Thread