jack: improve registration callbacks
Pass the type to the alloc function to make things pretier. Emit the client added only for the first client and the removed callback for the last client. Things like pavucontrol will make many nodes with the same name, which we map to the same client, only when the last node is gone, we emit the client removed.
Loading
Please register or sign in to comment