Search Results for

    Show / Hide Table of Contents

    Class AudioRecorder

    A Matroska 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.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.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

    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