Skip to content

Commit

Permalink
FIX(client): Fix floating-point conversion warning on Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaMorphic committed Feb 19, 2024
1 parent eb3570f commit c78c1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/JackAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ void JackAudioOutput::prepareOutputBuffers(unsigned int frameCount, QList< Audio

if (audio->bStereo) {
for (unsigned int i = 0; i < frameCount; i++) {
tempBuffer[i] = (audio->pfBuffer[i * 2] / 2.0 + audio->pfBuffer[i * 2 + 1] / 2.0);
tempBuffer[i] = (audio->pfBuffer[i * 2] / 2.0f + audio->pfBuffer[i * 2 + 1] / 2.0f);
}
} else {
for (unsigned int i = 0; i < frameCount; i++) {
Expand Down

0 comments on commit c78c1b3

Please sign in to comment.