From 0df216d366edc9b660e663e78fa1abd373a690bb Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 6 Feb 2010 15:38:53 +0100 Subject: [PATCH] Added float 32/64 (non native) support to aout_BitsPerSample. --- src/audio_output/common.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audio_output/common.c b/src/audio_output/common.c index cd0bf82ae7..34650f2b5e 100644 --- a/src/audio_output/common.c +++ b/src/audio_output/common.c @@ -220,11 +220,13 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format ) case VLC_CODEC_S32L: case VLC_CODEC_S32B: - case VLC_CODEC_FL32: + case VLC_CODEC_F32L: + case VLC_CODEC_F32B: case VLC_CODEC_FI32: return 32; - case VLC_CODEC_FL64: + case VLC_CODEC_F64L: + case VLC_CODEC_F64B: return 64; default: -- 2.39.5