Skip to content
  • Thomas Guillem's avatar
    mmdevice: fix assert/UB when changing volume without any devices · fd09bcfd
    Thomas Guillem authored
    If there is no audio devices, Open() will succeed but MMSession() will fail.
    Then, MMThread() will wait for any events in order to call MMSession() again.
    In that case, don't try to call MMsession() without a valid device when volume
    or mute is changed from the user.
    fd09bcfd