Search Results for

    Show / Hide Table of Contents

    Class AudioRecorder

    An Ogg audio recorder.

    Inheritance
    System.Object
    MediaRecorder<AudioBuffer, AudioFormat>
    AudioRecorder
    AudioRecorder
    Inherited Members
    MediaRecorder<AudioBuffer, AudioFormat>.File
    MediaRecorder<AudioBuffer, AudioFormat>.FileStream
    MediaRecorder<AudioBuffer, AudioFormat>.WasOpened
    MediaRecorder<AudioBuffer, AudioFormat>.Opened
    MediaRecorder<AudioBuffer, AudioFormat>.DoWrite(AudioBuffer, Int64)
    MediaRecorder<AudioBuffer, AudioFormat>.DoWriteHeader()
    MediaRecorder<AudioBuffer, AudioFormat>.DoUpdateHeader()
    MediaRecorder<AudioBuffer, AudioFormat>.Path
    MediaRecorder<AudioBuffer, AudioFormat>.OpenPath
    MediaRecorder<AudioBuffer, AudioFormat>.Format
    MediaRecorder<AudioBuffer, AudioFormat>.Open()
    MediaRecorder<AudioBuffer, AudioFormat>.Close()
    MediaRecorder<AudioBuffer, AudioFormat>.Write(AudioBuffer, Int64)
    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.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

    true if the encoded frame was written successfully; otherwise, false

    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()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0