[patch] Consistent global limits for rate and channels
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- c, linux
- Ambito
- audio-video-rtc
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- C
- Stelle
- 501
- Fork
- 227
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di alsa-project/alsa-lib
-
USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM deviceForse già presa @byrcolin l’ha presa 49 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
alsa-project/alsa-lib#532 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
alsa-project/alsa-lib#530 · 9 reazioni ·
-
kernel driver
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
alsa-project/alsa-lib#529 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
alsa-project/alsa-lib#522 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
alsa-project/alsa-lib#519 ·
Tutte le issue di alsa-project/alsa-lib
Issue simili
-
docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 13 giorni
-
threadpool: a failed `pthread_cond_wait` makes Mlucas hang instead of stoppingForse già presa @leinardi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
primesearch/Mlucas#398 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
-
slice
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Life-Framework/Life-Framework#6380 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno