Skip to content

Commit

Permalink
fix non-AVX build
Browse files Browse the repository at this point in the history
  • Loading branch information
phandasm committed Sep 3, 2023
1 parent ffd7b5e commit 62e8da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/source.cpp
Expand Up @@ -1321,7 +1321,7 @@ void WAVSource::render_curve([[maybe_unused]] gs_effect_t *effect)
else
apply_interp_filter(m_decibels[channel].get(), sz, m_interp_indices, m_interp_kernel, m_interp_bufs[channel]);
#else
apply_lanczos_filter(m_decibels[channel].get(), sz, m_interp_indices, m_lanczos_kernel, m_interp_bufs[channel]);
apply_interp_filter(m_decibels[channel].get(), sz, m_interp_indices, m_interp_kernel, m_interp_bufs[channel]);
#endif
}
else
Expand Down Expand Up @@ -1452,7 +1452,7 @@ void WAVSource::render_bars([[maybe_unused]] gs_effect_t *effect)
else
apply_interp_filter(m_decibels[channel].get(), m_fft_size / 2, m_band_widths, m_interp_indices, m_interp_kernel, m_interp_bufs[channel]);
#else
apply_lanczos_filter(m_decibels[channel].get(), m_fft_size / 2, m_band_widths, m_interp_indices, m_lanczos_kernel, m_interp_bufs[channel]);
apply_interp_filter(m_decibels[channel].get(), m_fft_size / 2, m_band_widths, m_interp_indices, m_interp_kernel, m_interp_bufs[channel]);
#endif
}
else
Expand Down

0 comments on commit 62e8da4

Please sign in to comment.