[client] usb audio: connect USB redirection

Add an opt-in USB audio fallback and connect the emulator to an
available PureSpice USBREDIR channel.

Keep transport-provided audio in priority and serialize USB parser
processing and teardown on the PureSpice thread.
This commit is contained in:
Geoffrey McRae
2026-08-09 22:29:11 +10:00
parent 06f111dc90
commit a1da8c14f3
4 changed files with 93 additions and 23 deletions

View File

@@ -358,6 +358,8 @@ All command line options
+------------------------+-------+-----------+---------------------------------------------------------------------+
| spice:audio | | yes | Enable SPICE audio support |
+------------------------+-------+-----------+---------------------------------------------------------------------+
| spice:usbAudio | | no | Use USB redirection for SPICE audio playback |
+------------------------+-------+-----------+---------------------------------------------------------------------+
| spice:scaleCursor | -j | yes | Scale cursor input position to screen size when up/down scaled |
+------------------------+-------+-----------+---------------------------------------------------------------------+
| spice:captureOnStart | | no | Capture mouse and keyboard on start |