diff --git a/src/audio-nodes/audio-destination-node.ts b/src/audio-nodes/audio-destination-node.ts index c68538c1d..0b835dc34 100644 --- a/src/audio-nodes/audio-destination-node.ts +++ b/src/audio-nodes/audio-destination-node.ts @@ -40,7 +40,7 @@ export class AudioDestinationNode implements IAudioDestinationNode { const maxChannelCount = nativeNode.maxChannelCount; - // Bug #47: The AudioDestinationNode in Edge and Safari do not intialize the maxChannelCount property correctly. + // Bug #47: The AudioDestinationNode in Edge and Safari do not initialize the maxChannelCount property correctly. if (maxChannelCount === 0) { if (this._isOfflineAudioContext) { nativeNode.channelCount = channelCount; @@ -70,7 +70,7 @@ export class AudioDestinationNode implements IAudioDestinationNode { throw invalidStateErrorFactory.create(); } - // Bug #47: The AudioDestinationNode in Edge and Safari do not intialize the maxChannelCount property correctly. + // Bug #47: The AudioDestinationNode in Edge and Safari do not initialize the maxChannelCount property correctly. if (value > this._maxChannelCount) { throw indexSizeErrorFactory.create(); } diff --git a/src/audio-nodes/audio-node.ts b/src/audio-nodes/audio-node.ts index 860dfc81c..80b392091 100644 --- a/src/audio-nodes/audio-node.ts +++ b/src/audio-nodes/audio-node.ts @@ -67,14 +67,14 @@ export class AudioNode exten } public get channelCount () { - // Bug #47: The AudioDestinationNode in Edge and Safari do not intialize the maxChannelCount property correctly. + // Bug #47: The AudioDestinationNode in Edge and Safari do not initialize the maxChannelCount property correctly. return (( this._nativeNode) === this._nativeNode.context.destination) ? this._channelCount : this._nativeNode.channelCount; } public set channelCount (value) { - // Bug #47: The AudioDestinationNode in Edge and Safari do not intialize the maxChannelCount property correctly. + // Bug #47: The AudioDestinationNode in Edge and Safari do not initialize the maxChannelCount property correctly. if (( this._nativeNode) === this._nativeNode.context.destination) { this._channelCount = value; } else {