Lines Matching refs:tab_num
96 unsigned int tab_num; in blo_hs_set_freq() local
101 tab_num = f_round(this->nyquist / ff - 0.5f); in blo_hs_set_freq()
102 if (tab_num >= BLO_N_HARMONICS) { in blo_hs_set_freq()
103 tab_num = BLO_N_HARMONICS - 1; in blo_hs_set_freq()
105 this->table_b = this->tables->h_tables[this->wave][tab_num]; in blo_hs_set_freq()
113 int tab_num; in blo_hd_set_freq() local
117 tab_num = abs(f_round(this->nyquist / ff - 0.5f)); in blo_hd_set_freq()
118 if (tab_num >= BLO_N_HARMONICS) { in blo_hd_set_freq()
119 tab_num = BLO_N_HARMONICS - 1; in blo_hd_set_freq()
120 } else if (tab_num < 0) { in blo_hd_set_freq()
121 tab_num = 0; in blo_hd_set_freq()
123 this->table = this->tables->h_tables[this->wave][tab_num]; in blo_hd_set_freq()
124 this->xfade = this->nyquist / ff - tab_num; in blo_hd_set_freq()
128 if (--tab_num < 0) { in blo_hd_set_freq()
129 tab_num = 0; in blo_hd_set_freq()
131 this->table_b = this->tables->h_tables[this->wave][tab_num]; in blo_hd_set_freq()