mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Initialize OfflineAudioContext with correct defaults
This commit is contained in:
committed by
Sam Atkins
parent
2cac0dc20c
commit
27dbe49f00
Notes:
github-actions[bot]
2025-01-08 11:25:09 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/27dbe49f002 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3175 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -28,7 +28,6 @@ namespace Web::WebAudio {
|
||||
|
||||
BaseAudioContext::BaseAudioContext(JS::Realm& realm, float sample_rate)
|
||||
: DOM::EventTarget(realm)
|
||||
, m_destination(AudioDestinationNode::construct_impl(realm, *this))
|
||||
, m_sample_rate(sample_rate)
|
||||
, m_listener(AudioListener::create(realm))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user