chore: 修改音频系统的注释

This commit is contained in:
AncTe committed 2025-03-17 22:31:00 +08:00
1 parent 89567924e8
commit 0a9457caf4
1 file changed
+3 -1
@@ -150,9 +150,11 @@ export class AudioPlayer extends EventEmitter<AudioPlayerEvent> {
/**
* 创建一个延迟效果器
* ```txt
* |-----------|
* Input ----> | DelayNode | ----> Output
* |-----------|
* ```
*/
createDelay() {
return new DelayEffect(this.ac);
@@ -259,7 +261,7 @@ export class AudioPlayer extends EventEmitter<AudioPlayerEvent> {
resume(id: string) {
const route = this.getRoute(id);
if (!route) {
logger.warn(53, 'play', id);
logger.warn(53, 'resume', id);
return;
}
route.resume();