Home
last modified time | relevance | path

Searched refs:Cnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/audio/
H A Dfmopl.c289 SLOT->Cnt = 0; in OPL_KEYON()
441 #define OP_OUT(slot,env,con) slot->wavetable[((slot->Cnt+con)/(0x1000000/SIN_ENT))&(SIN_ENT-1)][e…
455 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_CH()
456 else SLOT->Cnt += SLOT->Incr; in OPL_CALC_CH()
479 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_CH()
480 else SLOT->Cnt += SLOT->Incr; in OPL_CALC_CH()
505 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_RH()
506 else SLOT->Cnt += SLOT->Incr; in OPL_CALC_RH()
530 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_RH()
531 else SLOT->Cnt += SLOT->Incr; in OPL_CALC_RH()
[all …]
H A Dfmopl.h22 uint32_t Cnt; /* frequency count : */ member