Mp3FileReader Class |
Namespace: Ozeki.Media
The Mp3FileReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | Mp3FileReader(Stream) |
Opens MP3 from a stream rather than a file
Will not dispose of this stream itself
|
![]() | Mp3FileReader(String) | Supports opening a MP3 file |
Name | Description | |
---|---|---|
![]() | Close |
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from WaveFileStream.) |
![]() | Dispose |
Disposes this WaveStream
(Overrides StreamDispose(Boolean).) |
![]() | Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Inherited from WaveFileStream.) |
![]() | Read |
Reads decompressed PCM data from our MP3 file.
(Overrides WaveFileStreamRead(Byte, Int32, Int32).) |
![]() | ReadNextFrame |
Reads the next mp3 frame
|
![]() | ReadNextFrame(Boolean) |
Reads the next mp3 frame
|
![]() | Seek |
Sets the position within the current stream.
(Inherited from WaveFileStream.) |
![]() | SetLength |
Sets the length of the current stream.
(Inherited from WaveFileStream.) |
![]() | Write |
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.) |
Name | Description | |
---|---|---|
![]() | CopyTo(Stream) | Overloaded. (Defined by StreamExtension.) |
![]() | CopyTo(Stream, Int32) | Overloaded. (Defined by StreamExtension.) |
Name | Description | |
---|---|---|
![]() | Stream |
The underlying stream.
(Inherited from WaveFileStream.) |
Name | Description | |
---|---|---|
![]() | CanRead |
Gets a value indicating whether the current stream supports reading.
(Inherited from WaveFileStream.) |
![]() | CanSeek |
Gets a value indicating whether the current stream supports seeking.
(Inherited from WaveFileStream.) |
![]() | CanWrite |
Gets a value indicating whether the current stream supports writing.
(Inherited from WaveFileStream.) |
![]() | Format |
Gets the AudioWaveFormat of the wave stream.
(Inherited from WaveFileStream.) |
![]() | Id3v1Tag |
ID3v1 tag if present
|
![]() | Length |
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.) |
![]() | Mp3AudioWaveFormat |
The MP3 wave format (n.b. NOT the output format of this stream - see the AudioWaveFormat property)
|
![]() | Position | (Overrides WaveFileStreamPosition.) |
![]() | XingHeader |
Xing header if present
|