Merge branch 'upstream/1.16' into tizen_gst_1.16.2
[platform/upstream/gst-plugins-good.git] / ext / pulse / pulsesrc.h
index 967fc41..60e560d 100644 (file)
 #include <pulse/pulseaudio.h>
 #include <pulse/thread-mainloop.h>
 
+#if defined(__TIZEN__) && defined(PCM_DUMP_ENABLE)
+#include <stdio.h>
+#endif
+
 G_BEGIN_DECLS
 
 #define GST_TYPE_PULSESRC \
@@ -71,6 +75,8 @@ struct _GstPulseSrc
   gboolean volume_set:1;
   gboolean mute:1;
   gboolean mute_set:1;
+  guint32 current_source_idx;
+  gchar *current_source_name;
 
   gint notify; /* atomic */
 
@@ -80,8 +86,17 @@ struct _GstPulseSrc
   gboolean paused:1;
   gboolean in_read:1;
 
+#ifdef __TIZEN__
+  gchar *latency;
+#endif /* __TIZEN__ */
+
   GstStructure *properties;
   pa_proplist *proplist;
+
+#if defined(__TIZEN__) && defined(PCM_DUMP_ENABLE)
+  gint need_dump_output;
+  FILE *dump_fd_output;
+#endif
 };
 
 struct _GstPulseSrcClass