• 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: Question about the AudioConverterFillComplexBuffer callback function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about the AudioConverterFillComplexBuffer callback function


  • Subject: Re: Question about the AudioConverterFillComplexBuffer callback function
  • From: Fredrik <email@hidden>
  • Date: Wed, 12 May 2010 20:55:57 +0200

I managed to get a file out of it to test but AudioConverterFillComplexBuffer returns an error. The output format is 12 bits and 26040 hz linear pcm, little endian, so I used CAF with allign high.

With the align high flag, is it correct that the bits would be represented like this for little endian 12 bits? (starting with LSB)

1111 0000 1111 1111

I tried to print out part of the file in the terminal, reading into unsigned shorts and then AND each sample with 15. This returned nothing but zero so it seems to be 12 bits.

I did not use a loop around AudioConverterFillComplexBuffer but did everything in one go.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Question about the AudioConverterFillComplexBuffer callback function (From: Fredrik <email@hidden>)
 >Re: Question about the AudioConverterFillComplexBuffer callback function (From: James McCartney <email@hidden>)
 >Re: Question about the AudioConverterFillComplexBuffer callback function (From: Fredrik <email@hidden>)

  • Prev by Date: Re: Getting ahold of my application's own sound output
  • Next by Date: Re: timestamps for usb audio device
  • Previous by thread: Re: Question about the AudioConverterFillComplexBuffer callback function
  • Next by thread: Setting hardware buffer sizes
  • Index(es):
    • Date
    • Thread