More old GCC fussiness fixes.

This commit is contained in:
Jared Boone 2016-01-03 16:32:45 -08:00
parent 62ee26e763
commit 3f299c74c6

View File

@ -26,14 +26,14 @@
// scipy.signal.butter(2, 30 / 24000.0, 'highpass', analog=False) // scipy.signal.butter(2, 30 / 24000.0, 'highpass', analog=False)
constexpr iir_biquad_config_t audio_hpf_30hz_config { constexpr iir_biquad_config_t audio_hpf_30hz_config {
{ 0.99722705f, -1.99445410f, 0.99722705f, }, { 0.99722705f, -1.99445410f, 0.99722705f },
{ 1.00000000f, -1.99444641f, 0.99446179f, } { 1.00000000f, -1.99444641f, 0.99446179f }
}; };
// scipy.signal.butter(2, 300 / 24000.0, 'highpass', analog=False) // scipy.signal.butter(2, 300 / 24000.0, 'highpass', analog=False)
constexpr iir_biquad_config_t audio_hpf_300hz_config { constexpr iir_biquad_config_t audio_hpf_300hz_config {
{ 0.97261390f, -1.94522780f, 0.97261390f, }, { 0.97261390f, -1.94522780f, 0.97261390f },
{ 1.00000000f, -1.94447766f, 0.94597794f, } { 1.00000000f, -1.94447766f, 0.94597794f }
}; };
// scipy.signal.iirdesign(wp=8000 / 24000.0, ws= 4000 / 24000.0, gpass=1, gstop=18, ftype='ellip') // scipy.signal.iirdesign(wp=8000 / 24000.0, ws= 4000 / 24000.0, gpass=1, gstop=18, ftype='ellip')
@ -44,16 +44,16 @@ constexpr iir_biquad_config_t non_audio_hpf_config {
// scipy.signal.butter(1, 300 / 24000.0, 'lowpass', analog=False) // scipy.signal.butter(1, 300 / 24000.0, 'lowpass', analog=False)
// NOTE: Technically, order-1 filter, b[2] = a[2] = 0. // NOTE: Technically, order-1 filter, b[2] = a[2] = 0.
constexpr iir_biquad_config_t audio_deemph_300_6_config { constexpr iir_biquad_config_t audio_deemph_300_6_config {
{ 0.01925927f, 0.01925927f, 0.00000000f, }, { 0.01925927f, 0.01925927f, 0.00000000f },
{ 1.00000000f, -0.96148145f, 0.00000000f, }, { 1.00000000f, -0.96148145f, 0.00000000f }
}; };
// 75us RC time constant, used in broadcast FM in Americas, South Korea // 75us RC time constant, used in broadcast FM in Americas, South Korea
// scipy.signal.butter(1, 2122 / 24000.0, 'lowpass', analog=False) // scipy.signal.butter(1, 2122 / 24000.0, 'lowpass', analog=False)
// NOTE: Technically, order-1 filter, b[2] = a[2] = 0. // NOTE: Technically, order-1 filter, b[2] = a[2] = 0.
constexpr iir_biquad_config_t audio_deemph_2122_6_config { constexpr iir_biquad_config_t audio_deemph_2122_6_config {
{ 0.12264116f, 0.12264116f, 0.00000000f, }, { 0.12264116f, 0.12264116f, 0.00000000f },
{ 1.00000000f, -0.75471767f, 0.00000000f, }, { 1.00000000f, -0.75471767f, 0.00000000f }
}; };
#endif/*__DSP_IIR_CONFIG_H__*/ #endif/*__DSP_IIR_CONFIG_H__*/