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 334478 - when asked to standby, esd doesn't release the device fast enough
when asked to standby, esd doesn't release the device fast enough
Status: RESOLVED WONTFIX
Product: esound
Classification: Deprecated
Component: general
0.2.x
Other All
: Normal normal
: ---
Assigned To: Esound Maintainers
Esound Maintainers
gnome[unmaintained]
: 335089 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-13 21:58 UTC by Lucas Nussbaum
Modified: 2012-02-28 20:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Lucas Nussbaum 2006-03-13 21:58:30 UTC
Please describe the problem:
Using the alsa backend, it seems that under some circumstances, esd doesn't
release the audio device fast enough, causing the problems described in bug
330586. Just making the client application sleep for 100ms before claiming the
device was enough to make it work.

Steps to reproduce:
1. Start esd in daemon mode.
2. Start ekiga 1.99
3. run the configuration wizard
4. test the sound

Actual results:
A dialog saying that the audio device couldn't be opened is displayed.

Expected results:
ekiga should be able to open the audio device, since it asked esd to standby before.

Does this happen every time?
Yes

Other information:
Comment 1 Snark 2006-03-19 10:19:22 UTC
*** Bug 335089 has been marked as a duplicate of this bug. ***
Comment 2 Lucas Nussbaum 2006-04-07 07:45:01 UTC
There are a lot of usleep(100) in esound's code related to server resume. Maybe some usleep(100) should be added for server standby too ?

Also, in clients.c, there's a usleep(100) after the call to esd_server_resume. In proto.c, there's none after the call to esd_server_resume. Maybe one should be added, or maybe it should be moved to esd.c:esd_server_resume ?
Comment 3 David Schleef 2006-08-08 02:23:05 UTC
I only see usleep()s in the osf backend.
Comment 4 Kjartan Maraas 2007-01-07 15:03:17 UTC
And one nanosleep() in esd.c
Comment 5 André Klapper 2012-02-28 20:32:53 UTC
"esound" has not seen code changes for more than three years according to http://git.gnome.org/browse/esound/log/ , and it will not see further active development anymore according to its developers.

Closing this report as WONTFIX - Please feel free to reopen this bug report in
the future if anyone takes the responsibility for active development again.