diff options
author | wm4 <wm4@nowhere> | 2014-12-23 03:59:14 +0100 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2015-01-14 16:21:45 +0100 |
commit | 9b2b95ee5288a27569ce9e48655b4ee9652ef9d0 (patch) | |
tree | 5ba13cada5b51c755cf699d133549c69a84f2c7d /osdep/w32_keyboard.h | |
parent | 47d972102eee4150e427d5c4678607f85647f387 (diff) | |
download | mpv-9b2b95ee5288a27569ce9e48655b4ee9652ef9d0.tar.bz2 mpv-9b2b95ee5288a27569ce9e48655b4ee9652ef9d0.tar.xz |
ao_alsa: fix resuming from suspend mode
snd_pcm_prepare() was not always called, which could result in an
infinite loop.
Whether snd_pcm_prepare() was actually called depended on whether the
device was a hw device (or other characteristics; depending on
snd_pcm_hw_params_can_pause()), and required real suspend (annoying for
testing), so it was somewhat tricky to reproduce without knowing these
things.
Diffstat (limited to 'osdep/w32_keyboard.h')
0 files changed, 0 insertions, 0 deletions