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.
Parsec SDK on GitHubDiscuss on Discord

You are prepared.

Create an account now for free.

Sign Up
Parsec© 2020
Made with ❤️ in NYC