mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build: 3109accf87
This commit is contained in:
parent
3a5d795a59
commit
6479565491
2 changed files with 8 additions and 6 deletions
|
|
@ -21857,11 +21857,13 @@ class VoiceBroadcast extends EventEmitter {
|
|||
buffer = this.applyVolume(buffer);
|
||||
|
||||
for (const x of this.dispatchers.entries()) {
|
||||
const [volume, container] = x;
|
||||
const opusPacket = this.opusEncoder.encode(this.applyVolume(buffer, volume));
|
||||
for (const dispatcher of container.values()) {
|
||||
setImmediate(() => dispatcher.process(buffer, true, opusPacket));
|
||||
}
|
||||
setImmediate(() => {
|
||||
const [volume, container] = x;
|
||||
const opusPacket = this.opusEncoder.encode(this.applyVolume(buffer, volume));
|
||||
for (const dispatcher of container.values()) {
|
||||
setImmediate(() => dispatcher.process(buffer, true, opusPacket));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
2
discord.indev-prism.min.js
vendored
2
discord.indev-prism.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue