Skip to content

Commit 495d59c

Browse files
committed
fix: doc
1 parent 01ebcd9 commit 495d59c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/channel_splitter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ pub(crate) fn assert_valid_number_of_channels(number_of_channels: usize) {
2929
);
3030
}
3131

32-
/// Assert that the channel count is valid for the ChannelMergerNode
32+
/// Assert that the channel count is valid for the ChannelSplitterNode
3333
/// see <https://webaudio.github.io/web-audio-api/#audionode-channelcount-constraints>
3434
///
3535
/// # Panics
3636
///
37-
/// This function panics if given count is greater than 2
37+
/// This function panics if given count is not equal to number of outputs
3838
///
3939
#[track_caller]
4040
#[inline(always)]

0 commit comments

Comments
 (0)