Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 am using FC3.
Suddenly my xmms is not working.
It is sound device is used by other program.
Even after rebooting the same thing happening.
When i started mplayer ,a message came saying that "Error initializing Default sound device and null output device is used." and presently mplayer is working.
If you are using various multimedia applications all using the ALSA output device, you will get these error msgs. So, what has worked for me is to set amarok == alsa output, xmms == arts output, etc, etc. And even then the error message sometimes occurs. I either restart ALSA and/ or reset arts/system sound. Only takes a second and I'm back to listening pleasure.
2) arts is said to be s**t, so turn it off;
3) in xmms Preferences do the following:
a) in Audio I/O Plugins tab:
set ALSA as Output Plugin;
press Configure;
in Device settings tab set Audio device to "default";
in Advanced settings tab unselect "Mmap mode";
b) in Options tab:
select "Allow multiple instances";
4) Also you may not have an access to audio device as an avarage user. This way you should add yourself to audio group:
Open /etc/group;
find a line with such content:
Code:
audio::17:
and change it to:
Code:
audio::17:kornerr
instead of kornerr place your login name, of course
5) Reboot and ENJOY
~~~EDIT~~~
I've found that arts is not s**t. So turn it on!
Glad to hear "thanks" from you, mkoljack. But next time I ask you to not mistype my nickname
Just copy/paste the nicknames which you want to use - this way there won't be any mistakes.
Thanks.
Yes, it looked like a good fix. But when I tried it (with the suggested .asoundrc), my ALSA driver barfed, setting output to /dev/null, as described above.
On the other hand OSS and TOSS both work fine. (Enligtned produces a "fuzzy" test sound, but it did work.)
Bottom line: I don't think ALSA is quite yet ready for prime time. The developers should, IMHO, look at the OSS code. It seems, to me, to be much more robust.
By the way, I believe you are supposed be able to set a system-wide asoundrc in /etc/ which might be useful for a system with multiple users. Igf ALSA actually worked.
Oops, sorry kornerr. Thanks for taking time to help us. PTrenholme -- ALSA is a fantasic output in Linux and it handles my external USB sound card SB Audigy2 NX. My point is there is a solution for you.
1. Be sure the .asoundrc file is in /your/home/.asoundrc directory
2. You may need the latest ALSA drivers, which was the case with me.
Those can be retrieved from the ATrpms repository for Fedora 3 and they work very well.
I'm posting again because I worked very hard to get sound working and it sounds like you are so close. Keep working at it. Fedora 3 is a fantastic distro. Kornerr had the last piece to my puzzle, God Bless him and thanks again Kornerr -- sorry for mispelling!
mkoljack, don't bless me
I'm not genius at all, I'm just crazy about asking quesions on LQ.org.
The first (and the only) man who helped me with ALSA was keefaz in Slackware thread
Thanks to keefaz!
PTrenholme, read the second post in this thread and give me the answer
And one good advice: visit sometimes Slackware, Gentoo, Debian and other "similar difficult distro's" threads - guys there are much smarter than we are
And, of course, try Slackware, Gentoo, Debian (of wich Slackware is easier for Linux beginners... like me)
It has really been great to learn things from you all.
I am a newbie to linux.
My xmms is working fine.
Can anyone of you tell me is there anyway by which i can listen to two audio files simultaneously??
All what is described in post# 5 will help you. But only if you use ALSA as output plugin in all multimedia apps.
E.g., I can listen simultaneously to xmms, mplayer, (g)xine.
Follow kornerr's instructions as stated in post 5. You have the abilty to play anything you want then through ALSA. It works perfectly. Be sure to turn off arts.
Originally posted by kornerr snip . . .
PTrenholme, read the second post in this thread and give me the answer
snip . . .
Well, just because I'm retired now, with lots of time on my hands, I decided to see how the final test release of FC4 was working. Interestingly, "out of the box" the sound seems to work without a hitch. (And there are lots of real cool improvements over FC3 in FC4.)
Anyhow, my sound needs are quite minimal (since my hearing's damaged from too much gun discharge noise in my youth) so I'm happy with [T]OSS on FC3, and ALSA on FC4. So, thanks for the offer to help, but I'll just let it slide for now.
I had some problem with the sound card too. And I fixed it by installing alsa sound drivers. I have detailed it so that I will remember it at a future date as well as share it with others. You can read about it here:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.