Accord.Audio.Formats.WaveDecoder.read C# (CSharp) Method

read() private method

Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.
private read ( byte buffer, int count ) : int
buffer byte /// When this method returns, this parameter contains the specified byte array with the values between index and (index + count -1) replaced by the 8 bit frames read from the current source. ///
count int The amount of frames to read.
return int
        private int read(byte[] buffer, int count)
        {
            return waveStream.Read(buffer, 0, count);
        }

Same methods

WaveDecoder::read ( float buffer, int count ) : int
WaveDecoder::read ( int buffer, int count ) : int
WaveDecoder::read ( short buffer, int count ) : int