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 139818 - Audio output drops if program is idle
Audio output drops if program is idle
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.3
Other FreeBSD
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-12 17:28 UTC by Jean-Yves Lefort
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case (959 bytes, application/octet-stream)
2004-04-12 17:29 UTC, Jean-Yves Lefort
Details

Description Jean-Yves Lefort 2004-04-12 17:28:55 UTC
Compile the attached test case. If the usleep() delay is increased, the audio
output starts to drop. Similarly, "gst-launch { filesrc location=foo ! spider !
osssink } doesn't work unless the gst-launch process is kept alive by regularly
sending it some signal.
Comment 1 Jean-Yves Lefort 2004-04-12 17:29:41 UTC
Created attachment 26586 [details]
test case
Comment 2 David Schleef 2004-04-13 22:52:06 UTC
This works perfectly for me on Linux, even with usleep(2000000000).  This
appears more likely to be a problem with FreeBSD's threading implementation.  Or
possibly, with GLib's usage of it.

You should also try with different schedulers.  I'd be surprised if it caused a
difference, but if it does, it might point to the cause.
Comment 3 Thomas Vander Stichele 2004-07-06 12:01:56 UTC
jylefort, ping
Comment 4 Jean-Yves Lefort 2004-07-06 14:20:22 UTC
Pong.
Comment 5 Thomas Vander Stichele 2004-07-06 15:04:09 UTC
funny :) could you try David's suggestions and reply ?
Comment 6 Jean-Yves Lefort 2004-07-07 10:54:30 UTC
All the tested schedulers exhibit the same problem.
Comment 7 Christian Fredrik Kalager Schaller 2004-12-07 23:54:39 UTC
Ok, adding myself to cc. Going to mail the freeBSD porter and ask them to try
and give some input.
Comment 8 Jean-Yves Lefort 2004-12-08 00:01:17 UTC
I think you can close this one. It does not happen anymore on FreeBSD 5.x.
Moreover, I've found out that some other sound libraries exhibited the same problem.
Comment 9 Christian Fredrik Kalager Schaller 2004-12-08 10:21:48 UTC
ok, thanks for the update. Closing.