Commit 8ba3daaf authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winecoreaudio: Add stub implementation of CoreAudio_wiAudioUnitIOProc.

It will serve as the input callback called when our Audio Unit has sound data available.
parent 5319b64b
......@@ -208,6 +208,12 @@ OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList *ioData);
OSStatus CoreAudio_wiAudioUnitIOProc(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList *ioData);
/* These strings used only for tracing */
......@@ -1685,6 +1691,17 @@ DWORD WINAPI CoreAudio_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
return MMSYSERR_NOTSUPPORTED;
}
OSStatus CoreAudio_wiAudioUnitIOProc(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList *ioData)
{
return noErr;
}
#else
/**************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment