fix: undo changes
This commit is contained in:
@@ -98,9 +98,7 @@ export class MixedStream {
|
|||||||
stop: () => void;
|
stop: () => void;
|
||||||
} {
|
} {
|
||||||
let stopCallback: () => void = () => { };
|
let stopCallback: () => void = () => { };
|
||||||
const completion = new Promise<void>((resolve) => {
|
const completion = new Promise<void>((resolve) => {
|
||||||
if (source.readableLength <= 0) { return; }
|
|
||||||
|
|
||||||
if (this.player.state.status === AudioPlayerStatus.Idle) {
|
if (this.player.state.status === AudioPlayerStatus.Idle) {
|
||||||
this.setupPipeline();
|
this.setupPipeline();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user