#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 \
pa_stream *stream;
guint32 source_output_idx;
- pa_format_info *format;
- guint rate;
- guint channels;
+ pa_sample_spec sample_spec;
const void *read_buffer;
size_t read_buffer_length;
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