Parsec

ParsecAudioCallback

typedef void(* ParsecAudioCallback) (const int16_t *pcm, uint32_t frames, void *opaque )

Fired synchronously if new audio is available from the host.

Passed to ParsecClientPollAudio. IMPORTANT: Parsec SDK functions may not be called within this callback, doing so will result in a deadlock on the calling thread.

Parameters

NameDescription
pcm16-bit signed, two channel, 48KHz PCM audio samples.
framesNumber of audio frames.
opaqueUser supplied context passed to ParsecClientPollAudio.