aboutsummaryrefslogtreecommitdiff
path: root/migration-tcp.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2009-07-30 09:44:26 +0200
committermalc <av1474@comtv.ru>2009-07-30 14:45:50 +0400
commit866358211d8398823e72528daaa810eef49be8c5 (patch)
tree8130d8279e1157e29646ef6ab7ba296987b415df /migration-tcp.c
parent4c955388572068c57bb8cd205b61fa5dfa1a84f1 (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 'migration-tcp.c')
0 files changed, 0 insertions, 0 deletions