NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Classes | |
class | File |
This class represents a generic audio file with reading and writing functionalities. More... | |
struct | Sample |
Defines a sample in the audio stream, i.e. a single value per channel. More... | |
class | SeekableFile |
This class extends the generic audio file with seeking functionalities as well as possibilities for reading and writing whole blocks of the file. More... | |
class | WavFile |
This class implements the wave file type using PCM encoding (the simplest encoding). Due to its simplicity it is a seekable file type. More... | |
struct | WavFileHeader |
This structure represents the central part of the wave file header in a format, which can be directly written to and read from the wave file. More... | |
Functions | |
File * | getAudioFileByType (const std::string &sFileName) |
Return a audio file type depending on the file extension or a nullptr if the file type is not supported. More... | |
static double | convertFromUnsigned (double val) |
Applies the necessary conversion to obtain a signed floating point value from an unsigned integer. More... | |
static double | getMaxVal (uint16_t bitdepth) |
Calculates the maximal value available with the current bitdepth. More... | |
|
static |
Applies the necessary conversion to obtain a signed floating point value from an unsigned integer.
val | double |
Definition at line 35 of file wavfile.cpp.
Referenced by Audio::WavFile::read().
File * Audio::getAudioFileByType | ( | const std::string & | sFileName | ) |
Return a audio file type depending on the file extension or a nullptr if the file type is not supported.
sFileName | const std::string& |
Definition at line 34 of file audiofile.cpp.
Referenced by readAudioFile(), seekInAudioFile(), and writeAudioFile().
|
static |
Calculates the maximal value available with the current bitdepth.
bitdepth | uint16_t |
Definition at line 49 of file wavfile.cpp.
Referenced by Audio::WavFile::read(), and Audio::WavFile::write().