Consistent global limits for rate and channels
PATCH 1/1 Consistent global limits for rate and channels
In reply to a message not in the archivealsa-project/alsa-lib issue #507 was opened from twonoise:
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](https://github.com/user-attachments/files/28232363/alsa-lib.patch)
[alsa-utils.patch](https://github.com/user-attachments/files/28232368/alsa-utils.patch)
Issue URL : https://github.com/alsa-project/alsa-lib/issues/507
Repository URL: https://github.com/alsa-project/alsa-lib