Home
last modified time | relevance | path

Searched refs:eg_state (Results 1 – 25 of 33) sorted by relevance

12

/dports/audio/sidplayer/SIDPlayer-4.4/src/
H A Dsid.cpp198 int eg_state; // Current state of EG member
908 voice[v].eg_state = EG_IDLE; in reset()
1056 switch (v->eg_state) { in calc_sid()
1061 v->eg_state = EG_DECAY; in calc_sid()
1077 v->eg_state = EG_IDLE; in calc_sid()
1604 voice[v].eg_state = EG_ATTACK; in write()
1607 voice[v].eg_state = EG_RELEASE; in write()
1756 voice[0].eg_state = ChunkReadInt8(); in chunk_read()
1789 ChunkWriteInt8(voice[0].eg_state); in chunk_write()
1790 ChunkWriteInt8(voice[1].eg_state); in chunk_write()
[all …]
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/pico/sound/emu2413/
H A Demu2413.c437 switch (slot->eg_state) { in _debug_eg_state_name()
468 switch (slot->eg_state) { in get_parameter_rate()
555 slot->eg_state = RELEASE; in reset_slot()
573 slot->eg_state = DAMP; in slotOn()
581 slot->eg_state = RELEASE; in slotOff()
805 slot->eg_state = DECAY; in start_envelope()
808 slot->eg_state = ATTACK; in start_envelope()
819 if (slot->eg_state == ATTACK) { in calc_envelope()
832 switch (slot->eg_state) { in calc_envelope()
849 slot->eg_state = DECAY; in calc_envelope()
[all …]
H A Demu2413.h45 uint8_t eg_state; /* current state */ member
/dports/emulators/frodo/Frodo-4.1b/Src/
H A DSID.cpp312 int eg_state; // Current state of EG member
870 voice[v].eg_state = EG_IDLE; in Reset()
948 voice[v].eg_state = EG_ATTACK; in WriteRegister()
950 if (voice[v].eg_state != EG_IDLE) in WriteRegister()
951 voice[v].eg_state = EG_RELEASE; in WriteRegister()
1213 switch (v->eg_state) { in calc_buffer()
1218 v->eg_state = EG_DECAY; in calc_buffer()
1234 v->eg_state = EG_IDLE; in calc_buffer()
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/sound/
H A Dym3438.c616 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
657 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
664 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
715 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
725 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
777 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1206 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
H A Dopll.c285 chip->eg_state[i] = eg_num_release; in OPLL_Reset()
619 …if (chip->eg_state[(chip->cycles+16)%18] != eg_num_attack && (chip->eg_off&2) && !(chip->eg_dokon&… in OPLL_EnvelopeGenerate()
628 state = chip->eg_state[(chip->cycles+16)%18]; in OPLL_EnvelopeGenerate()
694 chip->eg_state[(chip->cycles+16)%18] = next_state; in OPLL_EnvelopeGenerate()
744 state_rate = chip->eg_state[chip->cycles]; in OPLL_EnvelopeGenerate()
772 if ((chip->eg_kon&1) && chip->eg_state[chip->cycles] == eg_num_release && !(chip->eg_off&1)) { in OPLL_EnvelopeGenerate()
H A Dopll.h121 uint8_t eg_state[18]; member
H A Dym3438.h121 Bit8u eg_state[24]; member
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/core/sound/
H A Dym3438.c616 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
657 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
664 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
715 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
725 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
777 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1206 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
H A Dopll.c285 chip->eg_state[i] = eg_num_release; in OPLL_Reset()
619 …if (chip->eg_state[(chip->cycles+16)%18] != eg_num_attack && (chip->eg_off&2) && !(chip->eg_dokon&… in OPLL_EnvelopeGenerate()
628 state = chip->eg_state[(chip->cycles+16)%18]; in OPLL_EnvelopeGenerate()
694 chip->eg_state[(chip->cycles+16)%18] = next_state; in OPLL_EnvelopeGenerate()
744 state_rate = chip->eg_state[chip->cycles]; in OPLL_EnvelopeGenerate()
772 if ((chip->eg_kon&1) && chip->eg_state[chip->cycles] == eg_num_release && !(chip->eg_off&1)) { in OPLL_EnvelopeGenerate()
H A Dopll.h121 uint8_t eg_state[18]; member
H A Dym3438.h121 Bit8u eg_state[24]; member
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/nuked/
H A Dym3438.c627 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
668 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
675 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
726 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
736 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
788 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1221 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dym3438.c605 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
646 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
653 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
704 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
714 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
766 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1201 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/game-music-emu/gme/
H A DYm2612_Nuked.cpp126 Bit8u eg_state[24]; member
819 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
860 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
867 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
918 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
928 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
980 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1418 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
/dports/audio/bambootracker/BambooTracker-0.4.5/BambooTracker/chips/nuked/
H A Dym3438.c775 Bit8u nextstate = chip->eg_state[slot]; in OPN2_EnvelopeADSR()
816 else if (chip->eg_state[slot] == eg_num_attack && level != 0 && chip->eg_inc && nkon) in OPN2_EnvelopeADSR()
823 switch (chip->eg_state[slot]) in OPN2_EnvelopeADSR()
874 …if (!kon_event && !chip->eg_ssg_hold_up_latch[slot] && chip->eg_state[slot] != eg_num_attack && eg… in OPN2_EnvelopeADSR()
884 chip->eg_state[slot] = nextstate; in OPN2_EnvelopeADSR()
936 rate_sel = chip->eg_state[slot]; in OPN2_EnvelopePrepare()
1499 chip->eg_state[i] = eg_num_release; in OPN2_Reset()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/opl/
H A Dopl3.h112 Bit8u eg_state; member
H A Dopl3.c417 if (slot->chip->eg_state) in OPL3_EnvelopeCalc()
444 shift = slot->chip->eg_state; in OPL3_EnvelopeCalc()
1148 if (chip->eg_timerrem || chip->eg_state) in OPL3_Generate()
1162 chip->eg_state ^= 1; in OPL3_Generate()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/libs/nuked/
H A Dopl3.h119 uint8_t eg_state; member
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/adlmidi/chips/nuked/
H A Dnukedopl3.h119 Bit8u eg_state; member
H A Dnukedopl3.c420 if (slot->chip->eg_state) in OPL3_EnvelopeCalc()
447 shift = slot->chip->eg_state; in OPL3_EnvelopeCalc()
1151 if (chip->eg_timerrem || chip->eg_state) in OPL3_Generate()
1165 chip->eg_state ^= 1; in OPL3_Generate()
/dports/games/NBlood/NBlood-a1689a4/source/audiolib/include/
H A Dopl3.h122 Bit8u eg_state; member
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/adlmidi/chips/nuked/
H A Dnukedopl3.h129 Bit8u eg_state; member
/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/opl/
H A Dnuked.h118 Bit8u eg_state; member
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/opl/
H A Dnuked.h118 Bit8u eg_state; member

12