pa_proplist_sets(data.proplist, PA_PROP_DEVICE_STRING, server);
pa_proplist_sets(data.proplist, PA_PROP_DEVICE_INTENDED_ROLES, "music");
pa_proplist_setf(data.proplist, PA_PROP_DEVICE_DESCRIPTION, "RAOP sink '%s'", server);
+#ifdef __TIZEN__
+ pa_proplist_sets(data.proplist, PA_PROP_DEVICE_API, "raop");
+#endif
if (pa_modargs_get_proplist(ma, "sink_properties", data.proplist, PA_UPDATE_REPLACE) < 0) {
pa_log("Invalid properties");
goto fail;
}
+#ifdef __TIZEN__
+ u->sink = pa_sink_new(m->core, &data, PA_SINK_LATENCY | PA_SINK_NETWORK | PA_SINK_FLAT_VOLUME);
+#else
u->sink = pa_sink_new(m->core, &data, PA_SINK_LATENCY | PA_SINK_NETWORK);
+#endif
pa_sink_new_data_done(&data);
if (!(u->sink)) {
"\tBase Volume: %s\n"
"\tMonitor Source: %s\n"
"\tLatency: %0.0f usec, configured %0.0f usec\n"
+#ifdef __TIZEN__
+ "\tFlags: %s%s%s%s%s%s%s%s\n"
+#else
"\tFlags: %s%s%s%s%s%s%s\n"
+#endif
"\tProperties:\n\t\t%s\n"),
i->index,
state_table[1+i->state],
i->flags & PA_SINK_HW_MUTE_CTRL ? "HW_MUTE_CTRL " : "",
i->flags & PA_SINK_HW_VOLUME_CTRL ? "HW_VOLUME_CTRL " : "",
i->flags & PA_SINK_DECIBEL_VOLUME ? "DECIBEL_VOLUME " : "",
+#ifdef __TIZEN__
+ i->flags & PA_SINK_FLAT_VOLUME ? "FLAT_VOLUME " : "",
+#endif
i->flags & PA_SINK_LATENCY ? "LATENCY " : "",
i->flags & PA_SINK_SET_FORMATS ? "SET_FORMATS " : "",
pl = pa_proplist_to_string_sep(i->proplist, "\n\t\t"));