Table of Contents

Class WAVEncoderSettings

Namespace
VisioForge.Core.Types.X.AudioEncoders
Assembly
VisioForge.Core.dll

WAV audio encoder settings.

public class WAVEncoderSettings : IAudioEncoder, IMediaBlockSettings

Inheritance

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

format AudioFormatX

The format.

sampleRate int

The sample rate.

channels int

The channels.

Fields

Name

The name.

public static string Name

Field Value

string

Properties

Channels

Gets or sets the channels.

public int Channels { get; set; }

Property Value

int

Format

Gets or sets audio format.

public AudioFormatX Format { get; set; }

Property Value

AudioFormatX

SampleRate

Gets or sets the sample rate.

public int SampleRate { get; set; }

Property Value

int

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

NotImplementedException

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

true if this encoder is available; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.

See Also