Class AudioRecorder
An Ogg 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.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Ogg
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. |
Properties
Artist
Gets or sets the file artist.
Declaration
public string Artist { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets the file title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Vendor
Gets or sets the file vendor.
Declaration
public string Vendor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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()