ALSA we love you
Posted by Mathieu Jobin Sat, 15 Apr 2006 06:59:00 GMT
Anyone had fun with ALSA before ? Some would say its much better than OSS and much more powerful. Some would simply say the it supports more cards (well of course, development on OSS is kinda stopped for a while already) anyway.
Who need this kinda of configuration ? why there is so many options to this config file ? its like your computer could really have 5 different sound card and reroute them in some weird way. well, buy a mixer. got true use for all the power ALSA offer ? please comment below.
I'm just to a point where, even though you are a geek programmer, if all you want to do is software or web development. You don't really want to understand the fully underlying sound system of your operating system to chat with your girlfriend. There is advantage Linux has I can't live without but there is huge whack of extra time that you have to spend in order to get things working. And some of you who does not have problem, well either you have not used it long enough or you are just as picky as I can be.
anyway, I did not want to troll about anything today. I'm just very tired of rebooting on windows when I have to do my phone calls. And the good news is: I found this little hack that I need to get both my soundcard device and my USB microphone as default device.
somekool@krypton ~ $ cat /etc/asound.conf
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,0"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}
somekool@krypton ~ $
that's it. so now I can just use arecord to record my voice without needing any options to specify the proper device.
somekool@krypton ~ $ arecord file.wav
well am I happy ? not really. skype needs OSS or OSS emulation to work. it does not use ALSA directly. but OSS is too old. and I can't really switch my system to it. so I'm not sure if I can get an OSS-emulated device for my USB microphone or If I really need to get arts to see my microphone. arts seems the easiest way to get everything working. but for some reason, it still does not see my microphone.
Hey you out there who knows all about it but are just a little to shy to help. show yourself off it will be highly appreciated.
