Ham Cockpit   

    Show / Hide Table of Contents

    Class SampleSourceWrapper

    A wrapper for the ISampleStream that exposes the CSCore.ISampleSource interface.

    Inheritance
    Object
    SampleSourceWrapper
    Implements
    CSCore.ISampleSource
    CSCore.IReadableAudioSource<Single>
    CSCore.IAudioSource
    IDisposable
    Namespace: VE3NEA.HamCockpit.DspFun
    Assembly: VE3NEA.HamCockpit.DspFun.dll
    Syntax
    public class SampleSourceWrapper : ISampleSource, IReadableAudioSource<float>, IAudioSource, IDisposable

    Constructors

    Name Description
    SampleSourceWrapper(ISampleStream)

    Initializes a new instance of the SampleSourceWrapper class.

    Properties

    Name Description
    CanSeek

    Returns false.

    Format

    Gets the format of the output data.

    Length

    Not implemented.

    Position

    Not implemented.

    WaveFormat

    Gets the CSCore.IAudioSource.WaveFormat of the waveform-audio data.

    Methods

    Name Description
    Dispose()

    Releases unmanaged and - optionally - managed resources.

    Read(Single[], Int32, Int32)

    Reads data from the device to the provided buffer.

    • View Source
    Back to top Generated by DocFX