This method starts the actual MPC encoder.
After the encoder was started successfully the EncoderHandle returns a valid HENCODE handle.
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- proc
- Type: Un4seen.Bass.AddOn.EncENCODEPROC
Optional callback function to receive the encoded data... = no callback. To have the encoded data received by a callback function, the encoder needs to be told to output to STDOUT (instead of a file), so SupportsSTDOUT must return true. - user
- Type: SystemIntPtr
User instance data to pass to the callback function. - paused
- Type: SystemBoolean
Start the encoder paused? If , you might use Pause(Boolean) to unpause (and really start the encoder).
Return Value
Type: BooleanReturns , if the encoder was successfully started - else is returned.
Implements
IBaseEncoderStart(ENCODEPROC, IntPtr, Boolean)Remarks
This implementation starts the encoder with the BASS_ENCODE_FP_32BIT flag (since no 32bit floating point are supported), this also means a Wave header will be send to the encoder to specify the bitrate, number of channels and samplerate (8, 16, 24 and 32 bit are supported).
If an encoder stops running prematurely, Stop should still be called to release resources that were allocated for the encoding.
See Also