[alsa-devel] Question about soc-utils

Mark Brown broonie at kernel.org
Tue Dec 5 13:39:24 CET 2017


On Tue, Dec 05, 2017 at 08:01:07AM +0000, Kuninori Morimoto wrote:

> But, soc-utils::snd_soc_params_to_frame_size()
> is using snd_pcm_format_width() instead of snd_pcm_format_physical_width(),
> In "2ch x 24bit data with 32bit width" case, above "frame_bits" will be "64",
> but, below "frame size" will be "48", I think.
> Am I wrong ?

That's just an oversight, it should be using the sample size.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171205/08a2074f/attachment.sig>


More information about the Alsa-devel mailing list