Home
last modified time | relevance | path

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

/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/opl/
H A Dmame.cpp216 static int *TL_TABLE; variable
677 TL_TABLE = (int *) DS::fastRamAlloc(TL_MAX * 2 * sizeof(int *)); in OPLOpenTable()
682 if ((TL_TABLE = (int *)malloc(TL_MAX * 2 * sizeof(int))) == NULL) in OPLOpenTable()
686 free(TL_TABLE); in OPLOpenTable()
692 free(TL_TABLE); in OPLOpenTable()
698 free(TL_TABLE); in OPLOpenTable()
706 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
707 TL_TABLE[TL_MAX + t] = -TL_TABLE[t]; in OPLOpenTable()
711 TL_TABLE[t] = TL_TABLE[TL_MAX + t] = 0; in OPLOpenTable()
716 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable()
[all …]
/dports/games/residualvm/residualvm-0.3.1/audio/softsynth/opl/
H A Dmame.cpp216 static int *TL_TABLE; variable
677 TL_TABLE = (int *) DS::fastRamAlloc(TL_MAX * 2 * sizeof(int *)); in OPLOpenTable()
682 if ((TL_TABLE = (int *)malloc(TL_MAX * 2 * sizeof(int))) == NULL) in OPLOpenTable()
686 free(TL_TABLE); in OPLOpenTable()
692 free(TL_TABLE); in OPLOpenTable()
698 free(TL_TABLE); in OPLOpenTable()
706 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
707 TL_TABLE[TL_MAX + t] = -TL_TABLE[t]; in OPLOpenTable()
711 TL_TABLE[t] = TL_TABLE[TL_MAX + t] = 0; in OPLOpenTable()
716 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable()
[all …]
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/opl/
H A Dmame.cpp216 static int *TL_TABLE; variable
679 TL_TABLE = (int *) DS::fastRamAlloc(TL_MAX * 2 * sizeof(int *)); in OPLOpenTable()
684 if ((TL_TABLE = (int *)malloc(TL_MAX * 2 * sizeof(int))) == NULL) in OPLOpenTable()
688 free(TL_TABLE); in OPLOpenTable()
694 free(TL_TABLE); in OPLOpenTable()
700 free(TL_TABLE); in OPLOpenTable()
708 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
709 TL_TABLE[TL_MAX + t] = -TL_TABLE[t]; in OPLOpenTable()
713 TL_TABLE[t] = TL_TABLE[TL_MAX + t] = 0; in OPLOpenTable()
718 SIN_TABLE[0] = SIN_TABLE[SIN_ENT /2 ] = &TL_TABLE[EG_ENT - 1]; in OPLOpenTable()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
633 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
634 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
639 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu/qemu-6.2.0/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
634 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
635 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
640 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
634 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
635 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
640 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
633 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
634 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
639 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
634 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
635 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
640 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
633 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
634 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
639 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
634 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
635 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
640 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
633 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
634 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
639 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/audio/
H A Dfmopl.c178 static int32_t *TL_TABLE; variable
610 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(int32_t))) == NULL) in OPLOpenTable()
614 free(TL_TABLE); in OPLOpenTable()
619 free(TL_TABLE); in OPLOpenTable()
625 free(TL_TABLE); in OPLOpenTable()
634 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
635 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
640 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/
H A Dfmopl.c157 static INT32 *TL_TABLE; variable
593 if( (TL_TABLE = (INT32*)malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
597 free(TL_TABLE); in OPLOpenTable()
602 free(TL_TABLE); in OPLOpenTable()
608 free(TL_TABLE); in OPLOpenTable()
616 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
617 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
622 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
H A Dfm.c286 static INT32 *TL_TABLE = 0; variable
955 if (TL_TABLE) in FMInitTable()
961 TL_TABLE = (INT32 *)malloc(2*TL_MAX*sizeof(int)); in FMInitTable()
962 if( TL_TABLE == 0 ) return 0; in FMInitTable()
969 TL_TABLE[ t] = (int)rate; in FMInitTable()
970 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in FMInitTable()
983 SIN_TABLE[ s] = SIN_TABLE[SIN_ENT/2-s] = &TL_TABLE[j]; in FMInitTable()
1023 if( TL_TABLE ) free( TL_TABLE ); in FMCloseTable()
1024 TL_TABLE = 0; in FMCloseTable()
2161 F2608->adpcmTL = &(TL_TABLE[0x3f*(int)(0.75/EG_STEP)]); in YM2608ResetChip()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Engine/Adlib/
H A Dfmopl.cpp184 static INT32 *TL_TABLE; variable
620 if( (TL_TABLE = (INT32 *)malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
624 free(TL_TABLE); in OPLOpenTable()
629 free(TL_TABLE); in OPLOpenTable()
635 free(TL_TABLE); in OPLOpenTable()
643 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
644 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
649 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/adplug/adplug/
H A Dfmopl.c186 static INT32 *TL_TABLE; variable
622 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
626 free(TL_TABLE); in OPLOpenTable()
631 free(TL_TABLE); in OPLOpenTable()
637 free(TL_TABLE); in OPLOpenTable()
645 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
646 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
651 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/nosefart/
H A Dfmopl.c165 static INT32 *TL_TABLE; variable
600 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
604 free(TL_TABLE); in OPLOpenTable()
609 free(TL_TABLE); in OPLOpenTable()
615 free(TL_TABLE); in OPLOpenTable()
623 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
624 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
629 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/audio/libadplug/adplug-adplug-2.3.3/src/
H A Dfmopl.c192 static INT32 *TL_TABLE; variable
628 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
632 free(TL_TABLE); in OPLOpenTable()
637 free(TL_TABLE); in OPLOpenTable()
643 free(TL_TABLE); in OPLOpenTable()
651 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
652 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
657 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]
/dports/audio/lmms/lmms-1.2.2/plugins/opl2/
H A Dfmopl.c184 static INT32 *TL_TABLE; variable
688 if ( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL ) {
692 free(TL_TABLE);
696 free(TL_TABLE);
701 free(TL_TABLE);
709 TL_TABLE[ t] = (int)rate;
710 TL_TABLE[TL_MAX+t] = -TL_TABLE[t];
715 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0;
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];
[all …]
/dports/audio/nosefart/nosefart-1.92f-mls/src/sndhrdw/
H A Dfmopl.c161 static INT32 *TL_TABLE;
609 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL)
613 free(TL_TABLE);
618 free(TL_TABLE);
624 free(TL_TABLE);
632 TL_TABLE[ t] = (int)rate;
633 TL_TABLE[TL_MAX+t] = -TL_TABLE[t];
638 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0;
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];
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/audio/midi_drivers/
H A Dfmopl.cpp174 static int *TL_TABLE; variable
637 TL_TABLE = new int[TL_MAX * 2]; in OPLOpenTable()
645 TL_TABLE[ t] = static_cast<int>(rate); in OPLOpenTable()
646 TL_TABLE[TL_MAX + t] = -TL_TABLE[t]; in OPLOpenTable()
650 TL_TABLE[t] = TL_TABLE[TL_MAX + t] = 0; 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()
669 …SIN_TABLE[SIN_ENT * 3 + s] = (s / (SIN_ENT / 4)) & 1 ? &TL_TABLE[EG_ENT] : SIN_TABLE[SIN_ENT * 2 +… in OPLOpenTable()
[all …]
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/
H A DFmopl.c159 static INT32 *TL_TABLE; variable
570 if( (TL_TABLE = malloc(TL_MAX*2*sizeof(INT32))) == NULL) in OPLOpenTable()
574 free(TL_TABLE); in OPLOpenTable()
579 free(TL_TABLE); in OPLOpenTable()
585 free(TL_TABLE); in OPLOpenTable()
593 TL_TABLE[ t] = (int)rate; in OPLOpenTable()
594 TL_TABLE[TL_MAX+t] = -TL_TABLE[t]; in OPLOpenTable()
598 TL_TABLE[t] = TL_TABLE[TL_MAX+t] = 0; 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()
[all …]