#ifdef __TIZEN__
if (!create) {
for (j = 0; j < u->n_groups; j++) {
- if (pa_sink_input_isinstance(stream))
- pa_idxset_remove_by_data(u->groups[j]->interacted_inputs, stream, NULL);
if (u->duck)
pa_idxset_remove_by_data(u->groups[j]->triggered_streams, stream, NULL);
}
}
static pa_hook_result_t sink_input_unlink_cb(pa_core *core, pa_sink_input *i, struct userdata *u) {
+#ifdef __TIZEN__
+ int j;
+ pa_core_assert_ref(core);
+#endif
pa_sink_input_assert_ref(i);
+#ifdef __TIZEN__
+ for (j = 0; j < u->n_groups; j++)
+ pa_idxset_remove_by_data(u->groups[j]->interacted_inputs, (void*)i, NULL);
+#endif
return process(u, PA_OBJECT(i), false, false);
}