Parsec

ParsecHookAudioCallback

typedef void(* ParsecHookAudioCallback) (uint32_t frames, uint8_t *buffer, ParsecWAVEFORMATEX *wf, void *opaque )

Fired on new hooked audio data.

Passed to ParsecHostHookStart to override the default behavior.

Parameters

NameDescription
framesNumber of frames of audio in the buffer.
bufferThe audio frames, 2 channels.
wfDetails about the audio data.
opaqueThe opaque structure given before.