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 time timecode.

The audio-sample format samples must be specified before calling this routine. See Genvid_SetParameterInt() for more information.

Using -1 instead of a timecode value calls Genvid_GetCurrentTimecode() and uses that value for timecode.

It returns one of the following values:

GenvidStatus_UninitializedSDK: The Genvid library was not initialized before calling it.

GenvidStatus_InvalidState: The asynchronous handler was not initialized.

GenvidStatus_InvalidParameter: The stream streamID was not found.

GenvidStatus_Success: The operation completed properly.