瀏覽代碼

Merge pull request #373 from grahamwhaley/20201229_5k_hishelf

sg5k: calcBiquad: add missing break; for hishelf
dds
Paul Stoffregen 3 年之前
父節點
當前提交
d37974663b
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      control_sgtl5000.cpp

+ 1
- 0
control_sgtl5000.cpp 查看文件

@@ -1049,6 +1049,7 @@ void calcBiquad(uint8_t filtertype, float fC, float dB_Gain, float Q, uint32_t q
a0 = (A+1.0F) - ((A-1.0F)*cosw) + (beta*sinw);
a1 = -2.0F * ((A-1.0F) - ((A+1.0F)*cosw));
a2 = -((A+1.0F) - ((A-1.0F)*cosw) - (beta*sinw));
break;
default:
b0 = 0.5;
b1 = 0.0;

Loading…
取消
儲存