• Eric Wong's avatar
    alsa: optimistically try resuming from suspend · 7bd98c08
    Eric Wong authored
    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.
    
    [mk: remove the E() macro stuff]
    7bd98c08
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...