The BaseEncoder type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
BaseEncoder |
Default constructor, which already evaluates the channel handle and evaluates the ChannelBitwidth.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Implement IDisposable.
| |
EncodeFile(BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(String, String, BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(String, String, BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean, Double, Double) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean, Int64, Int64) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(String, String, BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean, Double, Double) |
Encodes a given input file to a given output file using the specified encoder.
| |
EncodeFile(String, String, BaseEncoder, BaseEncoder ENCODEFILEPROC, Boolean, Boolean, Boolean, Int64, Int64) |
Encodes a given input file to a given output file using the specified encoder.
| |
Finalize |
Finalization code.
(Overrides Object Finalize .) | |
Pause |
Pauses or resumes an encoder.
| |
SettingsString |
Returns the string representation of the current encoder settings.
| |
Start |
This method must implement the actual start of the encoder.
After the encoder was started successfully the EncoderHandle must return a valid HENCODE handle.
| |
Stop |
Stops the encoder (if started).
| |
Stop(Boolean) |
Stops the encoder (if started).
|
Properties
Name | Description | |
---|---|---|
ChannelBitwidth |
This property returns the actual bitwidth of the sample data of the channel (e.g. 8, 16, 32).
| |
ChannelHandle |
Gets or Sets the channel handle which is used to create the broadcast encoder class.
| |
ChannelInfo |
Returns the general channel info.
| |
ChannelNumChans |
This property returns the actual number of channles of the sample data BASS is using with the channel (e.g. 1=mono, 2=stereo, etc.).
| |
ChannelSampleRate |
This property returns the actual sample rate in Hz of the sample data BASS is using with the channel (e.g. 44100).
| |
DefaultOutputExtension |
This property should return the default extension of an output file for this encoder (e.g. ".mp3" or ".ogg" etc.).
| |
EffectiveBitrate |
This property should return the target effective bitrate of the encoder output (in kbps, e.g. 128 kbps).
| |
EncoderCommandLine |
This property should return an encoder command-line string,
which might be used with the BASS_Encode_Start(Int32, String, BASSEncode, ENCODEPROC, IntPtr) method in order to create and start the encoder.
| |
EncoderDirectory |
Gets or Sets the encoder's base directory.
| |
EncoderExists |
This property should return , if the encoder exists and is available - else should be returned.
| |
EncoderHandle |
Gets or sets the current HENCODE encoder handle.
| |
EncoderType |
This property should return a value indicating which type of content the broadcast encoder implements.
| |
Force16Bit |
Gets or Sets if a encoding in 16-bit sample data should be forced (default is ).
| |
InputFile |
Gets or Sets the input file name to be processed by the encoder (null = STDIN, default).
| |
IsActive |
Gets a value indicating if the encoder has been started (see Start(ENCODEPROC, IntPtr, Boolean)) and is active - else will be returned.
| |
IsPaused |
Gets a value indicating if the encoder has been paused (see Pause(Boolean)) - else must be returned.
| |
NoLimit |
Gets or Sets if encoding should use the CAST_NOLIMIT flag (which is only needed, if the encoder is used for streaming).
| |
OutputFile |
Gets or Sets the output file name to be processed by the encoder (null = STDOUT, default).
| |
SupportsSTDOUT |
This property should return , if the base encoder implementation (resp. the underlying command-line tool being used) support STDOUT for output of the encoded data - else must be returned.
| |
TAGs |
Gets or Sets the TAG_INFO structure associated with the encoder.
| |
UseAsyncQueue |
Gets or Sets if encoding should use an async queue (i.e. the BASS_ENCODE_QUEUE flag).
|
See Also