mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Inline a line
This commit is contained in:
parent
b396d15b37
commit
4934874613
1 changed files with 1 additions and 3 deletions
|
|
@ -53,9 +53,7 @@ class StreamDispatcher extends EventEmitter {
|
|||
_sendBuffer(buffer, sequence, timestamp) {
|
||||
let repeats = this.passes;
|
||||
const packet = this._createPacket(sequence, timestamp, this.player.opusEncoder.encode(buffer));
|
||||
while (repeats--) {
|
||||
this.player.connection.udp.send(packet);
|
||||
}
|
||||
while (repeats--) this.player.connection.udp.send(packet);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue