(drivers_resampler) Style indent cleanups
This commit is contained in:
parent
60cdd730b1
commit
ea4f85d860
|
@ -143,7 +143,6 @@ static void init_sinc_table(rarch_sinc_resampler_t *resamp, double cutoff,
|
|||
double window_phase = (double)n / (phases * taps); /* [0, 1). */
|
||||
window_phase = 2.0 * window_phase - 1.0; /* [-1, 1) */
|
||||
sinc_phase = sidelobes * window_phase;
|
||||
|
||||
val = cutoff * sinc(M_PI * sinc_phase * cutoff) *
|
||||
window_function(window_phase) / window_mod;
|
||||
phase_table[i * stride * taps + j] = val;
|
||||
|
@ -416,8 +415,8 @@ static void resampler_sinc_free(void *re)
|
|||
static void *resampler_sinc_new(const struct resampler_config *config,
|
||||
double bandwidth_mod, resampler_simd_mask_t mask)
|
||||
{
|
||||
size_t phase_elems, elems;
|
||||
double cutoff;
|
||||
size_t phase_elems, elems;
|
||||
rarch_sinc_resampler_t *re = (rarch_sinc_resampler_t*)
|
||||
calloc(1, sizeof(*re));
|
||||
|
||||
|
|
Loading…
Reference in New Issue