And made the filters / volume control now actually apply.

This commit is contained in:
OBattler
2020-10-19 02:32:28 +02:00
parent 9e15cb034f
commit 06e8b7220c

View File

@@ -386,7 +386,7 @@ sound_add_handler(void (*get_buffer)(int32_t *buffer, int len, void *p), void *p
void
sound_set_cd_audio_filter(void (*filter)(int channel, float *buffer, void *p), void *p)
{
if ((filter_cd_audio != NULL) || (filter == NULL)) {
if ((filter_cd_audio == NULL) || (filter == NULL)) {
filter_cd_audio = filter;
filter_cd_audio_p = p;
}