Ham Cockpit   

    Show / Hide Table of Contents

    Method Read

    View Source

    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.

    Declaration
    public override int Read(float[] buffer, int offset, int count)
    Parameters
    Type Name Description
    Single[] buffer

    An array of floats. When this method returns, the buffer contains the specified float array with the values between offset and (offset + count - 1) replaced by the floats read from the current source.

    Int32 offset

    The zero-based offset in the buffer at which to begin storing the data read from the current stream.

    Int32 count

    The maximum number of samples to read from the current source.

    Returns
    Type Description
    Int32

    The total number of samples read into the buffer.

    Overrides
    CSCore.SampleAggregatorBase.Read(System.Single[], System.Int32, System.Int32)
    • View Source
    Back to top Generated by DocFX