diff --git a/src/blacksound/soundgenerator.cpp b/src/blacksound/soundgenerator.cpp index b7de851a5..a5a457814 100644 --- a/src/blacksound/soundgenerator.cpp +++ b/src/blacksound/soundgenerator.cpp @@ -250,7 +250,7 @@ namespace BlackSound else if (this->m_audioFormat.sampleSize() == 8 && this->m_audioFormat.sampleType() == QAudioFormat::SignedInt) { const qint8 value = static_cast(amplitude * 127); - *reinterpret_cast(bufferPointer) = value; + *reinterpret_cast(bufferPointer) = value; } else if (this->m_audioFormat.sampleSize() == 16 && this->m_audioFormat.sampleType() == QAudioFormat::UnSignedInt) {