ENCODEPROC callback

User defined callback function to process encoded sample data.

void CALLBACK EncodeProc(
    HENCODE handle,
    DWORD channel,
    const 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 (or other encoder initialization function) was called.

See also

BASS_Encode_Start