projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7d78b
)
resampler: Fix sample_format_more_precise() for the case of comparing against PA_SAMP...
author
Andrey Semashev
<andrey.semashev@gmail.com>
Wed, 12 Nov 2014 20:49:13 +0000
(23:49 +0300)
committer
Peter Meerwald
<pmeerw@pmeerw.net>
Wed, 12 Nov 2014 22:17:08 +0000
(23:17 +0100)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
src/pulsecore/resampler.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/resampler.c
b/src/pulsecore/resampler.c
index 8b30c244c7691d1e9f83fa555b197142221436b5..183d05f64085aa68976ea0a8406feb37960e7145 100644
(file)
--- 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_
FLOAT
32BE)
+ b == PA_SAMPLE_S32LE || b == PA_SAMPLE_
S
32BE)
return false;
else
return true;