BASSenc

ENCODEPROC callback


User defined callback function to process encoded sample data.

void CALLBACK EncodeProc(
    HENCODE handle,
    DWORD channel,
    void *buffer,
    DWORD length,
    void *user
);

Parameters

handleThe encoder that the data is from.
channelThe channel that the encoder is set on.
bufferBuffer containing the encoded data.
lengthThe number of bytes in the buffer.
userThe user instance data given when BASS_Encode_Start was called.

See also

BASS_Encode_Start