Table of Contents

Class DecklinkAudioSourceSettings

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

Decklink audio source settings.

public class DecklinkAudioSourceSettings : IVideoCaptureBaseAudioSourceSettings, IMediaBlockSettings, IAudioVolumeMute

Inheritance

Implements

Inherited Members

Constructors

Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkAudioSourceSettings class.

public DecklinkAudioSourceSettings(DecklinkAudioSourceInfo info)

Parameters

info DecklinkAudioSourceInfo

The information.

Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkAudioSourceSettings class.

public DecklinkAudioSourceSettings(uint deviceNumber)

Parameters

deviceNumber uint

The device number.

Properties

Gets or sets the timestamp alignment threshold in nanoseconds.

public ulong AlignmentThreshold { get; set; }

Property Value

ulong

Gets or sets the size of internal buffer in number of video frames.

public uint BufferSize { get; set; }

Property Value

uint

Gets or sets the channels.

public DecklinkAudioChannels Channels { get; set; }

Property Value

DecklinkAudioChannels

Gets or sets the audio connection to use.

public DecklinkAudioConnection Connection { get; set; }

Property Value

DecklinkAudioConnection

Gets or sets the device number.

public uint DeviceNumber { get; set; }

Property Value

uint

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

public bool DisableAudioConversion { get; set; }

Property Value

bool

Gets or sets the window of time in nanoseconds to wait before creating a discontinuity.

public ulong DiscontWait { get; set; }

Property Value

ulong

Gets or sets the format.

public DecklinkAudioFormat Format { get; set; }

Property Value

DecklinkAudioFormat

Gets the sample rate.

public int SampleRate { get; }

Property Value

int

Methods

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.

Gets the mute.

public bool GetMute()

Returns

bool

true if successful, false otherwise.

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

public double GetVolume()

Returns

double

System.Double.

Determines whether this interface is supported.

public bool IsSupported()

Returns

bool

true if this interface is supported; otherwise, false.

Sets the interface.

public void SetInterface(IAudioVolumeMute intf)

Parameters

intf IAudioVolumeMute

The interface.

Sets the mute.

public void SetMute(bool mute)

Parameters

mute bool

if set to true mute.

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

public void SetVolume(double volume)

Parameters

volume double

The volume.