You are not logged in.

#1 2013-04-05 15:00:16

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

alsacap - an ALSA device capability lister

alsacap serves to list the sampling rates, number of channels and sample formats supported by installed sound cards and their ALSA drivers.  This helps to find out which parameters do not require resampling (something to be avoided) and to troubleshoot ALSA problems.  ALSA parameters are not always independent: for example, the available sampling rates of a sound card may depend on the selected sample format.  alsacap allows to find out about such restrictions by presetting some parameter values.

I wrote alsacap years ago.  A recent e-mail from a user has reminded me that there is still no official tool with the same functionality.  So I have written a manual page and put it in the AUR.  Enjoy!  If you want to learn more about ALSA parameters, devices and configuration, look at this page that I also wrote some years ago but which is still valid.

Last edited by deepsoul (2013-04-05 16:10:53)


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#2 2013-04-05 15:59:06

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: alsacap - an ALSA device capability lister

Please edit your link. It's not very nice forcing people to vote this way.

Offline

#3 2013-04-05 16:17:23

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

Re: alsacap - an ALSA device capability lister

Thanks and shame on me!  This was unintentional.

I had copied the URL from the browser after voting, and apparently voting is implemented as appending "/vote" to the AUR directory, without a redirect to the original URL.  I had some trouble in the past with double posting as a result of reloading an AUR page but did not realise the scope of the problem.


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#4 2015-12-21 22:36:15

ronalde
Member
From: Oss, The Netherlands
Registered: 2013-04-18
Posts: 6
Website

Re: alsacap - an ALSA device capability lister

Created somewhat the same in bash (alsa-capabilities), which not only displays which digital audio formats and sample rates your alsa output interface supports, but also which process is locking it (if any).

To run the script, either download it first and than run it:

wget "https://lacocina.nl/alsa-capabilities" && bash alsa-capabilities

Or, run it directly from the web:

bash <(wget -q -O - "https://lacocina.nl/alsa-capabilities")
## or
bash <(curl -s "https://lacocina.nl/alsa-capabilities")

Regards,
Ronald

Last edited by ronalde (2016-12-22 08:58:47)

Offline

Board footer

Powered by FluxBB