#include <MpegAudioStream.hxx>
Public Member Functions | |
MpegAudioStream (const AudioFile &file) | |
~MpegAudioStream () | |
void | PrepareReading () |
Open the stream in read mode. | |
void | PrepareWriting () |
Open the stream in write mode. | |
void | Dispose () |
Close the stream. | |
void | SeekTo (unsigned long framePosition) |
Moves the current position to framePosition. If such functionality is not supported by the stream it will be ignored. | |
Protected Member Functions | |
void | DiskToMemoryTransfer () |
Move data from the file to mInterleavedData. | |
void | MemoryToDiskTransfer () |
Move data from mInterleavedData to the file. |
Definition at line 36 of file MpegAudioStream.hxx.
CLAM::AudioCodecs::MpegAudioStream::MpegAudioStream | ( | const AudioFile & | file | ) |
Definition at line 27 of file MpegAudioStream.cxx.
CLAM::AudioCodecs::MpegAudioStream::~MpegAudioStream | ( | ) |
Definition at line 36 of file MpegAudioStream.cxx.
References CLAM::AudioFile::GetHeader(), and CLAM::AudioFile::GetLocation().
void CLAM::AudioCodecs::MpegAudioStream::DiskToMemoryTransfer | ( | ) | [protected, virtual] |
Move data from the file to mInterleavedData.
Implements CLAM::AudioCodecs::Stream.
Definition at line 72 of file MpegAudioStream.cxx.
void CLAM::AudioCodecs::MpegAudioStream::Dispose | ( | ) | [virtual] |
Close the stream.
Implements CLAM::AudioCodecs::Stream.
Definition at line 67 of file MpegAudioStream.cxx.
void CLAM::AudioCodecs::MpegAudioStream::MemoryToDiskTransfer | ( | ) | [protected, virtual] |
Move data from mInterleavedData to the file.
Implements CLAM::AudioCodecs::Stream.
Definition at line 161 of file MpegAudioStream.cxx.
void CLAM::AudioCodecs::MpegAudioStream::PrepareReading | ( | ) | [virtual] |
Open the stream in read mode.
Implements CLAM::AudioCodecs::Stream.
Definition at line 42 of file MpegAudioStream.cxx.
void CLAM::AudioCodecs::MpegAudioStream::PrepareWriting | ( | ) | [virtual] |
Open the stream in write mode.
Implements CLAM::AudioCodecs::Stream.
Definition at line 62 of file MpegAudioStream.cxx.
void CLAM::AudioCodecs::MpegAudioStream::SeekTo | ( | unsigned long | framePosition | ) | [virtual] |
Moves the current position to framePosition. If such functionality is not supported by the stream it will be ignored.
Reimplemented from CLAM::AudioCodecs::Stream.
Definition at line 166 of file MpegAudioStream.cxx.