Table of Contents

Class BridgeAudioSourceSettings

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

Bridge audio source settings.

public class BridgeAudioSourceSettings : IVideoCaptureBaseAudioSourceSettings, IMediaBlockSettings, IAudioVolumeMute

Inheritance

Implements

Inherited Members

Constructors

BridgeAudioSourceSettings(string, AudioInfoX)

Initializes a new instance of the VisioForge.Core.Types.X.Bridge.BridgeAudioSourceSettings class.

public BridgeAudioSourceSettings(string channel, AudioInfoX audioInfo)

Parameters

channel string

The channel.

audioInfo AudioInfoX

The audio information.

Properties

BufferTime

Gets or sets the size of audio buffer.

public TimeSpan BufferTime { get; set; }

Property Value

TimeSpan

Channel

Gets or sets the channel name to match bridge source and sink elements.

public string Channel { get; }

Property Value

string

DisableAudioConversion

Gets or sets a value indicating whether to disable audio conversion.

public bool DisableAudioConversion { get; set; }

Property Value

bool

Info

Gets or sets the audio information.

public AudioInfoX Info { get; set; }

Property Value

AudioInfoX

LatencyTime

Gets or sets the latency as reported by the source.

public TimeSpan LatencyTime { get; set; }

Property Value

TimeSpan

PeriodTime

Gets or sets the minimum amount of data to read in each iteration.

public TimeSpan PeriodTime { get; set; }

Property Value

TimeSpan

Methods

CreateBlock()

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.

Exceptions

NotImplementedException

GetMute()

Gets the mute.

public bool GetMute()

Returns

bool

true if successful, false otherwise.

GetVolume()

Gets the volume. Value should be in 0.0 - 1.0 range.

public double GetVolume()

Returns

double

System.Double.

IsSupported()

Determines whether this interface is supported.

public bool IsSupported()

Returns

bool

true if this interface is supported; otherwise, false.

SetInterface(IAudioVolumeMute)

Sets the interface.

public void SetInterface(IAudioVolumeMute intf)

Parameters

intf IAudioVolumeMute

The interface.

SetMute(bool)

Sets the mute.

public void SetMute(bool mute)

Parameters

mute bool

if set to true mute.

SetVolume(double)

Sets the volume. Value should be in 0.0 - 1.0 range.

public void SetVolume(double volume)

Parameters

volume double

The volume.