Class LoopbackSource
An NAudio-based source to capture sound being sent to a sound card (for playback).
Inheritance
System.Object
    
    
    
    MediaSource<IAudioOutput, IAudioInput, IAudioInputCollection, AudioSource, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>
    
    
    LoopbackSource
  Implements
Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: FM.LiveSwitch.NAudio
Assembly: FM.LiveSwitch.NAudio.dll
Syntax
public class LoopbackSource : Source, IAudioOutput, IMediaOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IAudioElement, IMediaElement, IElement
  Constructors
LoopbackSource(AudioConfig)
Initializes a new instance of the Source class.
Declaration
public LoopbackSource(AudioConfig config)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AudioConfig | config | The configuration.  | 
      
Properties
Label
Gets a label that identifies this class.
Declaration
public override string Label { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
Methods
DoStart()
Starts this instance.
Declaration
protected override Future<object> DoStart()
  Returns
| Type | Description | 
|---|---|
| Future<System.Object> | 
Overrides
DoStop()
Stops this instance.
Declaration
protected override Future<object> DoStop()
  Returns
| Type | Description | 
|---|---|
| Future<System.Object> | 
Overrides
GetInputs()
Gets the available inputs (system outputs).
Declaration
public override Future<SourceInput[]> GetInputs()
  Returns
| Type | Description | 
|---|---|
| Future<SourceInput[]> |