Loading...
Searching...
No Matches
WaveformSummary.hpp
Definition WaveformSummary.hpp:10
Definition WaveformSummary.hpp:32
std::unique_ptr< FloatPair[]> data
channels * bucketCount pairs, channel-major.
Definition WaveformSummary.hpp:45
int64_t bucketCount
Buckets per channel. The last one may cover fewer than bucket frames.
Definition WaveformSummary.hpp:37
static int64_t bucketFor(int64_t frames, int32_t channels) noexcept
Definition WaveformSummary.hpp:59
int64_t frames
Frames the summary accounts for.
Definition WaveformSummary.hpp:42
int64_t bucket
Frames per bucket. A power of two, at least 64.
Definition WaveformSummary.hpp:34