SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to script something on my Slackware machine to restart the sound server. I've been doing it manually via the KDE Control Center sound screen, but is there a command line way of doing this that I could incorporate into a script?
I haven't had much luck in my searching the web and LQ for that.
Ok, I'll try to explain a bit. There are several audio layers. OSS (deprecated) or/and alsa provides drivers for your audio chipsets and that's why you enable their drivers in the kernel. You run kernel and so you run alsa, which requires your audio chipset module modprobed. There is an interaction between userspace alsa (you can configure it, adjust sound levels) and kernelspace alsa server. As well, there are esd and arts. Esd is used by gnome and arts is used by kde. Those are software mixers provided by mentioned desktop environments. You may not use esd or arts and use alsa asoundrc instead. Those mixers just mix the sound and send combined digital soundwave to alsa, which works with your soundcard and lets your hear it.
Last edited by Alien_Hominid; 01-29-2008 at 04:16 PM.
Ok, I'll try to explain a bit. There are several audio layers. OSS (deprecated) or/and alsa provides drivers for your audio chipsets and that's why you enable their drivers in the kernel. You run kernel and so you run alsa, which requires your audio chipset module modprobed. There is an interaction between userspace alsa (you can configure it, adjust sound levels) and kernelspace alsa server. As well, there are esd and arts. Esd is used by gnome and arts is used by kde. Those are software mixers provided by mentioned desktop environments. You may not use esd or arts and use alsa asoundrc instead. Those mixers just mix the sound and send combined digital soundwave to alsa, which works with your soundcard and lets your hear it.
Ahhhh, okay. Thanks for the explanation, I've always had a hard time grokking how this worked on different levels.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.