Re: AudioFileStream unable to read m4a data
Re: AudioFileStream unable to read m4a data
- Subject: Re: AudioFileStream unable to read m4a data
- From: Jens Alfke <email@hidden>
- Date: Mon, 31 Mar 2008 17:56:06 -0700
On 31 Mar '08, at 4:46 PM, I wrote:
My app's actually failing differently than the sample code. It plays
about 1/2 second of audio, then stops; the app's still running, but
my AudioQueue's buffer callback is never invoked again.
Never mind! I finally tracked this down to an obscure bug in my audio
buffering code; it was triggered because ADTS packet info tables start
with mStartOffset=7, and my code did the wrong thing if it wasn't zero.
I can now successfully downconvert audio files to ADTS 128kbps, stream
them to the other end of the socket, and play them there. Yay!
(This still doesn't explain why AudioFile barfs on ADTS, but I'm not
using it for that in my real app, so it's not my problem...)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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