Is this the correct way to use a signal watcher in a different thread?

Fabián Orccón cfoch.fabian at gmail.com
Mon Feb 11 23:57:08 UTC 2019


Hello,
I try to develop a program that plays back a sound whenever a key is
pressed. I was trying the following:

https://gist.github.com/cfoch/a2c354ed88dc6d1494fa566cd94e1228

with this sound: https://freesound.org/people/NoiseCollector/sounds/4359/

but I add a bus signal watch in different thread (or at least that is my
first guess to avoid that the GUI gets frozen).

Let me know if I am adding the signal watcher in another context properly,
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190211/921efa63/attachment.html>


More information about the gstreamer-devel mailing list