Class AudioRecorder
A WAVE audio recorder.
Inherited Members
Namespace: FM.LiveSwitch.Wave
Assembly: FM.LiveSwitch.dll
Syntax
public class AudioRecorder : AudioRecorder
Constructors
AudioRecorder(String, AudioFormat)
Initializes a new instance of the Audio
Declaration
public AudioRecorder(string path, AudioFormat inputFormat)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | The path. |
Audio |
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 |
---|---|---|
Audio |
buffer | The encoded buffer. |
System. |
presentationTimestamp | The presentation timestamp. |
Returns
Type | Description |
---|---|
System. |
|
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()