• Thomas Guillem's avatar
    mmdevice: support WASAPI device endpoint activation events · 56866554
    Thomas Guillem authored
    Some devices expose more than one endpoint such as speakers and headphone
    output. Disconnecting headphones does not remove the endpoint but instead marks
    it as being in unplugged state.
    Respond to the appropriate activation events in order to enable/disable
    endpoints correctly when they are added/removed from set of "active" endpoints.
    Fix #15966
    Original patch by Sean McGovern <gseanmcg@gmail.com>
mmdevice.c 34.5 KB