diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FormatConverter.cpp | 2 |
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]; |