summaryrefslogtreecommitdiff
path: root/firmware/pcm_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/pcm_mixer.c')
-rw-r--r--firmware/pcm_mixer.c2
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;
75static struct mixer_channel * active_channels[PCM_MIXER_NUM_CHANNELS+1] IBSS_ATTR; 75static struct mixer_channel * active_channels[PCM_MIXER_NUM_CHANNELS+1] IBSS_ATTR;
76 76
77/* Number of silence frames to play after all data has played */ 77/* Number of silence frames to play after all data has played */
78#define MAX_IDLE_FRAMES (mixer_sampr*3 / mix_frame_size / 4) 78#define MAX_IDLE_FRAMES (mixer_sampr*3 / (mix_frame_size / 4))
79static unsigned int idle_counter = 0; 79static unsigned int idle_counter = 0;
80 80
81/** Mixing routines, CPU optmized **/ 81/** Mixing routines, CPU optmized **/