low-pass filter now has 22050Hz cutoff
Might not apply to the fm standards, but since you are not supposed to use it publicly, it doesn't matter
This commit is contained in:
parent
3629b9ec46
commit
e0cc4fe10a
|
|
@ -134,8 +134,8 @@ int fm_mpx_open(char *filename, size_t len) {
|
|||
|
||||
|
||||
// Create the low-pass FIR filter
|
||||
float cutoff_freq = 15000 * .8;
|
||||
if(in_samplerate/2 < cutoff_freq) cutoff_freq = in_samplerate/2 * .8;
|
||||
float cutoff_freq = 22050;
|
||||
if(in_samplerate/2 < cutoff_freq) cutoff_freq = in_samplerate/2;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue