C# Класс NAudio.Wave.WaveStream

Base class for all WaveStream classes. Derives from stream.
Наследование: Stream, IWaveProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Flush() публичный Метод

Flush does not need to do anything See M:System.IO.Stream.Flush
public Flush ( ) : void
Результат void

HasData() публичный Метод

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
Результат bool

Seek() публичный Метод

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
Результат long

SetLength() публичный Метод

Sets the length of the WaveStream. Not Supported.
public SetLength ( long length ) : void
length long
Результат void

Skip() публичный Метод

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
Результат void

Write() публичный Метод

Writes to the WaveStream. Not Supported.
public Write ( Array buffer, int offset, int count ) : void
buffer Array
offset int
count int
Результат void