Interface IAudioTrack
Audio track interface.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IAudioTrack : IMediaTrack
Properties
Gain
Gets or sets a value indicating the gain (input amplification) of this track. Any value greater than or equal to 0.0 is acceptable.
Declaration
double Gain { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LevelInterval
Gets or sets the interval in milliseconds between OnLevel events.
Declaration
int LevelInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Volume
Gets or sets a value indicating the volume (output resistance) of this track. Valid value range is 0.0 to 1.0, inclusive.
Declaration
double Volume { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Events
OnLevel
Raised periodically when the audio's level is calculated.
Declaration
event Action1<double> OnLevel
Event Type
Type | Description |
---|---|
Action1<System.Double> |