style: run format:apply

This commit is contained in:
2026-01-15 19:26:56 -03:00
parent 893511ee11
commit c7ff5d3659
+5 -4
View File
@@ -121,7 +121,7 @@ export class MixedStream {
completion: Promise<void>; completion: Promise<void>;
stop: () => void; stop: () => void;
} { } {
let stopCallback: () => void = () => { }; let stopCallback: () => void = () => {};
const completion = new Promise<void>((resolve) => { const completion = new Promise<void>((resolve) => {
const mixerInput = this.mixer.createAudioInput({ const mixerInput = this.mixer.createAudioInput({
channels: 2, channels: 2,
@@ -180,7 +180,9 @@ export class MixedStream {
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
(this.mixer as any).removeAudioInput(mixerInput); (this.mixer as any).removeAudioInput(mixerInput);
} }
} catch (_) { /* ignore */ } } catch (_) {
/* ignore */
}
try { try {
mixerInput.destroy(); mixerInput.destroy();
@@ -194,8 +196,7 @@ export class MixedStream {
stopCallback = cleanup; stopCallback = cleanup;
transcoder.on('end', () => { transcoder.on('end', () => {
const durationMs = const durationMs = (totalBytes / 192000) * 1000 + DURATION_EXTRA_MS;
((totalBytes / 192000) * 1000) + DURATION_EXTRA_MS;
setTimeout(() => { setTimeout(() => {
cleanup(); cleanup();