mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-12-01 02:12:50 +08:00
fix(audio): prevent pops during playback controls
This commit is contained in:
1 parent
c26998d296
commit
a0f0b49a4e
3 files changed
+79
-18
No files matched your search
@@ -2103,6 +2103,7 @@ export class BotInstance extends EventEmitter {
|
||||
this.isAdvancing = true;
|
||||
let started = false;
|
||||
try {
|
||||
if (this.player.getState() !== "idle") this.player.stop(true);
|
||||
this.voteSkipUsers.clear();
|
||||
const next = this.queue.next();
|
||||
if (next) {
|
||||
|
||||
Reference in new issue
Block a user