mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 04:02:52 +00:00
LibWeb/WebAudio: Remove copy-pasted comments in DynamicsCompressorNode
This commit is contained in:
parent
9232dcbde5
commit
a95303de02
Notes:
github-actions[bot]
2024-12-18 09:20:45 +00:00
Author: https://github.com/shlyakpavel
Commit: a95303de02
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2944
Reviewed-by: https://github.com/gmta
1 changed files with 0 additions and 2 deletions
|
@ -81,11 +81,9 @@ WebIDL::ExceptionOr<void> DynamicsCompressorNode::set_channel_count_mode(Binding
|
|||
WebIDL::ExceptionOr<void> DynamicsCompressorNode::set_channel_count(WebIDL::UnsignedLong channel_count)
|
||||
{
|
||||
if (channel_count > 2) {
|
||||
// Return a NotSupportedError if 'max' is used
|
||||
return WebIDL::NotSupportedError::create(realm(), "DynamicsCompressorNode does not support channel count greater than 2"_string);
|
||||
}
|
||||
|
||||
// If the mode is valid, call the base class implementation
|
||||
return AudioNode::set_channel_count(channel_count);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue