All of lore.kernel.org
 help / color / mirror / Atom feed
* How to correct params_format on DPCM ?
@ 2015-04-07  5:05 Kuninori Morimoto
  2015-04-08 18:01 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Kuninori Morimoto @ 2015-04-07  5:05 UTC (permalink / raw)
  To: Mark Brown, Lars-Peter Clausen; +Cc: Linux-ALSA, Simon, Liam Girdwood


Hi Mark, Lars, all

Now, I'm using DPCM based sound, but FE/BE gets different
params format. How to correct it ?
This sound can be used both non-DPCM card / DPCM card

-- non-DPCM card --
 cpu:   rsnd
 codec: ak4642

-- DPCM card --
FE : cpu:   rsnd
     codec: snd-soc-dummy

BE : cpu:   snd-soc-dummy
     codec: ak4642


Here, SNDRV_PCM_FMTBIT_S16_LE is always selected on non-DPCM card.
This is OK.

	rsnd:   SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S16_LE
	ak4642: SNDRV_PCM_FMTBIT_S16_LE

On DPCM card, FE gets S24, BE gets S16 if aplay selects S24 wav.
But, FE needs S16, same as non-DPCM card.
I know we can fixup BE side via dai_link.be_hw_params_fixup,
but this is FE side.

It can't use correct sound playback in corrent DPCM card.
But, how to solve this issue ?? 

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-20  0:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  5:05 How to correct params_format on DPCM ? Kuninori Morimoto
2015-04-08 18:01 ` Mark Brown
2015-04-10  7:12   ` Kuninori Morimoto
2015-04-10 15:43     ` Mark Brown
2015-04-13  0:28       ` Kuninori Morimoto
2015-04-13  4:54         ` Kuninori Morimoto
2015-04-18 12:32           ` Mark Brown
2015-04-20  0:29             ` Kuninori Morimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.