Add GetAssociatedOutputDeviceID support to pulse.
We use the bus path for identification of devices. I have verified that it works with a headset connected with 3.5 mm connectors, and with a USB headset. Another nice thing with his approach is that we should be able to easily find if a webcam has a built-in mic, since in this case the webcam and mic will typically be connected via the same USB port.
BUG=636300
Review-Url: https://codereview.chromium.org/2258143002
Cr-Commit-Position: refs/heads/master@{#415024}
5 files changed