Class DSAudioCaptureDeviceSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
DirectSound audio capture device source settings.
public class DSAudioCaptureDeviceSourceSettings : IAudioCaptureDeviceSourceSettings, IVideoCaptureBaseAudioSourceSettings, IMediaBlockSettings, IAudioVolumeMuteInheritance
Implements
Inherited Members
Constructors
DSAudioCaptureDeviceSourceSettings(AudioCaptureDeviceInfo, AudioCaptureDeviceFormat)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.DSAudioCaptureDeviceSourceSettings class.
public DSAudioCaptureDeviceSourceSettings(AudioCaptureDeviceInfo device, AudioCaptureDeviceFormat format)Parameters
deviceAudioCaptureDeviceInfo-
The device.
formatAudioCaptureDeviceFormat-
The format.
DSAudioCaptureDeviceSourceSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Sources.DSAudioCaptureDeviceSourceSettings class.
public DSAudioCaptureDeviceSourceSettings()Properties
API
Gets or sets the API.
public AudioCaptureDeviceAPI API { get; }Property Value
Device
Gets or sets the device.
public AudioCaptureDeviceInfo Device { get; set; }Property Value
Format
Gets or sets the format.
public AudioCaptureDeviceFormat Format { get; set; }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.
ToString()
Returns a String that represents this instance.
public override string ToString()