jack: use jack type for the callback
authorStefan Sauer <ensonic@users.sf.net>
Tue, 10 Jan 2012 14:06:39 +0000 (15:06 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 10 Jan 2012 14:08:16 +0000 (15:08 +0100)
Jack headers have a typedef for the shutdown callback as well.

ext/jack/gstjackaudioclient.c

index 2bb3555..c5c8dc8 100644 (file)
@@ -66,7 +66,7 @@ struct _GstJackAudioClient
   gboolean active;
   gboolean deactivate;
 
-  void (*shutdown) (void *arg);
+  JackShutdownCallback shutdown;
   JackProcessCallback process;
   JackBufferSizeCallback buffer_size;
   JackSampleRateCallback sample_rate;