From 7d396ac67acc7ffeb6d09ae0cedaeafcdf33cad3 Mon Sep 17 00:00:00 2001 From: Astral <57021776+astellarfox@users.noreply.github.com> Date: Wed, 10 Dec 2025 11:33:23 -0500 Subject: [PATCH] actually make sendAudioConfig work i spent hours wondering why audio configs didn't do anything until i noticed this btw --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 9eb7458..504d22f 100644 --- a/src/client.ts +++ b/src/client.ts @@ -738,8 +738,8 @@ export class VncClient extends EventEmitter { }; if (rect.encoding === consts.encodings.pseudoQemuAudio) { - this.sendAudio(true); this.sendAudioConfig(this._audioChannels, this._audioFrequency); //todo: future: setFrequency(...) to update mid thing + this.sendAudio(true); } else if (rect.encoding === consts.encodings.pseudoQemuPointerMotionChange) { this._relativePointer = rect.x == 0; } else if (rect.encoding === consts.encodings.pseudoCursor) {