core, device-port: check availability when choosing the default device
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 16 Feb 2017 10:09:39 +0000 (12:09 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 2 May 2017 13:18:46 +0000 (16:18 +0300)
commit1c477fcb679ac50259ef057ebe23c80c529aa612
tree8183ca191e44b004193313fe1d65bac96970df36
parent6b348961304903483aa78d4ddc1fd036ef75a7cb
core, device-port: check availability when choosing the default device

It doesn't make sense to use a sink or source whose active port is
unavailable, so let's take this into account when choosing the default
sink and source.
src/pulsecore/core.c
src/pulsecore/device-port.c