[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [xine-user] Cracking noise playing Audio CDs on kaffeine/xine



On Mon 30 May 05,  7:42 PM, yagpaulo-listas@yahoo.com <yagpaulo-listas@yahoo.com> said:
> On Mon, May 30, 2005 at 06:11:54PM -0400, Peter Jay Salzman wrote:
> > Try this:
> > 
> > 1. Open kaffeine/xine and start playing something.  2. Open a mixer
> > program.  Make sure the settings are not cranked up while kaffeine is
> > playing.
> 
> Thanks for the persistence !
 
No problem!

> After I replied to your 1st e-mail, I realized that I was using OSS,
> driver sb. I then installed alsa-modules for my kernel (2.4.27.2-686)
> and driver snd-sb8 loaded Ok. Now I can still play audio CDs with kscd,
> but kaffeine/xine spit the message:
> 
> Audio output unavailable. Device is busy
> 
> I can still play internet audio streams with kaffeine/xine but not audio
> CDs.
> 
> Killed kscd, but kaffeine/xine spits the same message when I try to play
> audio CDs. I'm not quite sure which device is busy. I must be missing
> something about alsa setup. I just installed the alsa packages and
> loaded the driver manually with:
 
Perfect application for strace.  Use:

strace -o LOG.txt kaffeine

Wait until you see kaffeine issue "device is busy" and then kill kaffeine.

Load up the file LOG.txt with an editor.  Do a search for "device is busy".
There should be an open() statement somewhere before the error message is
printed.  Probably not too far away, in fact.

That should tell you not only what device file kaffeine attempted to open,
but also why it couldn't open it.

If you've never used strace, this is a good way to learn.  This is
practically what strace was invented for.  ;)

Pete



Reply to: