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

Abierto
#6,113 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

  • 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

Lenguaje dominante
C++
Estrellas
43k
Forks
2.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LizardByte/Sunshine

Todos los issues de LizardByte/Sunshine

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.