Skip to content

Conversation

@singalsu
Copy link
Collaborator

This patch set consists of two commits

  • The first patch adds the missing 4ch 32bit DAI creation. The DAI was not earlier created due to a mistake in topology.
  • The second patch changes the 16 kHz DMIC FIFO to use 32 bit bit configuration. It improves a lot audio quality when the signal is amplified in volume control. The pipeline scheduling is also changed to default 1000us (48 frames -> 16 frames scheduling). The comments and actual topology config were conflicting.

singalsu added 2 commits May 28, 2019 10:29
This patch restores the missing configuration into macro
intel-generic-dmic.m4. Without this patch the 48 kHz DMIC DAI
is not created. Both DMIC FIFOs are available at any channels
number and PCM format so there is no need to delete a DAI when
4ch configuration is used.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch changes the secondary DMIC FIFO configuration into 32 bits
mode for better quality. Since there is volume component in DMIC
capture pipelines the conversion to other PCM formats can happen
there. Using volume controller with 32 bit input gives a lot better
audio quality when the microphone signal needs amplification.

The scheduling of 16 kHz DAI is changed to 1000us. The comment
of 1000 us is correct but the parameter 48 is not. With 16 frames
the scheduling becomes the desired. This change should also save
some RAM due to smaller buffers.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
Copy link
Collaborator Author

@lgirdwood I guess I need to make this same PR for cml-hda-dmic-001-drop-stable, right?

@jajanusz
Copy link
Contributor

@singalsu no need, just focus on master, if SW side will let us know that they need something for that drop I'll just rebase/cherry-pick

@singalsu
Copy link
Collaborator Author

@jajanusz I just did, I'll close the other PR. Thanks!

@singalsu singalsu requested a review from jajanusz May 28, 2019 08:48
Copy link
Collaborator

@RanderWang RanderWang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it on whiskylake.

@singalsu
Copy link
Collaborator Author

@RanderWang Thanks!

@lgirdwood lgirdwood merged commit d58e733 into thesofproject:master May 29, 2019
@singalsu singalsu deleted the dmic_tplg_updates_4ch_and_32bits branch January 27, 2021 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants