Explorar el Código

fix filter bug

LTVA1 hace 3 años
padre
commit
45ae2671ad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      sound_engine/sound_engine.c

+ 1 - 1
sound_engine/sound_engine.c

@@ -99,7 +99,7 @@ void sound_engine_fill_buffer(SoundEngine* sound_engine, uint16_t* audio_buffer,
 				
 				if(channel->flags & SE_ENABLE_FILTER)
 				{
-					sound_engine_filter_cycle(&channel->filter, channel_output[i]);
+					sound_engine_filter_cycle(&channel->filter, channel_output_final[chan]);
 
 					switch(channel->filter_mode)
 					{