BASS_Encode_StartDummy
Sets up a dummy encoder for pre-encoded data.
HENCODE BASS_Encode_StartDummy(
DWORD flags
);
Parameters
| flags | Currently unused. Should be 0.
|
Return value
The encoder handle is returned if the encoder is successfully started, else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
| BASS_ERROR_ILLPARAM | flags is not valid.
|
| BASS_ERROR_MEM | There is insufficient memory.
|
| BASS_ERROR_UNKNOWN | Some other mystery problem!
|
Remarks
A dummy encoder does no encoding itself and just receives pre-encoded data via BASS_Encode_Write. This can be useful for feeding pre-encoded data to a server setup with BASS_Encode_CastInit or BASS_Encode_ServerInit.
When done with it, use BASS_Encode_Stop or BASS_Encode_StopEx to close the encoder.
See also
BASS_Encode_CastInit, BASS_Encode_IsActive, BASS_Encode_ServerInit, BASS_Encode_SetNotify, BASS_Encode_Start, BASS_Encode_Stop, BASS_Encode_Write