PA_REFCNT_DECLARE;
pa_core *core;
- pa_hook_slot *sink_put_hook_slot, *sink_state_changed_slot, *sink_unlink_hook_slot;
- pa_hook_slot *source_put_hook_slot, *source_state_changed_slot, *source_unlink_hook_slot;
+ pa_hook_slot *sink_put_hook_slot, *sink_unlink_hook_slot;
+ pa_hook_slot *source_put_hook_slot, *source_unlink_hook_slot;
pa_hook_slot *comm_hook_device_connection_changed_slot;
pa_hook_slot *comm_hook_device_state_changed_slot;
pa_communicator *comm;
pa_hook_slot_free(dm->comm_hook_device_state_changed_slot);
if (dm->sink_put_hook_slot)
pa_hook_slot_free(dm->sink_put_hook_slot);
- if (dm->sink_state_changed_slot)
- pa_hook_slot_free(dm->sink_state_changed_slot);
if (dm->sink_unlink_hook_slot)
pa_hook_slot_free(dm->sink_unlink_hook_slot);
if (dm->source_put_hook_slot)
pa_hook_slot_free(dm->source_put_hook_slot);
- if (dm->source_state_changed_slot)
- pa_hook_slot_free(dm->source_state_changed_slot);
if (dm->source_unlink_hook_slot)
pa_hook_slot_free(dm->source_unlink_hook_slot);