diff options
-rw-r--r-- | firmware/pcm_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/pcm_mixer.c b/firmware/pcm_mixer.c index 9467dc4c59..192132b841 100644 --- a/firmware/pcm_mixer.c +++ b/firmware/pcm_mixer.c @@ -75,7 +75,7 @@ static struct mixer_channel channels[PCM_MIXER_NUM_CHANNELS] IBSS_ATTR; static struct mixer_channel * active_channels[PCM_MIXER_NUM_CHANNELS+1] IBSS_ATTR; /* Number of silence frames to play after all data has played */ -#define MAX_IDLE_FRAMES (mixer_sampr*3 / mix_frame_size / 4) +#define MAX_IDLE_FRAMES (mixer_sampr*3 / (mix_frame_size / 4)) static unsigned int idle_counter = 0; /** Mixing routines, CPU optmized **/ |