AudioConverterFillComplexBuffer error 58284
AudioConverterFillComplexBuffer error 58284
- Subject: AudioConverterFillComplexBuffer error 58284
- From: Philippe Wicker <email@hidden>
- Date: Mon, 4 Aug 2003 07:41:28 +0200
Hello all,
I've finished to convert my code so that it uses the AudioConverter.
But I get an error 58284 when returning from
AudioConverterFillComplexBuffer and the audio buffer is filled with 0
(silence ?). I couldn't find an error code with that value. Is it a
valid code or does this mean that my AudioConverterFillComplexBuffer is
a little bit confused? BTW, the stack shown (in grey) by the debugger
between the call to AudioConverterFillComplexBuffer and the
ComplexInputProc callback is surprising. Some "__dynamic_cast"
interspersed with "operator delete(void*)" (???).
I'm trying to convert samples read in an AIF stereo file (interleaved
16 bits signed integer) to the non interleaved canonical (Float32)
format both at the same sample rate (44100.0). When I trace the
execution under the debugger, I fall as expected in my
ComplexInputProc. There I do some work to grab my data but essentially
returns in ioData->mBuffers[0].mData the address of those data and 2048
in ioData->mBuffers[0].mDataBytesSize without modifying
ioNumberDataPackets (512 in this case). Any idea of what's going wrong
here?
Thanks,
Philippe Wicker
email@hidden
_______________________________________________
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.