Lines Matching refs:SIN_TABLE
181 static int32_t **SIN_TABLE; variable
612 if( (SIN_TABLE = malloc(SIN_ENT*4 *sizeof(int32_t *))) == NULL) in OPLOpenTable()
620 free(SIN_TABLE); in OPLOpenTable()
626 free(SIN_TABLE); in OPLOpenTable()
645 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable()
652 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable()
654 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; 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()
700 free(SIN_TABLE); in OPLCloseTable()
764 OPL->P_CH[c].SLOT[SLOT1].wavetable = &SIN_TABLE[0]; in OPLWriteReg()
765 OPL->P_CH[c].SLOT[SLOT2].wavetable = &SIN_TABLE[0]; in OPLWriteReg()
945 CH->SLOT[slot&1].wavetable = &SIN_TABLE[(v&0x03)*SIN_ENT]; in OPLWriteReg()
1062 CH->SLOT[s].wavetable = &SIN_TABLE[0]; in OPLResetChip()