LibWeb: Flesh out AudioBufferSourceNode buffer setter steps

This commit is contained in:
Tim Ledbetter 2025-01-02 01:09:07 +00:00 committed by Andreas Kling
commit 72ca91ad1a
Notes: github-actions[bot] 2025-01-03 10:15:43 +00:00
4 changed files with 142 additions and 1 deletions

View file

@ -60,6 +60,8 @@ private:
GC::Ref<AudioParam> m_playback_rate;
GC::Ref<AudioParam> m_detune;
bool m_loop { false };
// https://webaudio.github.io/web-audio-api/#dom-audiobuffersourcenode-buffer-set-slot
bool m_buffer_set { false };
double m_loop_start { 0.0 };
double m_loop_end { 0.0 };
};