After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 82154 - use aRts if it's already running rather than using hardware directly.
use aRts if it's already running rather than using hardware directly.
Status: RESOLVED FIXED
Product: esound
Classification: Deprecated
Component: general
0.2.26
Other other
: Normal normal
: ---
Assigned To: Esound Maintainers
Esound Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-05-18 06:58 UTC by Igor Mokrushin
Modified: 2005-08-15 01:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
esound_arts-0.2.26 patch (21.49 KB, patch)
2002-05-18 07:11 UTC, Igor Mokrushin
none Details | Review
New patch for esound-0.2.26 (13.99 KB, patch)
2002-05-20 16:51 UTC, Igor Mokrushin
none Details | Review
Final patch arts_esound-0.2.26 (8.07 KB, patch)
2002-05-20 23:00 UTC, Igor Mokrushin
none Details | Review
Finally completed patch arts_esound-0.2.26 (6.83 KB, patch)
2002-05-21 17:02 UTC, Igor Mokrushin
none Details | Review
Finally completed patch arts_esound-0.2.26 (!) (7.00 KB, patch)
2002-05-23 14:43 UTC, Igor Mokrushin
needs-work Details | Review

Description Igor Mokrushin 2002-05-18 06:58:26 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.
Comment 1 Igor Mokrushin 2002-05-18 07:11:35 UTC
Created attachment 8558 [details] [review]
esound_arts-0.2.26 patch
Comment 2 Igor Mokrushin 2002-05-20 16:51:10 UTC
Created attachment 8602 [details] [review]
New patch for esound-0.2.26
Comment 3 Igor Mokrushin 2002-05-20 23:00:16 UTC
Created attachment 8607 [details] [review]
Final patch arts_esound-0.2.26
Comment 4 Igor Mokrushin 2002-05-21 17:02:05 UTC
Created attachment 8634 [details] [review]
Finally completed patch arts_esound-0.2.26
Comment 5 Igor Mokrushin 2002-05-23 14:43:30 UTC
Created attachment 8686 [details] [review]
Finally completed patch arts_esound-0.2.26 (!)
Comment 6 Ken Deeter (Kentarou Shinohara) 2002-08-04 22:04:58 UTC
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.
Comment 7 Kjartan Maraas 2003-06-09 18:29:24 UTC
Did anyone ever look into why it was crashing?
Comment 8 alexander.winston 2004-01-05 03:37:30 UTC
Adding the PATCH keyword.
Comment 9 Frederic Crozat 2004-01-13 16:28:35 UTC
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 10 Luis Villa 2004-04-28 12:43:06 UTC
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.
Comment 11 David Schleef 2005-01-18 07:38:51 UTC
Modified patch applied.  Seems to work, I can't get it to crash.
Comment 12 Olivier Guerrier 2005-02-08 21:35:30 UTC
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.