[alsa-devel] [RFC 05/15] ASoC: rt5677: Auto enable/disable DSP for hotwording

Curtis Malainey cujomalainey at google.com
Wed Sep 11 22:22:20 CEST 2019


On Wed, Sep 11, 2019 at 3:25 AM Mark Brown <broonie at kernel.org> wrote:
>
> On Fri, Sep 06, 2019 at 12:46:27PM -0700, Curtis Malainey wrote:
> > From: Ben Zhang <benzh at chromium.org>
> >
> > The kcontrol 'DSP VAD Switch' is automatically enabled/disabled
> > when the hotwording PCM stream is opened/closed.
>
> So why do we have the switch?

The source of the switch is commit af48f1d08a547 ("ASoC: rt5677:
Support DSP function for VAD application") and does not explain the
original intent of the switch. I believe the original intent of this
commit is to keep the switch in sync with the VAD state. I do not
believe we use the switch ourselves.


More information about the Alsa-devel mailing list