Receives the output from a user encoder.
BOOL BASS_Encode_UserOutput( DWORD handle, QWORD offset, void *buffer, DWORD length );
|offset||The file offset of the data... -1 = the current end position.|
|buffer||Pointer to the encoded data.|
|length||The amount of data in bytes.|
|BASS_ERROR_HANDLE||handle is not valid.|
|BASS_ERROR_NOTAVAIL||The encoder was not started with BASS_Encode_StartUser.|
|BASS_ERROR_POSITION||offset is beyond the end of the file.|
|BASS_ERROR_UNKNOWN||Some other mystery problem!|
If a server has been set on the encoder via BASS_Encode_CastInit or BASS_Encode_ServerInit, the server will not receive the data when offset is behind the current end position. The current end position is available from BASS_Encode_GetCount with BASS_ENCODE_COUNT_OUT.