audio interface: separate input/output device selectors

- Added Output Device dropdown alongside Input Device
- loadAudioDevices() now populates both dropdowns from the API and
  selects current values
- Separated setAudioInputDevice / setAudioOutputDevice functions
  (each calls API with only its respective field)
- Added input_device / output_device to GET /api/audio/profile response
- Removed the old combined setAudioDevice function
This commit is contained in:
2026-06-16 19:13:25 -04:00
parent 1530aa266f
commit 93610e4d98
2 changed files with 36 additions and 12 deletions
+2
View File
@@ -1353,6 +1353,8 @@ class WebServer:
"rate": profile["rate"],
"jack_running": True,
"xrun_count": xruns,
"input_device": self.deps.audio_system.config.input_device,
"output_device": self.deps.audio_system.config.output_device,
}
@app.post("/api/audio/profile")