alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Nobin Mathew" <nobin.mathew@gmail.com>
To: lg@opensource.wolfsonmicro.com, tiwai@suse.de
Cc: alsa-devel@alsa-project.org
Subject: Power management state flow in ALSA
Date: Wed, 30 May 2007 11:52:31 +0530	[thread overview]
Message-ID: <8d6898730705292322w2dbf2a2fu4761370c4cc7ea16@mail.gmail.com> (raw)

I am having a doubt regarding ALSA power management.

My understanding of APM suspend() is like this.

Freeze the ALSA apps

Call ALSA driver suspend ()

in the ALSA suspend() function it saves the current state of substream
and changes the state of substream to SUSPENDED.

My understanding of APM resume() is like this

Call ALSA driver resume ()

Activate the ALSA apps

In ALSA resume function it restores the saved state of substream.


So my question is when ALSA app will get to know the SUSPENDED state
of substream.???

I am using linux kernel 2.6.17
ALSA driver version 1.0.11rc4
ASoC patch version 0.12.4

             reply	other threads:[~2007-05-30  6:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30  6:22 Nobin Mathew [this message]
2007-05-30  9:55 ` Power management state flow in ALSA Takashi Iwai
2007-05-30 10:06   ` Nobin Mathew
2007-05-30 10:26     ` Takashi Iwai
2007-05-30 10:36       ` Nobin Mathew
2007-05-30 10:39         ` Takashi Iwai
2007-05-30 10:46           ` Nobin Mathew
2007-05-30 10:58         ` Takashi Iwai
2007-05-30 11:10           ` Liam Girdwood
2007-06-01 12:18           ` Liam Girdwood
     [not found]             ` <8d6898730706032158i341b70d3j32c9566532395d18@mail.gmail.com>
2007-06-06  8:07               ` Nobin Mathew

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=8d6898730705292322w2dbf2a2fu4761370c4cc7ea16@mail.gmail.com \
    --to=nobin.mathew@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lg@opensource.wolfsonmicro.com \
    --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 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).