3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 09:35:31 +02:00

Wrong byte array size in audio client

This commit is contained in:
Atlante45 2015-03-17 16:17:31 +01:00
parent b0fd28beeb
commit 7121126e6f

View file

@ -812,7 +812,7 @@ void AudioClient::handleAudioInput() {
}
emit inputReceived(QByteArray(reinterpret_cast<const char*>(networkAudioSamples),
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL));
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL * sizeof(AudioConstants::AudioSample)));
} else {
// our input loudness is 0, since we're muted