aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_normalize.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
commitd664baff2699842f2182968f5c26dbf63babdeff (patch)
tree387920b40478228d7c0ba0574c2415dd3ee91a8c /test/run_normalize.cxx
parent3275d4c6fa40c66c410bd279f3571ba36f95c4d6 (diff)
downloadmpd-d664baff2699842f2182968f5c26dbf63babdeff.tar.gz
mpd-d664baff2699842f2182968f5c26dbf63babdeff.tar.xz
mpd-d664baff2699842f2182968f5c26dbf63babdeff.zip
audio_{parser,config}: convert to C++
Diffstat (limited to '')
-rw-r--r--test/run_normalize.cxx (renamed from test/run_normalize.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_normalize.c b/test/run_normalize.cxx
index fc26829ed..070dbaf5a 100644
--- a/test/run_normalize.c
+++ b/test/run_normalize.cxx
@@ -25,7 +25,7 @@
#include "config.h"
#include "AudioCompress/compress.h"
-#include "audio_parser.h"
+#include "AudioParser.hxx"
#include "audio_format.h"
#include "stdbin.h"
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
return 1;
}
} else
- audio_format_init(&audio_format, 48000, 16, 2);
+ audio_format_init(&audio_format, 48000, SAMPLE_FORMAT_S16, 2);
compressor = Compressor_new(0);