fix(client): list only real audio devices and persist the choice by id
The device pickers showed every ALSA PCM plugin (Discard all samples, Rate Converter, JACK, Open Sound System, surround/dmix aliases). Enumeration now goes through a pure filter that keeps the system default, the PipeWire and PulseAudio servers and one entry per hardware endpoint, with technical tails removed and a stable sort. Selections are stored by device id instead of list position, so the filter and hotplug cannot move a saved choice. Indexes saved by older versions are migrated by device name; a missing device falls back to the default. The same preferences change records whether the voice mode was chosen by the person: a profile that only carries the old push-to-talk default now starts in voice activation, explicit choices are kept.
This commit is contained in:
parent
82dd9a324d
commit
3b95df9e9c
17 changed files with 780 additions and 210 deletions
|
|
@ -230,6 +230,7 @@
|
|||
"Idle": "Нет на месте",
|
||||
"Do not disturb": "Не беспокоить",
|
||||
"Default": "По умолчанию",
|
||||
"System default": "По умолчанию (системное)",
|
||||
"Reply to {}": "Ответ {}",
|
||||
"Members — {}": "Участники — {}",
|
||||
"Zoom {}%": "Масштаб {}%",
|
||||
|
|
|
|||
|
|
@ -543,7 +543,7 @@ msgid "Stop watching"
|
|||
msgstr "Закрыть просмотр"
|
||||
|
||||
msgid "System default"
|
||||
msgstr "Как в системе"
|
||||
msgstr "По умолчанию (системное)"
|
||||
|
||||
msgid "System output"
|
||||
msgstr "Системный звук"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue