mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement AudioNode.numberOfInputs and .numberOfOutputs
This commit is contained in:
committed by
Andreas Kling
parent
d7a3bad2b4
commit
7b4f0d13ee
Notes:
github-actions[bot]
2024-10-08 14:35:15 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/7b4f0d13eed Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1679
@@ -30,6 +30,9 @@ public:
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DynamicsCompressorNode>> create(JS::Realm&, JS::NonnullGCPtr<BaseAudioContext>, DynamicsCompressorOptions const& = {});
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DynamicsCompressorNode>> construct_impl(JS::Realm&, JS::NonnullGCPtr<BaseAudioContext>, DynamicsCompressorOptions const& = {});
|
||||
|
||||
WebIDL::UnsignedLong number_of_inputs() override { return 1; }
|
||||
WebIDL::UnsignedLong number_of_outputs() override { return 1; }
|
||||
|
||||
JS::NonnullGCPtr<AudioParam const> threshold() const { return m_threshold; }
|
||||
JS::NonnullGCPtr<AudioParam const> knee() const { return m_knee; }
|
||||
JS::NonnullGCPtr<AudioParam const> ratio() const { return m_ratio; }
|
||||
|
||||
Reference in New Issue
Block a user