aboutsummaryrefslogtreecommitdiffstats
path: root/bs/mkdep.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-07 17:45:05 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-07 17:54:42 -0700
commit30a3603f35a3d2a752d601c60b61bddfd4c21ef1 (patch)
tree6dd06a1bc15a7c973ce1cd99e3efe8a74b69d449 /bs/mkdep.sh
parentbc44454d2b249d80275107dcfca41a20afb48ba9 (diff)
downloadmpd-30a3603f35a3d2a752d601c60b61bddfd4c21ef1.tar.gz
mpd-30a3603f35a3d2a752d601c60b61bddfd4c21ef1.tar.xz
mpd-30a3603f35a3d2a752d601c60b61bddfd4c21ef1.zip
alsa: optimistically try resuming from suspend
Apparently snd_pcm_hw_params_can_resume() can return false even though my hardware does in fact support resuming. So stop carrying that value in the canResume flag and just try to resume when we're in the suspended state; falling back to snd_pcm_prepare only if resuming fails. libao does something similar on resume, too. While we're at it, use the E() macro which will enable us to have better error reporting.
Diffstat (limited to 'bs/mkdep.sh')
0 files changed, 0 insertions, 0 deletions