[patch] Consistent global limits for rate and channels

GitHub issues - opened <[email protected]>
Newsgroups org.alsa-project.alsa-devel
Message-ID <[email protected]>
alsa-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.