GNOME Bugzilla – Bug 791196
alsamidisrc: unlock create function on shutdown
Last modified: 2017-12-08 10:42:21 UTC
Created attachment 364894 [details] [review] alsamidisrc: unlock create function on shutdown Fixes occasional hang in generic/states unit test or GST_CHECKS=test_state_changes_up_and_down_seq make forever --- This fixes the hang for me and seems correct, but I don't know if it still works in normal operation. Could someone please test?
JFTR the alsa sequencer, and hence alsamidisrc, can be tested also with virtual midi devices, for example executing "vkeybd" (which should use port 128:0 if there are no other sequencer clients) and then using a pipeline like the one below: GST_PLUGIN_PATH=/home/ao2/WIP/gstreamer/gst-plugins-base/build/ext/alsa/ \ GST_DEBUG=fluiddec:6 \ gst-launch-1.0 alsamidisrc ports=128:0 ! fluiddec ! audioconvert ! autoaudiosink The fluiddec debug output nicely shows the silent tick messages. So I tested the patch with this set up, and also with a physical midi device (even though it makes no difference from the alsa point of view), and the patch does not seem to affect normal operation. Thanks, Antonio
Thanks for the info, and for testing! Pushed then: commit 0ef44cefc9d4b8d188450a6daacbc9fa343961ea Author: Tim-Philipp Müller <tim@centricular.com> Date: Mon Dec 4 09:49:35 2017 +0000 alsamidisrc: unlock create function on shutdown Fixes occasional hang in generic/states unit test or GST_CHECKS=test_state_changes_up_and_down_seq make forever