Media::RMSData Struct Reference
Inheritance diagram for Media::RMSData:
Classes | |
struct | Header |
Public Member Functions | |
void | load (QString abspath, int channels, int rate, TimeVal duration) |
bool | exists () const |
void | decode (const std::vector< tcb::span< const ossia::audio_sample >> &audio) |
void | decodeLast (const std::vector< tcb::span< const ossia::audio_sample >> &audio) |
void | decode (ossia::drwav_handle &audio) |
double | sampleRateRatio (double expectedRate) const noexcept |
ossia::small_vector< float, 8 > | frame (int64_t start_sample, int64_t end_sample) const noexcept |
Header * | header_ptr () const noexcept |
rms_sample_t * | data_ptr () const noexcept |
void | newData () |
void | finishedDecoding () |
Public Attributes | |
int64_t | frames_count = 0 |
int64_t | samples_count = 0 |
The documentation for this struct was generated from the following files:
- RMSData.hpp
- RMSData.cpp