Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dfmopl.c71 #define SIN_ENT 2048 macro
441 #define OP_OUT(slot,env,con) slot->wavetable[((slot->Cnt+con)/(0x1000000/SIN_ENT))&(SIN_ENT-1)][e…
612 if( (SIN_TABLE = malloc(SIN_ENT*4 *sizeof(int32_t *))) == NULL) in OPLOpenTable()
646 for (s = 1;s <= SIN_ENT/4;s++){ in OPLOpenTable()
647 pom = sin(2*PI*s/SIN_ENT); /* sin */ in OPLOpenTable()
654 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable()
657 for (s = 0;s < SIN_ENT;s++) in OPLOpenTable()
659 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable()
660 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable()
661 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable()
[all …]