From 807c98a37dcdb65557847cd79e657bfe29c12698 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 12 Nov 2014 23:49:13 +0300 Subject: [PATCH] resampler: Fix sample_format_more_precise() for the case of comparing against PA_SAMPLE_S32BE Signed-off-by: Peter Meerwald --- src/pulsecore/resampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 8b30c244c..183d05f64 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -234,7 +234,7 @@ static bool sample_format_more_precise(pa_sample_format_t a, pa_sample_format_t case PA_SAMPLE_S32LE: case PA_SAMPLE_S32BE: if (b == PA_SAMPLE_FLOAT32LE || b == PA_SAMPLE_FLOAT32BE || - b == PA_SAMPLE_S32LE || b == PA_SAMPLE_FLOAT32BE) + b == PA_SAMPLE_S32LE || b == PA_SAMPLE_S32BE) return false; else return true; -- 2.34.1