aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-21 13:47:45 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-21 13:47:45 +0000
commit590323e3411fb0db4e9f75f132a0b74ebe3eb3e3 (patch)
treeb90c7c3828c0eddc9fe4fe29448ca288bcb6fab8 /src
parent89d096fbef7871692746e584bd148af554e867ad (diff)
downloadmpd-590323e3411fb0db4e9f75f132a0b74ebe3eb3e3.tar.gz
mpd-590323e3411fb0db4e9f75f132a0b74ebe3eb3e3.tar.xz
mpd-590323e3411fb0db4e9f75f132a0b74ebe3eb3e3.zip
more faad autoconf checks
git-svn-id: https://svn.musicpd.org/mpd/trunk@342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/mp4_decode.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mp4_decode.c b/src/mp4_decode.c
index cf7fb6137..a2cfc2ee0 100644
--- a/src/mp4_decode.c
+++ b/src/mp4_decode.c
@@ -132,9 +132,12 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
config = faacDecGetCurrentConfiguration(decoder);
config->outputFormat = FAAD_FMT_16BIT;
+#ifdef HAVE_FAACDECCONFIGURATION_DOWNMATRIX
config->downMatrix = 1;
- /*comment this out, its not in faad2 2.0 rc2*/
- /*config->dontUpSampleImplicitSBR = 0;*/
+#endif
+#ifdef HAVE_FAACDECCONFIGURATION_DONTUPSAMPLEIMPLICITSBR
+ config->dontUpSampleImplicitSBR = 0;
+#endif
faacDecSetConfiguration(decoder,config);
af->bits = 16;