mmdevice: fix assert/UB when changing volume without any devices
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.
Showing with 1 addition and 1 deletion