mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +00:00
LibWeb: Align AudioContext constructor with current spec steps
This commit is contained in:
parent
c33d72bb41
commit
f01ccf5424
Notes:
github-actions[bot]
2025-01-16 13:57:27 +00:00
Author: https://github.com/tcl3
Commit: f01ccf5424
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3203
Reviewed-by: https://github.com/shannonbooth ✅
6 changed files with 341 additions and 53 deletions
|
@ -57,6 +57,7 @@ public:
|
|||
void set_control_state(Bindings::AudioContextState state) { m_control_thread_state = state; }
|
||||
void set_rendering_state(Bindings::AudioContextState state) { m_rendering_thread_state = state; }
|
||||
|
||||
static WebIDL::ExceptionOr<void> verify_audio_options_inside_nominal_range(JS::Realm&, float sample_rate);
|
||||
static WebIDL::ExceptionOr<void> verify_audio_options_inside_nominal_range(JS::Realm&, WebIDL::UnsignedLong number_of_channels, WebIDL::UnsignedLong length, float sample_rate);
|
||||
|
||||
WebIDL::ExceptionOr<GC::Ref<BiquadFilterNode>> create_biquad_filter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue