I
publish article from
guglez .
Often I encounter an unpleasant problem - when playing sounds Pidgin-ohm, there is an unpleasant crack. This problem was observed not only at home. Today I decided to finally figure out what's the matter.
Googling, I did not find any solutions other than how to carry pulseaudio. Due to the fact that besides the buggy sound in Pidgin, I do not observe any problems with sound, I decided that this method does not suit me and I began to look for the root of the problem.
Through trial and error, I found out that Pidgin uses the aplay utility to play sounds. It looks like this:
aplay /usr/share/sounds/purple/login.wav
If we execute this command in the terminal, we will get the same crash that Pidgin publishes. Go to aplay mang and find there two interesting points:
-L, --list-pcms
List all PCMs defined
-D, --device = NAME
Select PCM by name
The first key lists all available audio devices, and the second one makes it play sound through the specified device. With a poke method, I found a device that does not have a crack when I output a sound. In my case, it was a device called surround41. The result is this:
aplay -D surround41 /usr/share/sounds/purple/login.wav
Now we can play clear sound and we need to tell Pidgin about it :)
')
Go to the Pidgin settings (ctrl + p), go to the sound tab, in the field the method of sound playback, select the item "command". Below we drive aplay -D surround41% s, where instead of surround41 we enter your device. Enjoy pure sound in Pidgin!