chore: 修改音频系统的注释

This commit is contained in:
unanmed 2025-03-17 22:31:00 +08:00
parent 89567924e8
commit 0a9457caf4

View File

@ -150,9 +150,11 @@ export class AudioPlayer extends EventEmitter<AudioPlayerEvent> {
/** /**
* *
* ```txt
* |-----------| * |-----------|
* Input ----> | DelayNode | ----> Output * Input ----> | DelayNode | ----> Output
* |-----------| * |-----------|
* ```
*/ */
createDelay() { createDelay() {
return new DelayEffect(this.ac); return new DelayEffect(this.ac);
@ -259,7 +261,7 @@ export class AudioPlayer extends EventEmitter<AudioPlayerEvent> {
resume(id: string) { resume(id: string) {
const route = this.getRoute(id); const route = this.getRoute(id);
if (!route) { if (!route) {
logger.warn(53, 'play', id); logger.warn(53, 'resume', id);
return; return;
} }
route.resume(); route.resume();