Commit ec14c62a authored by David Reid's avatar David Reid

Silence a warning with GCC.

parent 064c1abf
...@@ -49002,15 +49002,19 @@ static ma_result ma_channel_map_apply_mono_in_f32(float* pFramesOut, const ma_ch ...@@ -49002,15 +49002,19 @@ static ma_result ma_channel_map_apply_mono_in_f32(float* pFramesOut, const ma_ch
break; /* Get out of the switch. */ break; /* Get out of the switch. */
} else { } else {
/* Does not have left and right channels. */ /* Fallthrough. Does not have left and right channels. */
goto default_handler;
} }
} else { } else {
/* Does not have stereo channels. */ /* Fallthrough. Does not have stereo channels. */
goto default_handler;
} }
}; /* Fallthrough. See comments above. */ }; /* Fallthrough. See comments above. */
case ma_mono_expansion_mode_duplicate: case ma_mono_expansion_mode_duplicate:
default: default:
{
default_handler:
{ {
for (iFrame = 0; iFrame < frameCount; iFrame += 1) { for (iFrame = 0; iFrame < frameCount; iFrame += 1) {
for (iChannelOut = 0; iChannelOut < channelsOut; iChannelOut += 1) { for (iChannelOut = 0; iChannelOut < channelsOut; iChannelOut += 1) {
...@@ -49023,6 +49027,7 @@ static ma_result ma_channel_map_apply_mono_in_f32(float* pFramesOut, const ma_ch ...@@ -49023,6 +49027,7 @@ static ma_result ma_channel_map_apply_mono_in_f32(float* pFramesOut, const ma_ch
pFramesOut += channelsOut; pFramesOut += channelsOut;
pFramesIn += 1; pFramesIn += 1;
} }
}
} break; } break;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment