BASS.NET API for the Un4seen BASS Audio Library

EncoderNeroAACStart Method

BASS.NET API for the Un4seen BASS Audio Library
This method starts the actual Nero Digial Aac encoder.

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

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

Parameters

proc
Type: Un4seen.Bass.AddOn.EncENCODEPROC
Must be always = no callback - since this encoder does NOT support STDOUT.
user
Type: SystemIntPtr
N/A - ignorred.
paused
Type: SystemBoolean
Start the encoder paused? If , you might use Pause(Boolean) to unpause (and really start the encoder).

Return Value

Type: Boolean
Returns , if the encoder was successfully started - else is returned.

Implements

IBaseEncoderStart(ENCODEPROC, IntPtr, Boolean)
Remarks

This method calls BASS_Encode_Start(Int32, String, BASSEncode, ENCODEPROC, IntPtr) internally using the EncoderCommandLine. After the encoder was started successfully the EncoderHandle returns a valid HENCODE handle. If the encoder was not started successfully or was stopped EncoderHandle returns 0 (zero).

This implementation starts the encoder with no flags, meaning a Wave header will be send to the encoder to specify the bitrate, number of channels and samplerate.

If an encoder stops running prematurely, Stop should still be called to release resources that were allocated for the encoding.

See Also

Reference