mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/WebAudio: Remove copy-pasted comments in DynamicsCompressorNode
This commit is contained in:
parent
9232dcbde5
commit
a95303de02
|
|
@ -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…
Reference in New Issue
Block a user