*
* You should have received a copy of the GNU Lesser General Public
* License along with gst-pulse; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA.
*/
#include <pulse/pulseaudio.h>
#include <pulse/thread-mainloop.h>
-#include "pulsemixerctrl.h"
-#include "pulseprobe.h"
+#if defined(__TIZEN__) && defined(PCM_DUMP_ENABLE)
+#include <stdio.h>
+#endif
G_BEGIN_DECLS
size_t read_buffer_length;
gchar *device_description;
- GstPulseMixerCtrl *mixer;
- GstPulseProbe *probe;
+
+ gdouble volume;
+ gboolean volume_set:1;
+ gboolean mute:1;
+ gboolean mute_set:1;
+ guint32 current_source_idx;
+ gchar *current_source_name;
+
+ gint notify; /* atomic */
gboolean corked:1;
gboolean stream_connected:1;
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