Parsec

ParsecClientPollAudio

ParsecStatusParsecClientPollAudio(Parsec *
ps,
ParsecAudioCallback
callback,
uint32_t
timeout,
const void *
opaque
)

Poll for new audio from the host.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
incallbackFired synchronously if new audio is available from the host.
intimeoutTimeout in milliseconds to wait for new audio to become available.
inopaqueUser supplied context to be passed through callback.

Returns

PARSEC_OK if new audio frames were available and the callback fired, otherwise a ParsecStatus warning value on timeout.