Class DecklinkAudioSourceSettings
- Namespace
- VisioForge.Core.Types.X.Decklink
- Assembly
- VisioForge.Core.dll
Decklink audio source settings.
public class DecklinkAudioSourceSettings : IVideoCaptureBaseAudioSourceSettings, IMediaBlockSettings, IAudioVolumeMuteInheritance
Implements
Inherited Members
Constructors
DecklinkAudioSourceSettings(DecklinkAudioSourceInfo)
Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkAudioSourceSettings class.
public DecklinkAudioSourceSettings(DecklinkAudioSourceInfo info)Parameters
infoDecklinkAudioSourceInfo-
The information.
DecklinkAudioSourceSettings(uint)
Initializes a new instance of the VisioForge.Core.Types.X.Decklink.DecklinkAudioSourceSettings class.
public DecklinkAudioSourceSettings(uint deviceNumber)Parameters
deviceNumberuint-
The device number.
Properties
AlignmentThreshold
Gets or sets the timestamp alignment threshold in nanoseconds.
public ulong AlignmentThreshold { get; set; }Property Value
BufferSize
Gets or sets the size of internal buffer in number of video frames.
public uint BufferSize { get; set; }Property Value
Channels
Gets or sets the channels.
public DecklinkAudioChannels Channels { get; set; }Property Value
Connection
Gets or sets the audio connection to use.
public DecklinkAudioConnection Connection { get; set; }Property Value
DeviceNumber
Gets or sets the device number.
public uint DeviceNumber { get; set; }Property Value
DisableAudioConversion
Gets or sets a value indicating whether to disable audio conversion.
public bool DisableAudioConversion { get; set; }Property Value
DiscontWait
Gets or sets the window of time in nanoseconds to wait before creating a discontinuity.
public ulong DiscontWait { get; set; }Property Value
Format
Gets or sets the format.
public DecklinkAudioFormat Format { get; set; }Property Value
SampleRate
Gets the sample rate.
public int SampleRate { get; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetMute()
Gets the mute.
public bool GetMute()Returns
- bool
-
trueif successful,falseotherwise.
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
-
trueif this interface is supported; otherwise,false.
SetInterface(IAudioVolumeMute)
Sets the interface.
public void SetInterface(IAudioVolumeMute intf)Parameters
intfIAudioVolumeMute-
The interface.
SetMute(bool)
Sets the mute.
public void SetMute(bool mute)Parameters
mutebool-
if set to
truemute.
SetVolume(double)
Sets the volume. Value should be in 0.0 - 1.0 range.
public void SetVolume(double volume)Parameters
volumedouble-
The volume.