Skip to content

Commit e8b4630

Browse files
committed
Fix doc link
1 parent 8295734 commit e8b4630

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/context/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ pub trait BaseAudioContext {
221221
/// This function panics if:
222222
/// - `buffer_size` is not 256, 512, 1024, 2048, 4096, 8192, or 16384
223223
/// - the number of input and output channels are both zero
224-
/// - either of the channel counts exceed [`MAX_CHANNELS`]
224+
/// - either of the channel counts exceed [`crate::MAX_CHANNELS`]
225225
#[must_use]
226226
fn create_script_processor(
227227
&self,

src/node/script_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl ScriptProcessorNode {
7474
/// This function panics if:
7575
/// - `buffer_size` is not 256, 512, 1024, 2048, 4096, 8192, or 16384
7676
/// - the number of input and output channels are both zero
77-
/// - either of the channel counts exceed [`MAX_CHANNELS`]
77+
/// - either of the channel counts exceed [`crate::MAX_CHANNELS`]
7878
pub fn new<C: BaseAudioContext>(context: &C, options: ScriptProcessorOptions) -> Self {
7979
let ScriptProcessorOptions {
8080
buffer_size,

0 commit comments

Comments
 (0)