pa_subscription_post(s->core, PA_SUBSCRIPTION_EVENT_SINK|PA_SUBSCRIPTION_EVENT_CHANGE, s->index);
pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_VOLUME_CHANGED], s);
}
+
+#ifdef __TIZEN__
+/* Called from the main thread. */
+void pa_sink_set_avc_mode(pa_sink *s, pa_sink_avc_mode_t mode) {
+ pa_proplist *pl = NULL;
+
+ pa_assert(s);
+
+ pl = pa_proplist_new();
+ pa_proplist_setf(pl, "device.avc_mode", "%d", mode);
+ pa_sink_update_proplist(s, PA_UPDATE_REPLACE, pl);
+ pa_proplist_free(pl);
+
+ pa_log_info("setting avc mode = %d", mode);
+
+ s->avc_mode = mode;
+}
+
+pa_sink_avc_mode_t pa_sink_get_avc_mode(pa_sink *s) {
+ pa_assert(s);
+
+ return s->avc_mode;
+}
+#endif
\ No newline at end of file