ParsecClientPollAudio
ParsecStatusParsecClientPollAudio(Parsec *ps,ParsecAudioCallbackcallback,uint32_ttimeout,const void *opaque)
Poll for new audio from the host.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | callback | Fired synchronously if new audio is available from the host. |
in | timeout | Timeout in milliseconds to wait for new audio to become available. |
in | opaque | User 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.