GNOME Bugzilla – Bug 82154
use aRts if it's already running rather than using hardware directly.
Last modified: 2005-08-15 01:54:12 UTC
Here is a patch against esd that allows esd to play/record sound using aRts (if aRts is already running). The patch loads libarts C api library (libartsc) at runtime using dlopen, so it doesn't add a dependancy on libarts. The patch was tested on Rh73 on an x86 arch with OSS. Full functionality of esd is supported if using arts. In short, this allows gnome apps (and other aps linked with libesd) not to be mute if run under KDE.
Created attachment 8558 [details] [review] esound_arts-0.2.26 patch
Created attachment 8602 [details] [review] New patch for esound-0.2.26
Created attachment 8607 [details] [review] Final patch arts_esound-0.2.26
Created attachment 8634 [details] [review] Finally completed patch arts_esound-0.2.26
Created attachment 8686 [details] [review] Finally completed patch arts_esound-0.2.26 (!)
This patch causes some esd clients to segfault on exit. I tried it with commands such as esddsp mpg123 something.mp3 or even just xmms.
Did anyone ever look into why it was crashing?
Adding the PATCH keyword.
I don't think this patch will ever be apply : esound is not able to switch between oss/alsa/arts/whatever at runtime and building esd with only support for arts is really not a good idea..
Comment on attachment 8686 [details] [review] Finally completed patch arts_esound-0.2.26 (!) needs-work in lieu of 'won't accept'. Sorry about the spam, fcrozat.
Modified patch applied. Seems to work, I can't get it to crash.
I've applied the modified patch (2002-05-23) and it works well. I've some PC here used as TX, and the users may choose between various wm. It was very difficult to have sound from gnome and kde on the same TX without some manual configuration. Now arts _and_ esd are launched from startup scripts ;) many thanks to Igor and others. Hope this patch could be updated to current release.