BASS.NET API for the Un4seen BASS Audio LibraryEncoderWMA MembersBASS.NET API for the Un4seen BASS Audio Library

The EncoderWMA type exposes the following members.
Constructors

  NameDescription
Public methodEncoderWMA
Creates an instance of a Windows Media Audio encoder implementation.
Back to Top
Methods

  NameDescription
Public methodDispose
Implement IDisposable.
(Inherited from BaseEncoder.)
Protected methodFinalize
Finalization code.
(Inherited from BaseEncoder.)
Public methodPause
Pauses or resumes an encoder
(Overrides BaseEncoder Pause(Boolean).)
Public methodSetTag
Sets a tag in a WMA encoding.
Public methodSettingsString
Returns the string representation of the current encoder settings.
(Overrides BaseEncoder SettingsString .)
Public methodStart
This method starts the actual WMA encoder.
(Overrides BaseEncoder Start(ENCODEPROC, IntPtr, Boolean).)
Public methodStop 
Stops the encoder (if started).
(Overrides BaseEncoder Stop .)
Public methodStop(Boolean)
Stops the encoder (if started).
(Inherited from BaseEncoder.)
Public methodToString
Returns the name of the Encoder.
(Overrides OnlineObject ToString .)
Back to Top
Fields

  NameDescription
Public fieldWMA_Bitrate
Choose a total bitrate to encode at. Takes an argument in kbps (default is 128 kbps).
Public fieldWMA_ForceStandard
When set to  , the WMA standard codec (WMA 9) will be forced to use (default is  ).
Public fieldWMA_MultiBitrate
Here you can specify an array of encoding bitrates (in bits per second!) to use in case you selected WMA_UseNetwork or WMA_UsePublish - default is  .
Public fieldWMA_NetworkClients
The maximum number of clients (up to 50) that can be connected (only used, if WMA_UseNetwork is set to   and WMA_UsePublish is set to  ) - default is 1.
Public fieldWMA_NetworkPort
The network port number for clients to conenct to (only used, if WMA_UseNetwork is set to   and WMA_UsePublish is set to  ) - default is 8080.
Public fieldWMA_PublishPassword
Password to use in connecting to the server.
Public fieldWMA_PublishUrl
URL of the publishing point on the Windows Media server.
Public fieldWMA_PublishUsername
Username to use in connecting to the server.
Public fieldWMA_Use24Bit
Use 24-bit encoding? (Default is  ).
Public fieldWMA_UseNetwork
Enables WMA encoding to the network (default is  ).
Public fieldWMA_UsePro
Use the WMA 10 Professional format? (Default is   = WMA 9 format).
Public fieldWMA_UsePublish
Enables WMA encoding to a publishing point on a Windows Media server.
Public fieldWMA_UseVBR
Enable the VBR (variable bitrate) mode (default is  ).
Public fieldWMA_VBRQuality
Set a VBR quality level from 1 (very low) to 100 (lossless).
Back to Top
Properties

  NameDescription
Public propertyChannelBitwidth
This property returns the actual bitwidth of the sample data of the channel (e.g. 8, 16, 32).
(Inherited from BaseEncoder.)
Public propertyChannelHandle
Gets or Sets the channel handle which is used to create the broadcast encoder class.
(Inherited from BaseEncoder.)
Public propertyChannelInfo
Returns the general channel info.
(Inherited from BaseEncoder.)
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.).
(Inherited from BaseEncoder.)
Public propertyChannelSampleRate
This property returns the actual sample rate in Hz of the sample data BASS is using with the channel (e.g. 44100).
(Inherited from BaseEncoder.)
Public propertyDefaultOutputExtension
This return the default extension of an output file for this encoder (".wma").
(Overrides BaseEncoder DefaultOutputExtension.)
Public propertyEffectiveBitrate
Returns the effective encoder bitrate (in kbps) of the output.
(Overrides BaseEncoder EffectiveBitrate.)
Public propertyEncoderCommandLine
Returns an empty string, since WMA does not use any command-line tool, but instead directly uses the Un4seen.Bass.AddOn.Wma add-on.
(Overrides BaseEncoder EncoderCommandLine.)
Public propertyEncoderDirectory
Gets or Sets the encoder's base directory.
(Inherited from BaseEncoder.)
Public propertyEncoderExists
This property always return  , since we use the native BASSWMA add-on.
(Overrides BaseEncoder EncoderExists.)
Public propertyEncoderHandle
Gets or sets the current HENCODE encoder handle.
(Inherited from BaseEncoder.)
Public propertyEncoderType
Gets a value indicating the type of content. Here BASS_CTYPE_STREAM_WAV is always returned.
(Overrides BaseEncoder EncoderType.)
Public propertyForce16Bit
Always returns false, since this encoder doesn't supports this flag. Use the WMA_Use24Bit property instead.
Public propertyInputFile
Gets or Sets the input file name to be processed by the encoder (null = STDIN, default).
(Inherited from BaseEncoder.)
Public propertyIsActive
Gets a value indicating if the encoder has been started (see Start(ENCODEPROC, IntPtr, Boolean)) and is active - else   will be returned.
(Overrides BaseEncoder IsActive.)
Public propertyIsPaused
Gets a value indicating if the encoder has been paused (see Pause(Boolean)) - else   will be returned.
(Overrides BaseEncoder IsPaused.)
Public propertyNoLimit
Gets or Sets if encoding should use the CAST_NOLIMIT flag (which is only needed, if the encoder is used for streaming).
(Inherited from BaseEncoder.)
Public propertyOutputFile
Gets or Sets the output file name to be processed by the encoder (null = STDOUT, default).
(Inherited from BaseEncoder.)
Public propertySupportsSTDOUT
WMA does implement STDOUT, so   is always returned.
(Overrides BaseEncoder SupportsSTDOUT.)
Public propertyTAGs
Gets or Sets the TAG_INFO structure associated with the encoder.
(Inherited from BaseEncoder.)
Public propertyUseAsyncQueue
Gets or Sets if encoding should use an async queue (i.e. the BASS_ENCODE_QUEUE flag).
(Inherited from BaseEncoder.)
Public propertyWMA_Notify
Gets ot Sets a ENCODENOTIFYPROC on the WMA encoder.
Back to Top
See Also