qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] alsa: add host suspend/resume support


From: malc
Subject: [Qemu-devel] Re: [PATCH] alsa: add host suspend/resume support
Date: Thu, 30 Jul 2009 14:47:39 +0400 (MSD)

On Thu, 30 Jul 2009, Bjrn Mork wrote:

> 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.

I've added code to avoid newer GCC from failing due to switch over
snd_pcm_state_t not handling all the enumeration values and pushed.
Thank you.

[..snip..]

-- 
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]