Skip to content

Commit fb4cef9

Browse files
Fix comment.
1 parent 3ee671a commit fb4cef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KristofferStrube.Blazor.WebAudio/BaseAudioContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public async Task<AudioBuffer> DecodeAudioDataAsync(
378378
/// It throws an <see cref="DataCloneErrorException"/> if the array is detached.<br />
379379
/// It throws an <see cref="EncodingErrorException"/> if <see href="https://mimesniff.spec.whatwg.org/#matching-an-audio-or-video-type-pattern">MIME Sniffing §6.2 Matching an audio or video type pattern</see> doesn't find a MIME type or if it failed to decode it into a linear PCM (pulse code modulation).<br />
380380
/// </remarks>
381-
/// <param name="audioData">An <see cref="IJSObjectReference"/> to an existing AudioBuffer containing compressed audio data.</param>
381+
/// <param name="audioData">An <see cref="IJSObjectReference"/> to an <see cref="ArrayBuffer"/> containing compressed audio data.</param>
382382
/// <param name="successCallback">A callback function which will be invoked when the decoding is finished. The single argument to this callback is an <see cref="AudioBuffer"/> representing the decoded PCM audio data.</param>
383383
/// <param name="errorCallback">A callback function which will be invoked if there is an error decoding the audio file.</param>
384384
/// <returns>A new <see cref="AudioBuffer"/>.</returns>

0 commit comments

Comments
 (0)