![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
The Audio Sample class. More...
#include <sample.h>


Data Structures | |
| struct | CallbackData |
| Construct a new Audio Sample object. More... | |
Public Member Functions | |
| AudioSample (const std::string_view filename) | |
| Construct a new Audio Sample object. | |
| int32_t | ReadBytes (uint8_t *buffer, const uint32_t bytes) final |
| Destroy the Audio Sample object. | |
| int32_t | GetChannels () const final |
| Get the Channels attribute. | |
| int32_t | GetSamplingRate () const final |
| Get the Sampling Rate attribute. | |
| void | Seek (uint32_t bytes) final |
| Get the Total Samples attribute. | |
Public Member Functions inherited from gva::AudioSampleBase | |
| virtual | ~AudioSampleBase ()=default |
| Destroy the Audio Sample Base object. | |
The Audio Sample class.
| struct gva::AudioSample::CallbackData |
|
explicit |
Construct a new Audio Sample object.
| filename | The filename of the audio sample |
|
finalvirtual |
|
finalvirtual |
|
finalvirtual |
Destroy the Audio Sample object.
| buffer | The buffer to read into |
| bytes | The number of bytes to read |
Implements gva::AudioSampleBase.
|
finalvirtual |
Get the Total Samples attribute.
| bytes | The number of bytes to read |
Implements gva::AudioSampleBase.