Click or drag to resize
WaveFileReader Class
Can read audio data from a .wav file.
Inheritance Hierarchy

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class WaveFileReader : WaveFileStream

The WaveFileReader type exposes the following members.

Constructors
  NameDescription
Public methodWaveFileReader(Stream)
Initializes a new instance of the WaveFileReader class.
Public methodWaveFileReader(String)
Initializes a new instance of the WaveFileReader class.
Top
Methods
  NameDescription
Public methodClose
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from WaveFileStream.)
Protected methodDispose
Disposes the object.
(Overrides StreamDispose(Boolean).)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Inherited from WaveFileStream.)
Public methodRead
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides WaveFileStreamRead(Byte, Int32, Int32).)
Public methodSeek
Sets the position within the current stream.
(Inherited from WaveFileStream.)
Public methodSetLength
Sets the length of the current stream.
(Inherited from WaveFileStream.)
Public methodWrite
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Inherited from WaveFileStream.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo(Stream)Overloaded. (Defined by StreamExtension.)
Public Extension MethodCopyTo(Stream, Int32)Overloaded. (Defined by StreamExtension.)
Top
Fields
  NameDescription
Protected fieldStream
The underlying stream.
(Inherited from WaveFileStream.)
Top
Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether the current stream supports reading.
(Inherited from WaveFileStream.)
Public propertyCanSeek
Gets a value indicating whether the current stream supports seeking.
(Inherited from WaveFileStream.)
Public propertyCanWrite
Gets a value indicating whether the current stream supports writing.
(Inherited from WaveFileStream.)
Public propertyFormat
Gets the AudioWaveFormat of the wave stream.
(Inherited from WaveFileStream.)
Public propertyLength
Gets the length of the audio data (and not the length of the Stream).
(Overrides WaveFileStreamLength.)
Public propertyPosition
Gets or sets the position of the audio data within the stream.
(Overrides WaveFileStreamPosition.)
Public propertySampleCount
Gets the number of samples
Top
See Also