mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
2d7c65efbb
commit
08bde698ca
|
@ -501,7 +501,7 @@ bool Audio::tryCaptureSamples(int16_t* buf, int samples)
|
|||
|
||||
if (inputVolume != 1)
|
||||
{
|
||||
for (int i = 0; i < samples; ++i)
|
||||
for (size_t i = 0; i < samples * AUDIO_CHANNELS; ++i)
|
||||
{
|
||||
int sample = buf[i] * pow(inputVolume, 2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user