gst-plugins-good: jack: use jack type for the callback

Stefan Kost ensonic at kemper.freedesktop.org
Tue Jan 10 06:08:34 PST 2012


Module: gst-plugins-good
Branch: master
Commit: 0280ab04edcab26aa40eb8cae24a89eb2563e704
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=0280ab04edcab26aa40eb8cae24a89eb2563e704

Author: Stefan Sauer <ensonic at users.sf.net>
Date:   Tue Jan 10 15:06:39 2012 +0100

jack: use jack type for the callback

Jack headers have a typedef for the shutdown callback as well.

---

 ext/jack/gstjackaudioclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/jack/gstjackaudioclient.c b/ext/jack/gstjackaudioclient.c
index 2bb3555..c5c8dc8 100644
--- a/ext/jack/gstjackaudioclient.c
+++ b/ext/jack/gstjackaudioclient.c
@@ -66,7 +66,7 @@ struct _GstJackAudioClient
   gboolean active;
   gboolean deactivate;
 
-  void (*shutdown) (void *arg);
+  JackShutdownCallback shutdown;
   JackProcessCallback process;
   JackBufferSizeCallback buffer_size;
   JackSampleRateCallback sample_rate;



More information about the gstreamer-commits mailing list