Apple lossless conversion failure
Apple lossless conversion failure
- Subject: Apple lossless conversion failure
- From: Harry Plate <email@hidden>
- Date: Wed, 04 May 2011 10:21:36 -0700
I am (finally) moving to Core Audio to replace some old Sound Manager code that
would extract/convert audio channels for our application. This conversion to Core Audio has
been pretty painless for the most part; except, I am running into issues w/ compressed audio
formats.
The code that I am using is based on the Core Audio "ConvertFile" example
[UseAC-AF.cpp]. I was able to use alot of that code verbatim.
I am being tripped up on a case w/ a .caf file ['alac', 6ch, 48kHz, 24b]. My
call to AudioConverterFillComplexBuffer() is returning '!dat'. My callback proc
read a single packet successfully.
The same .caf file using ConvertFile also results in a failure, but in the read callback
proc; ie, AudioFileReadPackets() returns 'wht?'
I'm stymied. Any comments/suggestions to get to the bottom of this failure?
-harry _______________________________________________
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