Searched refs:AMS_ENT (Results 1 – 1 of 1) sorted by relevance
92 #define AMS_ENT 512 macro617 if( (AMS_TABLE = malloc(AMS_ENT*2 *sizeof(int32_t))) == NULL) in OPLOpenTable()677 for (i=0; i<AMS_ENT; i++) in OPLOpenTable()679 pom = (1.0+sin(2*PI*i/AMS_ENT))/2; /* sin */ in OPLOpenTable()681 AMS_TABLE[AMS_ENT+i] = (4.8/EG_STEP)*pom; /* 4.8dB */ in OPLOpenTable()739 …OPL->amsIncr = OPL->rate ? (double)AMS_ENT*(1<<AMS_SHIFT) / OPL->rate * 3.7 * ((double)OPL->clock/… in OPL_initialize()836 OPL->ams_table = &AMS_TABLE[v&0x80 ? AMS_ENT : 0]; in OPLWriteReg()