Focusrite USB UCM2 profile forcing 48kHz
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 28/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- c, linux
- Área
- audio-video-rtc
Línea de trabajo
The payload points at alsa-lib's direct plugins, where the default rate is said to be hardcoded to 48kHz for split UCM macros. Start by reading the rate handling in those plugins and compare it with the rates the device reports in the /proc/asound/Gen/stream0 output (44100 through 192000). Done means a split-macro UCM2 profile lets PipeWire select the other supported rates, as the Pro Audio and Direct profiles already do. Confirm the fix on real or simulated hardware first, since the thread has no maintainer reply yet.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I'm creating UCM2 profiles for the Focusrite USB interfaces. They support:
$ cat /proc/asound/Gen/stream0
Focusrite Scarlett 4i4 4th Gen at usb-0000:00:14.0-6.4.1, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
Packet Size = 216
Momentary freq = 48000 Hz (0x6.0000)
Interface 1
Altset 1
Format: S32_LE
Channels: 6
Endpoint: 0x01 (1 OUT) (SYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Bits: 24
Channel map: FL FR FC LFE RL RR
Capture:
Status: Running
Interface = 2
Altset = 1
Packet Size = 216
Momentary freq = 48000 Hz (0x6.0000)
Interface 2
Altset 1
Format: S32_LE
Channels: 6
Endpoint: 0x81 (1 IN) (SYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Bits: 24
Channel map: FL FR FC LFE RL RR
When I use my UCM2 profile that splits the inputs and outputs up, PipeWire will only select 48kHz. The Pro Audio and Direct profiles can use all the sample rates.
To me it sounded like https://github.com/alsa-project/alsa-ucm-conf/issues/313 but @perexg advised https://github.com/alsa-project/alsa-ucm-conf/issues/313#issuecomment-1989386017:
For configurations using split macros, the default rate is hardcoded to 48kHz in the alsa-lib direct plugins. It would be better to create a bug in alsa-lib issue tracker.
- Lenguaje dominante
- C
- Estrellas
- 501
- Forks
- 227
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alsa-project/alsa-lib
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM devicePosiblemente ocupada @byrcolin la tomó hace 49 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
alsa-project/alsa-lib#532 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
alsa-project/alsa-lib#530 · 9 reacciones ·
-
kernel driver
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
alsa-project/alsa-lib#529 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
alsa-project/alsa-lib#522 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
alsa-project/alsa-lib#519 ·
Todos los issues de alsa-project/alsa-lib
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
fastfetch-cli/fastfetch#2780 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elliotchance/vsql#2079 ·
Los mantenedores suelen responder en 1 día
-
docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
vim/vim#22107 · 1 comentario ·
Los mantenedores suelen responder en 13 días
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stoppingPosiblemente ocupada @leinardi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
primesearch/Mlucas#398 ·