Commit e04db53e authored by David Reid's avatar David Reid

Fix a strict C89 error.

parent 510519fe
...@@ -66985,6 +66985,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer, ...@@ -66985,6 +66985,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer,
for (iChannel = 0; iChannel < channelsOut; iChannel += 1) { for (iChannel = 0; iChannel < channelsOut; iChannel += 1) {
ma_channel channelOut; ma_channel channelOut;
float d; float d;
float dMin;
channelOut = ma_channel_map_get_channel(pChannelMapOut, channelsOut, iChannel); channelOut = ma_channel_map_get_channel(pChannelMapOut, channelsOut, iChannel);
if (ma_is_spatial_channel_position(channelOut)) { if (ma_is_spatial_channel_position(channelOut)) {
...@@ -67005,7 +67006,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer, ...@@ -67005,7 +67006,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer,
Summary: 0 = more extreme panning; 1 = no panning. Summary: 0 = more extreme panning; 1 = no panning.
*/ */
float dMin = 0.2f; /* TODO: Consider making this configurable. */ dMin = 0.2f; /* TODO: Consider making this configurable. */
/* /*
At this point, "d" will be positive if the sound is on the same side as the channel and negative if At this point, "d" will be positive if the sound is on the same side as the channel and negative if
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