We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9d2cd1 commit cbb547fCopy full SHA for cbb547f
2 files changed
core/put/source/audio/audio.h
@@ -21,6 +21,7 @@ namespace put
21
{
22
enum audio_play_state_t
23
24
+ not_initialised,
25
not_playing,
26
playing,
27
paused
@@ -88,6 +89,7 @@ namespace put
88
89
90
f32* buckets = nullptr; // min/max pairs for each bucket (size = resolution * 2)
91
u32 resolution = 0; // number of buckets
92
+ u32 buckets_loaded = 0; // number of buckets processed so far (for progressive loading)
93
u32 length_ms = 0; // total length in milliseconds
94
waveform_state state = e_waveform_state::loading;
95
};
0 commit comments