[patch] Consistent global limits for rate and channels

Abierto
#507 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
c, linux

Línea de trabajo

Start with pcm_plugin.h and its SND_PCM_PLUGIN_RATE_MIN and SND_PCM_PLUGIN_RATE_MAX definitions, then grep alsa-lib and alsa-utils for hard-coded rate and channel limits, including the 786000 value. The changes are in the attached patch files, not the issue text, so check them before starting. Done means local limits use the shared macros, the new max-channel globals are defined, and the typo is fixed. The thread has been quiet for about 138 days and the maintainer asked for the patches on the mailing list, so confirm the route first.

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

Descripción

Hello.

I've noticed that pcm_plugin.h provides SND_PCM_PLUGIN_RATE_MIN and ...MAX, but these values are not used always. Rather, various local limits used, include a bit unusual ones like 786000 (this one is probably just a typo). In order to make limits consistent across alsa-lib (and -utils), i've make these small patches. Also two more globals introduced for max channels. As well as some minor things fixed.

Are there chances that it can be merged?

I'll share via mailing list if need.

Thanks!

alsa-lib.patch

alsa-utils.patch

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

  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 alsa-project/alsa-lib

Todos los issues de alsa-project/alsa-lib

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.