[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Problem with aRts
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2000-11-01 20:18:37
[Download RAW message or body]

   Hi!

On Sat, Oct 21, 2000 at 09:26:10PM +0200, Antonio Larrosa Jiménez wrote:
> Martin Vogt escribió:
> > 
> > On Sun, Oct 15, 2000 at 06:42:43PM +0200, Antonio Larrosa wrote:
> > > Stefan Westerfeld wrote:
> > >
> > > Second thing, I found a way to fix the problem once it appears.
> > > Don't laugh, but it was fixed by moving a big window very fast
> > > across the screen. I suppose that it consumes some CPU power
> > > and aRts has to use(1) more fragments.
> > >
> > > (1) "use "as in "having a less fragments in the queue to play"
> > >
> > 
> > Looks like a bug in the kernel sound driver.
> > Maybe that the select on the /dev/dsp goes wrong.
> > 
> 
> Not sure of that, but I upgraded my kernel (to 2.2.17),
> changed from OSS to ALSA, and the problem is still happening.

Ok, here is new debugging technology: I just ported Synth_FILEPLAY, it
is now called Synth_CAPTURE_WAV, and writes it's input to a wave file
called /tmp/mcop-<username>/capture.wav. I hardcoded the filename, since
I don't want that a user who "just" uses an instrument from a song finds
himself with arbitary files being overwritten.

Anyway. To ban what artsd outputs on disk, start artsbuilder, create a
structure like this

  < Synth_BUS_DOWNLINK "out_soundcard" as bus >
        |    |
	    V    V
  < Synth_CAPTURE_WAV >

start it, eventually stop it, and examine if any bugs you heard while artsd
was running are also in the wave file.

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic