#define PA_MAX_INPUTS_PER_SINK 256
+#ifdef __TIZEN__
+typedef enum pa_sink_avc_mode {
+ PA_SINK_AVC_OFF,
+ PA_SINK_AVC_SILENT,
+ PA_SINK_AVC_NORM,
+} pa_sink_avc_mode_t;
+#endif
+
/* Returns true if sink is linked: registered and accessible from client side. */
static inline bool PA_SINK_IS_LINKED(pa_sink_state_t x) {
return x == PA_SINK_RUNNING || x == PA_SINK_IDLE || x == PA_SINK_SUSPENDED;
char *dump_path;
void *device_item;
bool use_internal_codec;
+ pa_sink_avc_mode_t avc_mode;
#endif
void *userdata;
};
* s->reference_volume and fires change notifications. */
void pa_sink_set_reference_volume_direct(pa_sink *s, const pa_cvolume *volume);
+
+#ifdef __TIZEN__
+void pa_sink_set_avc_mode(pa_sink *s, pa_sink_avc_mode_t mode);
+pa_sink_avc_mode_t pa_sink_get_avc_mode(pa_sink *s);
+#endif
+
/* Verify that we called in IO context (aka 'thread context), or that
* the sink is not yet set up, i.e. the thread not set up yet. See
* pa_assert_io_context() in thread-mq.h for more information. */