mmdevice: fix crash when all devices are removed during playback
commitf80de9d8983892e84d6bc032fef2c787c22aa65a
authorThomas Guillem <thomas@gllm.fr>
Tue, 17 Apr 2018 16:44:02 +0000 (17 18:44 +0200)
committerThomas Guillem <thomas@gllm.fr>
Tue, 17 Apr 2018 17:24:15 +0000 (17 19:24 +0200)
tree434bcf920225c2edc7f1301d3984116c3f6a4d73
parent9d12c0827930eb023db54570b2cc9299594c6e04
mmdevice: fix crash when all devices are removed during playback

Check the return value of the DeviceRestartLocked() function (returns 0 if
sys->dev is valid).
modules/audio_output/mmdevice.c