From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: Johannes Berg <johannes@sipsolutions.net>, alsa-devel@alsa-project.org
Subject: Re: Re: No snd_pcm_resume_all() ?
Date: Wed, 19 Apr 2006 06:59:22 +1000 [thread overview]
Message-ID: <1145393964.4705.76.camel@localhost.localdomain> (raw)
In-Reply-To: <s5hodyyvjxr.wl%tiwai@suse.de>
On Tue, 2006-04-18 at 20:05 +0200, Takashi Iwai wrote:
> At Tue, 18 Apr 2006 19:55:22 +0200,
> Johannes Berg wrote:
> >
> > On Tue, 2006-04-18 at 15:12 +0200, Takashi Iwai wrote:
> >
> > > Indeed, the pcm resume was designed to be called from application to
> > > restart. The flow is like below:
> >
> > Why does the app even need to know?!
>
> We cannot freeze the running user process at the very same moment the
> driver's suspend callback is called...
On ppc, I don't freeze processes at all... though from my experience,
just doing the suspend at sleep and the resume on wakeup from the driver
without freezing the app just works... the samples just stop getting
pumped for a little while.
Ben.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
prev parent reply other threads:[~2006-04-18 20:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 0:58 No snd_pcm_resume_all() ? Benjamin Herrenschmidt
2006-04-18 1:20 ` Lee Revell
2006-04-18 1:27 ` Benjamin Herrenschmidt
2006-04-18 1:36 ` Lee Revell
2006-04-18 1:45 ` Lee Revell
2006-04-18 2:13 ` Benjamin Herrenschmidt
2006-04-18 2:12 ` Benjamin Herrenschmidt
2006-04-18 13:12 ` Takashi Iwai
2006-04-18 17:55 ` Johannes Berg
2006-04-18 18:05 ` Takashi Iwai
2006-04-18 18:06 ` Johannes Berg
2006-04-18 18:10 ` Takashi Iwai
2006-04-18 18:12 ` Johannes Berg
2006-04-18 18:25 ` Takashi Iwai
2006-04-18 18:40 ` Johannes Berg
2006-04-18 18:54 ` Takashi Iwai
2006-04-18 19:27 ` Jaroslav Kysela
2006-04-18 20:59 ` Benjamin Herrenschmidt [this message]
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=1145393964.4705.76.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=alsa-devel@alsa-project.org \
--cc=johannes@sipsolutions.net \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.