Class WAVEncoderSettings
- Assembly
- VisioForge.Core.dll
WAV audio encoder settings.
public class WAVEncoderSettings : IAudioEncoder, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
WAVEncoderSettings()
Initializes a new instance of the VisioForge.Core.Types.X.AudioEncoders.WAVEncoderSettings class.
public WAVEncoderSettings()WAVEncoderSettings(AudioFormatX, int, int)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEncoders.WAVEncoderSettings class.
public WAVEncoderSettings(AudioFormatX format, int sampleRate, int channels)Parameters
formatAudioFormatX-
The format.
sampleRateint-
The sample rate.
channelsint-
The channels.
Fields
Name
The name.
public static string NameField Value
Properties
Channels
Gets or sets the channels.
public int Channels { get; set; }Property Value
Format
Gets or sets audio format.
public AudioFormatX Format { get; set; }Property Value
SampleRate
Gets or sets the sample rate.
public int SampleRate { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetFormatList()
Gets the format list.
public static IEnumerable<string> GetFormatList()Returns
- IEnumerable<string>
-
IEnumerable<System.String>.
GetSupportedBitrates()
Gets the supported bitrates.
public int[] GetSupportedBitrates()Returns
- int[]
-
System.Int32[].
GetSupportedChannelCounts()
Gets the supported channel counts.
public int[] GetSupportedChannelCounts()Returns
- int[]
-
System.Int32[].
Exceptions
GetSupportedSampleRates()
Gets the supported sample rates.
public int[] GetSupportedSampleRates()Returns
- int[]
-
System.Int32[].
IsAvailable()
Determines whether this encoder is available.
public static bool IsAvailable()Returns
- bool
-
trueif this encoder is available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()