BASS.NET API for the Un4seen BASS Audio LibraryBaseEncoderStart Method BASS.NET API for the Un4seen BASS Audio Library
This method must implement the actual start of the encoder. After the encoder was started successfully the EncoderHandle must return a valid HENCODE handle.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public abstract bool Start(
	ENCODEPROC proc,
	IntPtr user,
	bool paused
)

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: Boolean
Should return , if the encoder was successfully started - else must be returned.

Implements

IBaseEncoderStart(ENCODEPROC, IntPtr, Boolean)
Remarks

An imlementation of this method should internally call BASS_Encode_Start(Int32, String, BASSEncode, ENCODEPROC, IntPtr) accordingly using the EncoderCommandLine. After the encoder was started successfully the EncoderHandle must return a valid HENCODE handle. If the encoder was not started successfully or was stopped EncoderHandle must return 0 (zero).
See Also

Reference