Fix mixer issue with undefined return in callback and non value initialized variables.

This commit is contained in:
acfloria
2017-10-12 12:03:22 +02:00
committed by Lorenz Meier
parent fdc1a2fd39
commit 9d2da611f6
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -590,6 +590,7 @@ bool MixerTest::mixerTest()
static int
mixer_callback(uintptr_t handle, uint8_t control_group, uint8_t control_index, float &control)
{
control = 0.0f;
if (control_group != 0) {
return -1;
}