Skip to content

Commit

Permalink
allow low and high cutoff to be equal
Browse files Browse the repository at this point in the history
  • Loading branch information
phandasm committed Oct 14, 2024
1 parent 95e8ca9 commit 06c3f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ void WAVSource::get_settings(obs_data_t *settings)
else if(m_fft_size & 15)
m_fft_size &= -16; // align to 64-byte multiple so that N/2 is AVX aligned

if((m_cutoff_high - m_cutoff_low) < 1)
if((m_cutoff_high - m_cutoff_low) < 0)
{
m_cutoff_high = 17500;
m_cutoff_low = 120;
Expand Down

0 comments on commit 06c3f7a

Please sign in to comment.