Ham Cockpit   

    Show / Hide Table of Contents

    Class ChannelSelector

    Selects one of the channels from a stereo data source.

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

    Constructors

    Name Description
    ChannelSelector(ISampleSource, ChannelMask)

    Creates a new instance of the ChannelSelector class from an existing sample source.

    Properties

    Name Description
    Length

    Gets the data length in samples.

    Position

    Gets or sets the position in samples.

    WaveFormat

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

    Methods

    Name Description
    Dispose(Boolean)

    Disposes allocated resources.

    Read(Single[], Int32, Int32)

    Reads a sequence of samples from the CSCore.SampleAggregatorBase and advances the position within the stream by the number of samples read.

    • View Source
    Back to top Generated by DocFX