NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
This class extends the generic audio file with seeking functionalities as well as possibilities for reading and writing whole blocks of the file. More...
#include <audiofile.hpp>
Public Member Functions | |
SeekableFile () | |
virtual bool | isSeekable () const override |
Overrides the base classes member function to signal the possibility to safely up-cast to this class. More... | |
virtual size_t | getPosition () const =0 |
virtual void | setPosition (size_t pos)=0 |
virtual std::vector< Sample > | readSome (size_t len) const =0 |
virtual void | writeSome (const std::vector< Sample > vFrames)=0 |
Public Member Functions inherited from Audio::File | |
File () | |
virtual | ~File () |
virtual bool | isValid () const =0 |
virtual void | newFile ()=0 |
virtual void | setChannels (size_t channels)=0 |
virtual void | setSampleRate (size_t freq)=0 |
virtual void | write (const Sample &frame)=0 |
virtual size_t | getChannels () const =0 |
virtual size_t | getSampleRate () const =0 |
virtual size_t | getLength () const =0 |
virtual Sample | read () const =0 |
virtual bool | isSeekable () const |
Audio files, which inherit from this class do not have any seeking functionality. More... | |
This class extends the generic audio file with seeking functionalities as well as possibilities for reading and writing whole blocks of the file.
Definition at line 84 of file audiofile.hpp.
|
inline |
Definition at line 87 of file audiofile.hpp.
|
pure virtual |
Implemented in Audio::WavFile.
|
inlineoverridevirtual |
Overrides the base classes member function to signal the possibility to safely up-cast to this class.
Reimplemented from Audio::File.
Definition at line 97 of file audiofile.hpp.
|
pure virtual |
Implemented in Audio::WavFile.
|
pure virtual |
Implemented in Audio::WavFile.
|
pure virtual |
Implemented in Audio::WavFile.