AudioConverterFillComplexBuffer
AudioConverterFillComplexBuffer
- Subject: AudioConverterFillComplexBuffer
- From: Stephen Shaw <email@hidden>
- Date: Mon, 22 Aug 2005 17:14:05 -0700
- Thread-topic: AudioConverterFillComplexBuffer
I'm trying something like in the simple playback example, however, when I
call AudioConverterFillComplexBuffer (), my callback "_ACComplexInputProc"
never gets called, and I get a result code of -1.
Has anyone seen this or have any ideas what might be happening?
Is there anyway of getting a useful error?
OSStatus SoundBoardCoreAudio::OutputCallbackProc (void *inRefCon,
AudioUnitRenderActionFlags
*ioActionFlags,
const AudioTimeStamp *TimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList * ioData)
{
OSStatus err = noErr;
AudioStreamPacketDescription* outPacketDescription = NULL;
void *pInInputDataProcUserData = NULL;
AudioConverterRef conv = pThisObj->mConverter;
err = AudioConverterFillComplexBuffer (conv , _ACComplexInputProc ,
pInInputDataProcUserData , &inNumberFrames, ioData, outPacketDescription);
check (err);
return (err);
}
Thanks,
Stephen
_______________________________________________
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