• 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
..
audioOutput_alsa.c Loading commit data...
audioOutput_ao.c Loading commit data...
audioOutput_fifo.c Loading commit data...
audioOutput_jack.c Loading commit data...
audioOutput_mvp.c Loading commit data...
audioOutput_null.c Loading commit data...
audioOutput_oss.c Loading commit data...
audioOutput_osx.c Loading commit data...
audioOutput_pulse.c Loading commit data...
audioOutput_shout.c Loading commit data...