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
Name | Description |
---|---|
frames | Number of frames of audio in the buffer. |
buffer | The audio frames, 2 channels. |
wf | Details about the audio data. |
opaque | The opaque structure given before. |