AudioFileOpenWithCallbacks
AudioFileOpenWithCallbacks
- Subject: AudioFileOpenWithCallbacks
- From: Simon Brée <email@hidden>
- Date: Fri, 2 Dec 2005 19:44:21 +0100
i everyone,
Sorry for asking a newbie's question, but I did not find any
documentation or example on the web about the use of
AudioFileOpenWithCallbacks.
I only need to write data : should I need to provide a
AudioFile_ReadProc, AudioFile_GetSizeProc, AudioFile_SetSizeProc?
What should I pass as argument for void *inRefCon?
Here's an example : I've got an input procedure :
OSStatus InputProc(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList * ioData)
{
OSStatus err =noErr;
err= AudioUnitRender(theInputUnit,
ioActionFlags,
inTimeStamp,
inBusNumber, //will be '1' for input data
inNumberFrames, //# of frames requested
theInputBufferList);
return err;
}
My file type is theType, and my file id is theFileID.
How should look the call to AudioFileOpenWithCallbacks?
Thanks for any help.
Simon
_______________________________________________
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