BASS.NET API for the Un4seen BASS Audio Library

BaseEncoder Properties

BASS.NET API for the Un4seen BASS Audio Library

The BaseEncoder type exposes the following members.

Properties

  NameDescription
Public propertyChannelBitwidth
This property returns the actual bitwidth of the sample data of the channel (e.g. 8, 16, 32).
Public propertyChannelHandle
Gets or Sets the channel handle which is used to create the broadcast encoder class.
Public propertyChannelInfo
Returns the general channel info.
Public propertyChannelNumChans
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.).
Public propertyChannelSampleRate
This property returns the actual sample rate in Hz of the sample data BASS is using with the channel (e.g. 44100).
Public propertyDefaultOutputExtension
This property should return the default extension of an output file for this encoder (e.g. ".mp3" or ".ogg" etc.).
Public propertyEffectiveBitrate
This property should return the target effective bitrate of the encoder output (in kbps, e.g. 128 kbps).
Public propertyEncoderCommandLine
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.
Public propertyEncoderDirectory
Gets or Sets the encoder's base directory.
Public propertyEncoderExists
This property should return , if the encoder exists and is available - else should be returned.
Public propertyEncoderHandle
Gets or sets the current HENCODE encoder handle.
Public propertyEncoderType
This property should return a value indicating which type of content the broadcast encoder implements.
Public propertyForce16Bit
Gets or Sets if a encoding in 16-bit sample data should be forced (default is ).
Public propertyInputFile
Gets or Sets the input file name to be processed by the encoder (null = STDIN, default).
Public propertyIsActive
Gets a value indicating if the encoder has been started (see Start(ENCODEPROC, IntPtr, Boolean)) and is active - else will be returned.
Public propertyIsPaused
Gets a value indicating if the encoder has been paused (see Pause(Boolean)) - else must be returned.
Public propertyIsStreaming
Is this instance used for streaming? When set to true, some internal encoder options might be set. Default is false.
Public propertyNoLimit
Gets or Sets if encoding should use the CAST_NOLIMIT flag (which is only needed, if the encoder is used for streaming).
Public propertyOutputFile
Gets or Sets the output file name to be processed by the encoder (null = STDOUT, default).
Public propertySupportsSTDOUT
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.
Public propertyTAGs
Gets or Sets the TAG_INFO structure associated with the encoder.
Public propertyUseAsyncQueue
Gets or Sets if encoding should use an async queue (i.e. the BASS_ENCODE_QUEUE flag).
Top
See Also

Reference