mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Inline a line
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user