Encodes sample data, and writes it to the file or network.
|handle||The encoder handle.
|buffer||The buffer containing the sample data.
|length||The number of bytes in the buffer.
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
|BASS_ERROR_HANDLE||handle is not valid.
|BASS_ERROR_MEM||There is insufficient memory.
|BASS_ERROR_UNKNOWN||Some other mystery problem!
There is generally no need to call this function if the BASS_WMA_ENCODE_SOURCE flag has been set on the encoder, as the encoder will automatically be fed the data that its source BASS channel produces.
BASS_WMA_EncodeOpen, BASS_WMA_EncodeOpenFile, BASS_WMA_EncodeOpenNetwork