From e04db53ef5f00ba1d70618f16292602fc57f229d Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 8 Aug 2021 08:38:03 +1000 Subject: [PATCH] Fix a strict C89 error. --- miniaudio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index b6807d52..00a79aa7 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -66985,6 +66985,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer, for (iChannel = 0; iChannel < channelsOut; iChannel += 1) { ma_channel channelOut; float d; + float dMin; channelOut = ma_channel_map_get_channel(pChannelMapOut, channelsOut, iChannel); if (ma_is_spatial_channel_position(channelOut)) { @@ -67005,7 +67006,7 @@ MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer, 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