diff options
author | wm4 <wm4@nowhere> | 2014-12-23 03:59:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-23 03:59:14 +0100 |
commit | d7b5484f51f271a63202aeffa6cb3a01b235b713 (patch) | |
tree | ac10beef28117381b3dd9b50a290fdaa63edc7b8 /audio/audio.h | |
parent | 4cfd641f05861cc1dcff34b7c93a94c6e7a4cbaf (diff) | |
download | mpv-d7b5484f51f271a63202aeffa6cb3a01b235b713.tar.bz2 mpv-d7b5484f51f271a63202aeffa6cb3a01b235b713.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 'audio/audio.h')
0 files changed, 0 insertions, 0 deletions