Class AudioRecorder
A Matroska audio recorder.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch.Matroska
Assembly: FM.LiveSwitch.dll
Syntax
public class AudioRecorder : AudioRecorder
Constructors
AudioRecorder(String, AudioFormat)
Initializes a new instance of the AudioRecorder class.
Declaration
public AudioRecorder(string path, AudioFormat inputFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
AudioFormat | inputFormat | The input format. |
Methods
DoUpdateHeader()
Updates the file header.
Declaration
protected override void DoUpdateHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioFormat>.DoUpdateHeader()
DoWrite(AudioBuffer, Int64)
Write an encoded video frame.
Declaration
protected override bool DoWrite(AudioBuffer buffer, long presentationTimestamp)
Parameters
Type | Name | Description |
---|---|---|
AudioBuffer | buffer | The encoded buffer. |
System.Int64 | presentationTimestamp | The presentation timestamp. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioFormat>.DoWrite(FM.LiveSwitch.AudioBuffer, System.Int64)
DoWriteHeader()
Writes the file header.
Declaration
protected override void DoWriteHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioFormat>.DoWriteHeader()