Click or drag to resize
Mp3FileReader Class
Class for reading from MP3 files
Inheritance Hierarchy

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

The Mp3FileReader type exposes the following members.

Constructors
  NameDescription
Public methodMp3FileReader(Stream)
Opens MP3 from a stream rather than a file Will not dispose of this stream itself
Public methodMp3FileReader(String)
Supports opening a MP3 file
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 this WaveStream
(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 decompressed PCM data from our MP3 file.
(Overrides WaveFileStreamRead(Byte, Int32, Int32).)
Public methodReadNextFrame
Reads the next mp3 frame
Public methodReadNextFrame(Boolean)
Reads the next mp3 frame
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 propertyId3v1Tag
ID3v1 tag if present
Public propertyLength
This is the length in bytes of data available to be read out from the Read method (i.e. the decompressed MP3 length) n.b. this may return 0 for files whose length is unknown
(Overrides WaveFileStreamLength.)
Public propertyMp3AudioWaveFormat
The MP3 wave format (n.b. NOT the output format of this stream - see the AudioWaveFormat property)
Public propertyPosition (Overrides WaveFileStreamPosition.)
Public propertyXingHeader
Xing header if present
Top
See Also