Searched refs:modn_period (Results 1 – 2 of 2) sorted by relevance
686 int modn_amp = 1, modn_period; in Wavegen() local778 modn_period = 0; in Wavegen()780 modn_period = modulation_tab[voice->roughness][modulation_type]; in Wavegen()781 modn_amp = modn_period & 0xf; in Wavegen()782 modn_period = modn_period >> 4; in Wavegen()785 if (modn_period != 0) { in Wavegen()786 if (modn_period == 0xf) { in Wavegen()792 if ((cycle_count % modn_period) == 0) in Wavegen()
1184 int modn_amp, modn_period; in Wavegen() local1302 modn_period = 0; in Wavegen()1305 modn_period = modulation_tab[voice->roughness][modulation_type]; in Wavegen()1306 modn_amp = modn_period & 0xf; in Wavegen()1307 modn_period = modn_period >> 4; in Wavegen()1310 if(modn_period != 0) in Wavegen()1312 if(modn_period==0xf) in Wavegen()1321 if((cycle_count % modn_period)==0) in Wavegen()