[vlc-commits] alsa: fix double precision codec mapping
Rémi Denis-Courmont
git at videolan.org
Thu Jan 24 17:31:42 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 24 18:31:13 2019 +0200| [8943c7cad705fa7e34fdfa2b4c745d06451dba43] | committer: Rémi Denis-Courmont
alsa: fix double precision codec mapping
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8943c7cad705fa7e34fdfa2b4c745d06451dba43
---
modules/access/alsa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/alsa.c b/modules/access/alsa.c
index 978d0475ad..a92cf3e2c0 100644
--- a/modules/access/alsa.c
+++ b/modules/access/alsa.c
@@ -284,8 +284,8 @@ static const vlc_fourcc_t formats[] = {
[SND_PCM_FORMAT_U32_BE] = VLC_CODEC_U32B,
[SND_PCM_FORMAT_FLOAT_LE] = VLC_CODEC_F32L,
[SND_PCM_FORMAT_FLOAT_BE] = VLC_CODEC_F32B,
- [SND_PCM_FORMAT_FLOAT64_LE] = VLC_CODEC_F32L,
- [SND_PCM_FORMAT_FLOAT64_BE] = VLC_CODEC_F32B,
+ [SND_PCM_FORMAT_FLOAT64_LE] = VLC_CODEC_F64L,
+ [SND_PCM_FORMAT_FLOAT64_BE] = VLC_CODEC_F64B,
//[SND_PCM_FORMAT_IEC958_SUBFRAME_LE] = VLC_CODEC_SPDIFL,
//[SND_PCM_FORMAT_IEC958_SUBFRAME_BE] = VLC_CODEC_SPDIFB,
[SND_PCM_FORMAT_MU_LAW] = VLC_CODEC_MULAW,
More information about the vlc-commits
mailing list