Genvid_SubmitAudioData()¶
-
GenvidStatus
Genvid_SubmitAudioData
(const GenvidTimecode timecode, const char *streamID, const void *audioData, const int audioDataSize)¶ Sends a buffer of audio samples associated with the stream
streamID
at timetimecode
.The format of the audio samples must have been previously specified (see Genvid_SetParameterInt()).
Using a negative
timecode
value is shorthand for calling Genvid_GetCurrentTimecode() and using that timecode value instead.It will return one of the following values :
GenvidStatus_UninitializedSDK : The Genvid library was not initialised before calling it.
GenvidStatus_InvalidState : The asynchronous handler was not initialised.
GenvidStatus_InvalidParameter : The stream
streamID
was not found.GenvidStatus_Success : The operation has completed properly.