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 740615 - alsa: warn on buffer underrun / overrun
alsa: warn on buffer underrun / overrun
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.4.4
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-24 11:14 UTC by Branislav Katreniak
Modified: 2014-11-24 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
alsa-warning-on-buffer-underrun.patch (1.45 KB, patch)
2014-11-24 11:15 UTC, Branislav Katreniak
none Details | Review
0002-alsa-Change-the-log-messages-in-xrun_recovery-from-D.patch (1.51 KB, patch)
2014-11-24 13:20 UTC, Branislav Katreniak
none Details | Review
0001-alsasrc-Fix-indent-in-gst_alsasrc_prepare-to-make-gi.patch (978 bytes, patch)
2014-11-24 13:22 UTC, Branislav Katreniak
none Details | Review
0001-alsa-Change-the-log-messages-in-xrun_recovery-from-D.patch (1.98 KB, patch)
2014-11-24 15:23 UTC, Branislav Katreniak
none Details | Review

Description Branislav Katreniak 2014-11-24 11:14:11 UTC
Alsa plugins report buffer under / over run at debug level. This problem is user visible and should be logged as warning.

Pulse audio plugin warns about them too.
Comment 1 Branislav Katreniak 2014-11-24 11:15:11 UTC
Created attachment 291347 [details] [review]
alsa-warning-on-buffer-underrun.patch
Comment 2 Luis de Bethencourt 2014-11-24 12:56:47 UTC
This changes the log messages in xrun_recovery() from DEBUG to WARNING.

Which makes sense since that function runs when there is an error.

Could you edit the commit message to follow the guidelines? Check other commits to see their messages for reference. For example, http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=b9992e43475265a4da2ae4aae0128fec12d9bfc2.

Format is like this:

area: summary

description

url-to-bugzilla
Comment 3 Branislav Katreniak 2014-11-24 13:20:08 UTC
Created attachment 291356 [details] [review]
0002-alsa-Change-the-log-messages-in-xrun_recovery-from-D.patch
Comment 4 Branislav Katreniak 2014-11-24 13:22:13 UTC
Created attachment 291358 [details] [review]
0001-alsasrc-Fix-indent-in-gst_alsasrc_prepare-to-make-gi.patch

Cleanup patch for alsasrc that I carry in git to make git hook happy.
Comment 5 Luis de Bethencourt 2014-11-24 13:40:47 UTC
We don't generally accept indentation/style patches unless you are touching the code for something else.

Could you resubmit the second patch but independently? Without the "[Patch 1/2]" in the subject? Thanks.
Comment 6 Branislav Katreniak 2014-11-24 13:48:28 UTC
I need the first commit to be able to make the second commit in git. Do you want me to hand edit the second commit? I can do it, by it feels weird  to me.
Comment 7 Branislav Katreniak 2014-11-24 13:50:05 UTC
You can also apply the 0002-... commit on its own. There is not trace of 0002 in the patch. It is just the file name.
Comment 8 Luis de Bethencourt 2014-11-24 14:06:38 UTC
Merge the two patches into one and I will merge.
Comment 9 Branislav Katreniak 2014-11-24 15:23:46 UTC
Created attachment 291375 [details] [review]
0001-alsa-Change-the-log-messages-in-xrun_recovery-from-D.patch
Comment 10 Luis de Bethencourt 2014-11-24 15:32:44 UTC
Merged

commit 5e8e6276cd9e572473741726d00deddff0ae8ff9
Comment 11 Luis de Bethencourt 2014-11-24 15:37:36 UTC
Thanks Branislav! :)
Comment 12 Branislav Katreniak 2014-11-24 15:46:54 UTC
Thank you !