[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:hardware:sound_problems_on_slackware [2013/01/06 00:00 (UTC)] – [Sound Problems on Slackware] added REVIEWED comment mfillpot | howtos:hardware:sound_problems_on_slackware [2018/02/15 14:33 (UTC)] – [Sound Problems on Slackware] lysander | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
<!-- Reviewed 2012-12-24 hazel --> | <!-- Reviewed 2012-12-24 hazel --> | ||
+ | |||
+ | **NOTE: on my systems, my default card is 1 and default device is 0 so I will use 1,0 through out this page** | ||
+ | |||
+ | |||
======Sound Problems on Slackware====== | ======Sound Problems on Slackware====== | ||
Line 20: | Line 24: | ||
3) Test sound devices to see which one(s) work: | 3) Test sound devices to see which one(s) work: | ||
- | | + | |
< | < | ||
< | < | ||
Line 26: | Line 30: | ||
< | < | ||
- | atest -D hw0,0 test.wav | + | aplay -D plughw:0,0 test.wav |
- | atest -D hw0,1 test.wav | + | aplay -D plughw:0,1 test.wav |
- | atest -D hw1,0 test.wav | + | aplay -D plughw:1,0 test.wav |
- | atest -D hw1,1 test.wav | + | aplay -D plughw:1,1 test.wav |
Line 39: | Line 43: | ||
**FIX:** Create / | **FIX:** Create / | ||
- | pcm.!default { | + | defaults.pcm.card 1 |
- | type hw | + | defaults.pcm.device 0 |
- | card 1 | + | defaults.ctl.card 1 |
- | device 0 | + | |
- | | + | -or- |
- | | + | |
- | type hw | + | |
- | card 1 | + | type hw |
- | | + | card 1 |
- | } | + | device 0 |
+ | } | ||
+ | ctl.!default { | ||
+ | type hw | ||
+ | card 1 | ||
+ | } | ||
+ | |||
OR, if you just want the changes for a single user create ~/.asoundrc in the user's home directory and put the above in it... | OR, if you just want the changes for a single user create ~/.asoundrc in the user's home directory and put the above in it... | ||
+ | ----- | ||
+ | **PROBLEM: | ||
+ | **FIX:** Enable the alsa pre-amp. | ||
+ | 1) Edit/Create / | ||
+ | pcm.!default { | ||
+ | type plug | ||
+ | | ||
+ | } | ||
+ | |||
+ | pcm.softvol { | ||
+ | type softvol | ||
+ | slave { | ||
+ | pcm " | ||
+ | } | ||
+ | | ||
+ | name " | ||
+ | card 1 | ||
+ | } | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | **WHERE: " | ||
+ | |||
+ | 2) Reboot | ||
+ | |||
+ | 3) After you reboot a PREAMP control is supposed to appear in your mixer controls but, it doesn' | ||
+ | |||
+ | ----- | ||
+ | |||
+ | **PROBLEM: | ||
+ | |||
+ | **FIX:** Enable the equalizer (N.B. the alsaequal plugin may have to be obtained separately). | ||
+ | |||
+ | Output can either be from the audio device or the mixer. For the device use the following: | ||
+ | |||
+ | 1) Edit/Create / | ||
+ | | ||
+ | type equal; | ||
+ | } | ||
+ | pcm.plugequal { | ||
+ | type equal; | ||
+ | slave.pcm " | ||
+ | } | ||
+ | pcm.!default { | ||
+ | type plug; | ||
+ | slave.pcm plugequal; | ||
+ | } | ||
+ | |||
+ | **WHERE: " | ||
+ | |||
+ | Should you wish to play from more than one application simultaneously via the mixer (dmix), use the below: | ||
+ | |||
+ | | ||
+ | type equal; | ||
+ | } | ||
+ | pcm.plugequal { | ||
+ | type equal; | ||
+ | slave.pcm " | ||
+ | } | ||
+ | pcm.!default { | ||
+ | type plug; | ||
+ | slave.pcm plugequal; | ||
+ | } | ||
+ | |||
+ | |||
+ | To access the equalizer, run " | ||
====== Sources ====== | ====== Sources ====== | ||
+ | AlienBOB' | ||
+ | |||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// |