/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/opl/ |
H A D | mame.cpp | 219 static int **SIN_TABLE; variable 693 free(SIN_TABLE); in OPLOpenTable() 699 free(SIN_TABLE); in OPLOpenTable() 716 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable() 723 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT / 2 - s] = &TL_TABLE[j]; in OPLOpenTable() 725 SIN_TABLE[SIN_ENT / 2 + s] = SIN_TABLE[SIN_ENT - s] = &TL_TABLE[TL_MAX + j]; in OPLOpenTable() 728 SIN_TABLE[SIN_ENT * 1 + s] = s < (SIN_ENT / 2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 729 SIN_TABLE[SIN_ENT * 2 + s] = SIN_TABLE[s % (SIN_ENT / 2)]; in OPLOpenTable() 730 …SIN_TABLE[SIN_ENT * 3 + s] = (s / (SIN_ENT / 4)) & 1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT * 2 +… in OPLOpenTable() 768 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/games/residualvm/residualvm-0.3.1/audio/softsynth/opl/ |
H A D | mame.cpp | 219 static int **SIN_TABLE; variable 693 free(SIN_TABLE); in OPLOpenTable() 699 free(SIN_TABLE); in OPLOpenTable() 716 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable() 723 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT / 2 - s] = &TL_TABLE[j]; in OPLOpenTable() 725 SIN_TABLE[SIN_ENT / 2 + s] = SIN_TABLE[SIN_ENT - s] = &TL_TABLE[TL_MAX + j]; in OPLOpenTable() 728 SIN_TABLE[SIN_ENT * 1 + s] = s < (SIN_ENT / 2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 729 SIN_TABLE[SIN_ENT * 2 + s] = SIN_TABLE[s % (SIN_ENT / 2)]; in OPLOpenTable() 730 …SIN_TABLE[SIN_ENT * 3 + s] = (s / (SIN_ENT / 4)) & 1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT * 2 +… in OPLOpenTable() 768 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/opl/ |
H A D | mame.cpp | 219 static int **SIN_TABLE; variable 695 free(SIN_TABLE); in OPLOpenTable() 701 free(SIN_TABLE); in OPLOpenTable() 718 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable() 725 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT / 2 - s] = &TL_TABLE[j]; in OPLOpenTable() 727 SIN_TABLE[SIN_ENT / 2 + s] = SIN_TABLE[SIN_ENT - s] = &TL_TABLE[TL_MAX + j]; in OPLOpenTable() 730 SIN_TABLE[SIN_ENT * 1 + s] = s < (SIN_ENT / 2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 731 SIN_TABLE[SIN_ENT * 2 + s] = SIN_TABLE[s % (SIN_ENT / 2)]; in OPLOpenTable() 732 …SIN_TABLE[SIN_ENT * 3 + s] = (s / (SIN_ENT / 4)) & 1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT * 2 +… in OPLOpenTable() 770 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 620 free(SIN_TABLE); in OPLOpenTable() 626 free(SIN_TABLE); in OPLOpenTable() 644 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 651 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 653 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 658 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 659 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 660 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 698 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 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() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 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() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 620 free(SIN_TABLE); in OPLOpenTable() 626 free(SIN_TABLE); in OPLOpenTable() 644 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 651 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 653 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 658 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 659 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 660 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 698 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 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() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 620 free(SIN_TABLE); in OPLOpenTable() 626 free(SIN_TABLE); in OPLOpenTable() 644 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 651 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 653 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 658 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 659 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 660 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 698 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 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() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 620 free(SIN_TABLE); in OPLOpenTable() 626 free(SIN_TABLE); in OPLOpenTable() 644 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 651 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 653 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 658 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 659 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 660 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 698 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/audio/ |
H A D | fmopl.c | 181 static int32_t **SIN_TABLE; variable 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() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/ |
H A D | fmopl.c | 160 static INT32 **SIN_TABLE; variable 603 free(SIN_TABLE); in OPLOpenTable() 609 free(SIN_TABLE); in OPLOpenTable() 627 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 634 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 636 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 641 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 642 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 643 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 681 free(SIN_TABLE); in OPLCloseTable() [all …]
|
H A D | fm.c | 289 static INT32 *SIN_TABLE[SIN_ENT]; variable 767 #define OP_OUT(PG,EG) SIN_TABLE[(PG>>13)&0x7ff][EG] 983 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in FMInitTable() 985 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in FMInitTable() 989 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[PG_CUT_OFF]; in FMInitTable()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/audio/midi_drivers/ |
H A D | fmopl.cpp | 177 static int **SIN_TABLE; variable 638 SIN_TABLE = new int *[SIN_ENT * 4]; in OPLOpenTable() 655 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable() 662 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT / 2 - s] = &TL_TABLE[j]; in OPLOpenTable() 664 SIN_TABLE[SIN_ENT / 2 + s] = SIN_TABLE[SIN_ENT - s] = &TL_TABLE[TL_MAX + j]; in OPLOpenTable() 667 SIN_TABLE[SIN_ENT * 1 + s] = s < (SIN_ENT / 2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 668 SIN_TABLE[SIN_ENT * 2 + s] = SIN_TABLE[s % (SIN_ENT / 2)]; in OPLOpenTable() 669 …SIN_TABLE[SIN_ENT * 3 + s] = (s / (SIN_ENT / 4)) & 1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT * 2 +… in OPLOpenTable() 701 delete [] SIN_TABLE; in OPLCloseTable() 759 OPL->P_CH[c].SLOT[SLOT1].wavetable = &SIN_TABLE[0]; in OPLWriteReg() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Engine/Adlib/ |
H A D | fmopl.cpp | 187 static INT32 **SIN_TABLE; variable 630 free(SIN_TABLE); in OPLOpenTable() 636 free(SIN_TABLE); in OPLOpenTable() 654 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 661 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 663 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 668 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 669 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 670 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 708 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/adplug/adplug/ |
H A D | fmopl.c | 189 static INT32 **SIN_TABLE; variable 632 free(SIN_TABLE); in OPLOpenTable() 638 free(SIN_TABLE); in OPLOpenTable() 656 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 663 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 665 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 670 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 671 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 672 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 710 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/nosefart/ |
H A D | fmopl.c | 168 static INT32 **SIN_TABLE; variable 610 free(SIN_TABLE); in OPLOpenTable() 616 free(SIN_TABLE); in OPLOpenTable() 634 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 641 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 643 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 648 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 649 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 650 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 688 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/audio/libadplug/adplug-adplug-2.3.3/src/ |
H A D | fmopl.c | 195 static INT32 **SIN_TABLE; variable 638 free(SIN_TABLE); in OPLOpenTable() 644 free(SIN_TABLE); in OPLOpenTable() 662 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 669 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 671 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 676 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 677 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 678 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() 716 free(SIN_TABLE); in OPLCloseTable() [all …]
|
/dports/audio/lmms/lmms-1.2.2/plugins/opl2/ |
H A D | fmopl.c | 187 static INT32 **SIN_TABLE; variable 697 free(SIN_TABLE); 702 free(SIN_TABLE); 720 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; 727 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; 729 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; 733 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; 734 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; 735 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; 769 free(SIN_TABLE); [all …]
|
/dports/audio/nosefart/nosefart-1.92f-mls/src/sndhrdw/ |
H A D | fmopl.c | 164 static INT32 **SIN_TABLE; 619 free(SIN_TABLE); 625 free(SIN_TABLE); 643 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; 650 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; 652 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; 657 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; 658 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; 659 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; 697 free(SIN_TABLE); [all …]
|
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/ |
H A D | Fmopl.c | 162 static INT32 **SIN_TABLE; variable 572 if( (SIN_TABLE = malloc(SIN_ENT*4 *sizeof(INT32 *))) == NULL) in OPLOpenTable() 580 free(SIN_TABLE); in OPLOpenTable() 586 free(SIN_TABLE); in OPLOpenTable() 603 SIN_TABLE[0] = SIN_TABLE[SIN_ENT/2] = &TL_TABLE[EG_ENT-1]; in OPLOpenTable() 610 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in OPLOpenTable() 612 SIN_TABLE[SIN_ENT/2+s] = SIN_TABLE[SIN_ENT -s] = &TL_TABLE[TL_MAX+j]; in OPLOpenTable() 616 SIN_TABLE[SIN_ENT*1+s] = s<(SIN_ENT/2) ? SIN_TABLE[s] : &TL_TABLE[EG_ENT]; in OPLOpenTable() 617 SIN_TABLE[SIN_ENT*2+s] = SIN_TABLE[s % (SIN_ENT/2)]; in OPLOpenTable() 618 SIN_TABLE[SIN_ENT*3+s] = (s/(SIN_ENT/4))&1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT*2+s]; in OPLOpenTable() [all …]
|
/dports/deskutils/coolreader/coolreader-cr3.2.55/android/src/org/coolreader/crengine/ |
H A D | ReaderView.java | 4291 private static int[] SIN_TABLE = new int[SIN_TABLE_SIZE + 1]; field in ReaderView 4318 SIN_TABLE[i] = s; 4510 …int dst0 = SIN_TABLE[distortanglestart * SIN_TABLE_SIZE / PI_DIV_2] * maxdistortdx / SIN_TABLE_SCA… in drawDistorted() 4518 …int dst1 = SIN_TABLE[startangle * SIN_TABLE_SIZE / PI_DIV_2] * maxdistortdx / SIN_TABLE_SCALE - ds… in drawDistorted() 4519 …int dst2 = SIN_TABLE[endangle * SIN_TABLE_SIZE / PI_DIV_2] * maxdistortdx / SIN_TABLE_SCALE - dst0; in drawDistorted()
|