BASS.NET API for the Un4seen BASS Audio Library

IBaseEncoderEncoderHandle Property

BASS.NET API for the Un4seen BASS Audio Library
This property should get and set a HENCODE encoder handle as returned by the BASS_Encode_Start(Int32, String, BASSEncode, ENCODEPROC, IntPtr) method if the the encoder has been started (see Start(ENCODEPROC, IntPtr, Boolean)) or 0 (zero), if the encoder has not been started or was stopped (see Stop).

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

int EncoderHandle { get; set; }

Property Value

Type: Int32
Remarks

Take note of the IsActive member, which might need to use the the encoder handle in order to retrieve the encoder state.

If the encoder is not started or not started successfully (see Start(ENCODEPROC, IntPtr, Boolean)) or is stopped this property must return 0 (zero)!

If the encoder is started and is active this property must return the valid HENCODE handle (non-zero)!

See Also

Reference