mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(audio/dsp_filter.c/audio/sinc.c) Remove more extraneous elses
This commit is contained in:
parent
228569c8f8
commit
b1871b54c3
@ -158,11 +158,9 @@ static int get_string(void *userdata, const char *key_str,
|
||||
*output = str;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
*output = strdup(default_output);
|
||||
return false;
|
||||
}
|
||||
|
||||
*output = strdup(default_output);
|
||||
return false;
|
||||
}
|
||||
|
||||
static void dspfilter_free(void *ptr)
|
||||
|
@ -123,8 +123,7 @@ static inline double sinc(double val)
|
||||
{
|
||||
if (fabs(val) < 0.00001)
|
||||
return 1.0;
|
||||
else
|
||||
return sin(val) / val;
|
||||
return sin(val) / val;
|
||||
}
|
||||
|
||||
#if defined(SINC_WINDOW_LANCZOS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user