diff options
author | Bjørn Mork <bjorn@mork.no> | 2009-07-30 09:44:26 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-07-30 14:45:50 +0400 |
commit | 866358211d8398823e72528daaa810eef49be8c5 (patch) | |
tree | 8130d8279e1157e29646ef6ab7ba296987b415df /target-ppc | |
parent | 4c955388572068c57bb8cd205b61fa5dfa1a84f1 (diff) |
alsa: add host suspend/resume support
Both input and output streams may be in SND_PCM_STATE_SUSPENDED
after the host is suspended and resumed, meaning "Hardware is
suspended". snd_pcm_readi() and snd_pcm_writei() will return
-ESTRPIPE if called while the stream is in this state.
Call snd_pcm_resume() to enable audio output and capture after
host resume.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions