mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:36:47 +02:00
Wrong byte array size in audio client
This commit is contained in:
parent
b0fd28beeb
commit
7121126e6f
1 changed files with 1 additions and 1 deletions
|
@ -812,7 +812,7 @@ void AudioClient::handleAudioInput() {
|
||||||
}
|
}
|
||||||
|
|
||||||
emit inputReceived(QByteArray(reinterpret_cast<const char*>(networkAudioSamples),
|
emit inputReceived(QByteArray(reinterpret_cast<const char*>(networkAudioSamples),
|
||||||
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL));
|
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL * sizeof(AudioConstants::AudioSample)));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// our input loudness is 0, since we're muted
|
// our input loudness is 0, since we're muted
|
||||||
|
|
Loading…
Reference in a new issue