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

Re: Sound/aRTS/OSS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 12 September 2002 07:00 pm, Charles Logan wrote:
> >> If you don't want to have to kickstart artsd like this, have it startup
> >> when you log in, and set the "timeout" value in kcontrol->Sound->Sound
> >> Server to  something very low (mine is 3 seconds).  Wine et. al. should
> >> still work and your system sounds will work from the get-go.
>
> Thanks for the reply, David!  I think you're right on there.  In
> experimenting a bit, here's what I discovered.  In sound preferences, I
> have 'start arts server at startup' unchecked.  As such, there is no system
> sounds, but I can use Windows media player under Wine and video/audio works
> great in it.  If I go ahead and play a wav with noatun, xmms... any
> program, at that point artsd is off and running, and stays running.  If I
> then try using Wine/Mplayer, it errors out as the driver Wine is using is
> for OSS.  If I kill artsd, I'm back to the beginning, no system sounds, but
> Wine is fat, dumb and happy again.  There is an arts driver for Wine that
> I've tried, but the version I had was a bit buggy and caused more problems
> than it solved.  So, unless there's an option to use artsd only when
> needed, and have it unload when not, it a matter of utilizing whichever
> sound setup is needed for the program wanting to be used, ie: killing artsd
> manually if it's running and I'm going to use a Windows app.   Definitly
> not the end of the world... at least it's making a bit of sense to me now. 
> Thanks again!

Um, that's *exactly* what I was saying with regards to the timeout: after 3 
seconds, artsd "gives up" the soundcard, and other apps can use it.  Though, 
it may only work if you don't have system sounds on, as whatever process 
plays the system sounds could be constantly polling artsd, keeping it active.  
As I said, I don't use them, so I don't know :-)  To test that, goto 
KControl->Sound->System Notifications->"Disable All Sounds" (at the bottom). 
Then set your timeout to something small (it's the "Autosuspend if idle for x 
seconds" option in the Sound Server module, use 10 or less).  Then, wait the 
ten seconds after playing something in noatun, and see if your wine apps 
works, using the OSS driver.

HTH!

- -- 
A mouse is a device used to point at the xterm you want to type in. 
  --Kim Alm, a.s.r 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9gTkuEHLN/FXAbC0RAuP1AJ9wacO2wmHdRHYwVcqQBc50sfWKLwCg1yyU
TV49FGISNBsQmAZxE5JJ0GM=
=ommY
-----END PGP SIGNATURE-----



Reply to: