[alsa-devel] codec power question

Koul, Vinod vinod.koul at intel.com
Tue Mar 15 13:27:27 CET 2011

On Tue, 2011-03-15 at 17:00 +0530, Mark Brown wrote:
> On Tue, Mar 15, 2011 at 03:10:23PM +0530, Koul, Vinod wrote:
> > In some cases the audio stream is kept ON and idle by application. In
> > that case codec is also ON. Is there a mechanism where DAPM can detect
> > this idle condition and turn off the idle widgets or turn of the codec
> > BIAS
> If this is happening it's a framework bug - if there are no active audio
> streams through the device then it should be brought down to the lowest
> power state.  The application doesn't have any direct control over the
> CODEC power except by configuring audio streams.  Can you provide any
> more details on how this happens?
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.


More information about the Alsa-devel mailing list