From: malc <av1474@comtv.ru>
To: "Bjørn Mork" <bjorn@mork.no>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] alsa: add host suspend/resume support
Date: Thu, 30 Jul 2009 14:47:39 +0400 (MSD) [thread overview]
Message-ID: <Pine.LNX.4.64.0907301446310.2771@linmac.oyster.ru> (raw)
In-Reply-To: <1248939866-21541-1-git-send-email-bjorn@mork.no>
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:av1474@comtv.ru
next prev parent reply other threads:[~2009-07-30 10:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 10:51 [Qemu-devel] [PATCH] alsa broken when the host is suspended (or hibernated) Bjørn Mork
2009-07-29 11:57 ` malc
2009-07-29 12:36 ` Bjørn Mork
2009-07-29 13:45 ` malc
2009-07-29 13:46 ` Bjørn Mork
2009-07-29 13:51 ` malc
2009-07-30 7:44 ` [Qemu-devel] [PATCH] alsa: add host suspend/resume support Bjørn Mork
2009-07-30 10:47 ` malc [this message]
2009-07-30 7:47 ` [Qemu-devel] [PATCH] alsa broken when the host is suspended (or hibernated) Bjørn Mork
2009-07-29 16:58 ` Rob Landley
2009-07-29 18:57 ` malc
2009-07-30 10:29 ` malc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0907301446310.2771@linmac.oyster.ru \
--to=av1474@comtv.ru \
--cc=bjorn@mork.no \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).