mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb/WebAudio: Implement AudioNode::disconnect()
Destubs AudioNode::disconnect() and its related overloads. Ensures that inverse connections are properly removed when disconnecting AudioNodeConnections. Adds associated WPT but skips them for now because they rely on OfflineRenderContext::start_rendering to be fully implemented.
This commit is contained in:
parent
75d26b1610
commit
3aff12bbab
Notes:
github-actions[bot]
2025-07-09 23:53:15 +00:00
Author: https://github.com/Prospero23
Commit: 3aff12bbab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5144
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/gmta
7 changed files with 630 additions and 16 deletions
|
@ -57,10 +57,10 @@ public:
|
|||
|
||||
void disconnect();
|
||||
WebIDL::ExceptionOr<void> disconnect(WebIDL::UnsignedLong output);
|
||||
void disconnect(GC::Ref<AudioNode> destination_node);
|
||||
WebIDL::ExceptionOr<void> disconnect(GC::Ref<AudioNode> destination_node);
|
||||
WebIDL::ExceptionOr<void> disconnect(GC::Ref<AudioNode> destination_node, WebIDL::UnsignedLong output);
|
||||
WebIDL::ExceptionOr<void> disconnect(GC::Ref<AudioNode> destination_node, WebIDL::UnsignedLong output, WebIDL::UnsignedLong input);
|
||||
void disconnect(GC::Ref<AudioParam> destination_param);
|
||||
WebIDL::ExceptionOr<void> disconnect(GC::Ref<AudioParam> destination_param);
|
||||
WebIDL::ExceptionOr<void> disconnect(GC::Ref<AudioParam> destination_param, WebIDL::UnsignedLong output);
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#dom-audionode-context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue