From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Koul, Vinod" <vinod.koul@intel.com>
Cc: alsa <alsa-devel@alsa-project.org>,
Mark Brown <broonie@opensource.wolfsonmciro.com>,
Liam <lrg@slimlogic.co.uk>
Subject: Re: codec power question
Date: Tue, 15 Mar 2011 13:25:43 +0000 [thread overview]
Message-ID: <20110315132542.GB10848@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1300192047.19661.5.camel@vkoul-udesk3>
On Tue, Mar 15, 2011 at 05:57:27PM +0530, Koul, Vinod wrote:
> In andriod, flinger opens the streams at boot and keeps them ON, and
> doesn't close the stream when in idle.
> Since the stream in ON, codec consumes lot of power, I was wondering if
> we have something in asoc to detect this kind of state and do much
> better power control.
Ah, this is just a plain userspace bug in the default ALSA thing that
went up on the Android git - there's no way sensible way to figure out
that userspace is playing silence because it's being silly.
The Nexus S libaudio does a better job here though it has its own issues
due to the integration with the non-mainline CODEC driver they're using.
prev parent reply other threads:[~2011-03-15 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 9:40 codec power question Koul, Vinod
2011-03-15 9:43 ` Koul, Vinod
2011-03-15 11:30 ` Mark Brown
2011-03-15 12:27 ` Koul, Vinod
2011-03-15 13:25 ` Mark Brown [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=20110315132542.GB10848@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmciro.com \
--cc=lrg@slimlogic.co.uk \
--cc=vinod.koul@intel.com \
/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).