LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Do xmms can lock the audio device? (https://www.linuxquestions.org/questions/linux-software-2/do-xmms-can-lock-the-audio-device-171039/)

7ux_spirit 04-16-2004 03:59 PM

Do xmms can lock the audio device?
 
I had a similar post in the redhat forum some days back with no response. I think it would be more appropriate to put it in the software section.

I was wondering whether xmms provides any option to lock the audio device, so i wont get the error message "couldnt open audio.." when it switch tracks.

Mine is xmms-1.2.7-13.p

Mega Man X 04-16-2004 04:50 PM

I have had that problem before when using Redhat 7.3. I did not have that problem with Redhat 9.0. My wild guess is that occurs when you have another sound daemon running (say, Gnome sound when click'n on stuff). If you use KDE or Gnome, disable their audio daemon and see if that helps (?).

Good luck!

AutOPSY 04-16-2004 04:53 PM

ps ax |grep esd

7ux_spirit 04-17-2004 05:34 PM

Thanks for those infos, and as Megaman X has said there were multiple sound deamons running in my system. There was this sound server (artsd) starts with the KDE (kde apps may be using this daemon), and my xmms was using ESounD output plugin 1.2.7 (using esd daemon).

Other than ESD plugin, my xmms comes with the option to have the following output plugins - arts driver 0.4, disk writer plugin 1.2.7 and OSS driver 1.2.7
I couldnt find what the last 2 plugins been attached to or what its special purpose.

ESD sounds good in its description - it says it can mix several audio streams through a single audio device at a time so that apps wont have to wait to use the sound card (a nice choice most of the time!) But the sad thing is i think it is not a default one with the apps. Now i have noticed an option to use this ESD with a couple of apps.

Anyway now i have given the option not to start artsd with kde in the artsd preferences section i sneaked out in the redhat control center, as i have decided to stick with ESD ;)


[ I still think there must be some mechanism in which sound device should be unavailable to any other apps when it is been allocated to a particular application so that other applications should start with no audio o/p, because i dont like the 'delayed o/p' as with 'arts' and the 'mixed o/p' as with ESD wont be feasible sometimes.]


All times are GMT -5. The time now is 06:49 PM.