A simple structure holding a buffer of samples loaded from the file source.
More...
#include <file_source.h>
|
std::unique_ptr< float[]> | data |
| Pointer to raw audio data.
|
|
int | size |
| Number of samples in the buffer.
|
|
int | sample_rate |
| Sample rate of the audio data.
|
|
A simple structure holding a buffer of samples loaded from the file source.
◆ SampleBuffer()
FileSource::SampleBuffer::SampleBuffer |
( |
| ) |
|
|
inline |
◆ data
std::unique_ptr<float[]> FileSource::SampleBuffer::data |
Pointer to raw audio data.
◆ sample_rate
int FileSource::SampleBuffer::sample_rate |
Sample rate of the audio data.
◆ size
int FileSource::SampleBuffer::size |
Number of samples in the buffer.
The documentation for this struct was generated from the following file:
- /Users/davidvogel/repos/VitalHelp/src/common/wavetable/file_source.h