#include <wave_file.hpp>
◆ WaveFile()
WaveFile::WaveFile |
( |
const std::string & | filepath | ) |
|
|
explicit |
◆ ~WaveFile()
◆ get_bits_per_sample()
int audio_common::WaveFile::get_bits_per_sample |
( |
| ) |
const |
|
inline |
◆ get_num_channels()
int audio_common::WaveFile::get_num_channels |
( |
| ) |
const |
|
inline |
◆ get_sample_rate()
int audio_common::WaveFile::get_sample_rate |
( |
| ) |
const |
|
inline |
◆ int16ToFloat()
float audio_common::WaveFile::int16ToFloat |
( |
int16_t | sample | ) |
|
|
inlineprivate |
◆ open()
◆ read()
bool WaveFile::read |
( |
std::vector< float > & | buffer, |
|
|
size_t | size ) |
◆ rewind()
void WaveFile::rewind |
( |
| ) |
|
◆ bits_per_sample_
int audio_common::WaveFile::bits_per_sample_ |
|
private |
◆ channels_
int audio_common::WaveFile::channels_ |
|
private |
◆ file_
std::ifstream audio_common::WaveFile::file_ |
|
private |
◆ filepath_
std::string audio_common::WaveFile::filepath_ |
|
private |
◆ sample_rate_
int audio_common::WaveFile::sample_rate_ |
|
private |
The documentation for this class was generated from the following files: