aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-07 17:00:30 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-07 17:00:30 +0100
commit5d825e7586814d47f29d3b4324effb36c6acd9ed (patch)
tree6cbbf07badb84f5fa1c2779b39948881cb50c45a /src
parente749bd08958a462f57b8492721a04128468656d0 (diff)
downloaddabmod-5d825e7586814d47f29d3b4324effb36c6acd9ed.tar.gz
dabmod-5d825e7586814d47f29d3b4324effb36c6acd9ed.tar.bz2
dabmod-5d825e7586814d47f29d3b4324effb36c6acd9ed.zip
Fix s16 FormatConverter output
Diffstat (limited to 'src')
-rw-r--r--src/FormatConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FormatConverter.cpp b/src/FormatConverter.cpp
index dcfbcf3..0f86d42 100644
--- a/src/FormatConverter.cpp
+++ b/src/FormatConverter.cpp
@@ -54,7 +54,7 @@ int FormatConverter::process(Buffer* const dataIn, Buffer* dataOut)
if (m_format == "s16") {
dataOut->setLength(sizeIn * sizeof(int16_t));
- uint16_t* out = reinterpret_cast<uint16_t*>(dataOut->getData());
+ int16_t* out = reinterpret_cast<int16_t*>(dataOut->getData());
for (size_t i = 0; i < sizeIn; i++) {
out[i] = in[i];