C# Class NAudio.Wave.WaveStream

Base class for all WaveStream classes. Derives from stream.
Inheritance: Stream, IWaveProvider
Show file Open project: h4ltYu/EOS Class Usage Examples

Public Methods

Method Description
Flush ( ) : void

Flush does not need to do anything See M:System.IO.Stream.Flush

HasData ( int count ) : bool

Whether the WaveStream has non-zero sample data at the current position for the specified count

Seek ( long offset, SeekOrigin origin ) : long

An alternative way of repositioning. See M:System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin)

SetLength ( long length ) : void

Sets the length of the WaveStream. Not Supported.

Skip ( int seconds ) : void

Moves forward or backwards the specified number of seconds in the stream

Write ( Array buffer, int offset, int count ) : void

Writes to the WaveStream. Not Supported.

Method Details

Flush() public method

Flush does not need to do anything See M:System.IO.Stream.Flush
public Flush ( ) : void
return void

HasData() public method

Whether the WaveStream has non-zero sample data at the current position for the specified count
public HasData ( int count ) : bool
count int Number of bytes to read
return bool

Seek() public method

An alternative way of repositioning. See M:System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin)
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

Sets the length of the WaveStream. Not Supported.
public SetLength ( long length ) : void
length long
return void

Skip() public method

Moves forward or backwards the specified number of seconds in the stream
public Skip ( int seconds ) : void
seconds int Number of seconds to move, can be negative
return void

Write() public method

Writes to the WaveStream. Not Supported.
public Write ( Array buffer, int offset, int count ) : void
buffer Array
offset int
count int
return void