Web UI: offer a detected audio device list for Custom device capture (Linux, Windows, macOS)

Aperta
#6,113 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

Read the Custom device audio capture UI work in #5935 and trace how its free-text Audio Sink value is populated and saved. Identify the platform-specific device detection entry points for PulseAudio/PipeWire, WASAPI, and macOS audio inputs. Done means the editable picker lists detected devices, accepts arbitrary typed values, and shows a soft hint for values that are not currently detected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

  • I have searched the existing issues
  • I have read the documentation
Describe the issue

In the web UI, the Custom device audio capture mode only offers a free-text Audio Sink field. Users have to know the exact sink/device name in advance (for example by running pacmd list-sinks / pactl list short sinks on Linux) and type it without any typo. That is the hardest step of the feature for new users.

This is an enhancement request, not a bug: the free-text field works, but it is undiscoverable.

Expected behavior

For Custom device, offer an editable device list (combobox) that:

  • lists the audio devices Sunshine can currently detect, per platform:
    • Linux/FreeBSD: PulseAudio/PipeWire sink names,
    • Windows: WASAPI endpoints (friendly name shown, the identifier Sunshine expects stored),
    • macOS: audio input devices, such as BlackHole;
  • still allows typing any device name manually, because valid targets may not exist yet at configuration time (for example the Sunshine null sink created at stream start, BlackHole before it is installed, or a Device ID copied from tools\audio-info.exe);
  • shows a soft hint (not an error) when the typed name is not currently detected, e.g. "not detected right now, will be used exactly as typed".
Additional context

Related to the keep-default / Custom device capture UI work in #5935, but intentionally deferred to a separate PR so that PR stays focused. This issue is only for the device picker on top of the existing free-text configuration value; no config format change is requested.

This issue was generated by Muse Code powered by muse-wonder-1.0, high thinking level

Lingua principale
C++
Stelle
43k
Fork
2.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LizardByte/Sunshine

Tutte le issue di LizardByte/Sunshine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.