]> git.alsa-project.org Git - alsa-plugins.git/commit
a52: handle the source sample format correctly
authorJaroslav Kysela <perex@perex.cz>
Mon, 14 Jun 2021 14:35:17 +0000 (16:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 16 Jun 2021 06:53:50 +0000 (08:53 +0200)
commitf11e7a8994111f971bc881d4069f768472452f4f
tree1b2a3e5c0a448c8c6e880c7da9d08baa37c172a2
parentc12a6ae73e10673901ff9fc7da236e6f68f74aef
a52: handle the source sample format correctly

The recent a52 encoder in ffmpeg accepts planar S32 (fixed encoder)
or planar float (normal encoder) only. Extend the routines to support
all combinations of 16-bit, 32-bit and float source samples.

BugLink: https://github.com/alsa-project/alsa-plugins/pull/23
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
a52/pcm_a52.c