pa_hook_init(&c->hook_sink_input_new, c);
pa_hook_init(&c->hook_sink_disconnect, c);
+ pa_hook_init(&c->hook_source_output_new, c);
+ pa_hook_init(&c->hook_source_disconnect, c);
pa_property_init(c);
pa_hook_free(&c->hook_sink_input_new);
pa_hook_free(&c->hook_sink_disconnect);
+ pa_hook_free(&c->hook_source_output_new);
+ pa_hook_free(&c->hook_source_disconnect);
pa_xfree(c);
}
int is_system_instance;
/* hooks */
- pa_hook hook_sink_input_new,
- hook_sink_disconnect;
+ pa_hook
+ hook_sink_input_new,
+ hook_sink_disconnect,
+ hook_source_output_new,
+ hook_source_disconnect;
};
pa_core* pa_core_new(pa_mainloop_api *m);