jack: Disconnect owned links on jack_deactivate
As per JACK API description the call to jack_deactivate should disconnect all ports because an inactive client can't have connections.
This disconnect is missing in the current API and results in left-over links after the call and malfunction to clients (e.g. Music Player Daemon).
To fix it this commit goes through the list of links to owned ports and disconnect them.
Signed-off-by: Hendrik Borghorst hendrikborghorst@gmail.com