Useful ALSA Commands

6 views
Skip to first unread message

G10DRAS

unread,
Mar 22, 2017, 11:56:39 PM3/22/17
to Robo...@googlegroups.com
# Check SampleRates supported by USB Sound Card
lsusb
lsusb -v -d 1b3f:2007 | grep tSamFreq

# See various config file content
cat /proc/asound/cards
cat /proc/asound/modules
cat ~/.asoundrc
cat /etc/asound.conf

# Start AlsaMixer for channel 0
alsamixer -c 0

# Start AlsaMixer for channel 1
alsamixer -c 1

# Change the default HDMI sound ouput for the 3.5mm jack output
amixer –c 0 cset numid=3 1

# Check mixer settings
amixer -c 0
amixer -c 1

# List PLAYBACK Hardware Devices by Name
aplay -L

# List CAPTURE Hardware Devices by Name
arecord -L

# List of CAPTURE Hardware Devices
arecord -l

# List of PLAYBACK Hardware Devices
aplay -l

 

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages