/dports/emulators/mess/mame-mame0226/src/devices/sound/ |
H A D | rf5c400.cpp | 154 chan.env_step = 0.0; in device_start() 208 double env_level, env_step, env_rstep; in sound_stream_update() local 230 env_step = channel->env_step; in sound_stream_update() 231 env_rstep = env_step * channel->env_scale; in sound_stream_update() 272 env_step = 0.0; in sound_stream_update() 276 env_step = m_env_tables.dr(*channel); in sound_stream_update() 286 env_step = 0.0; in sound_stream_update() 295 env_step = 0.0; in sound_stream_update() 318 channel->env_step = env_step; in sound_stream_update() 407 m_channels[ch].env_step = 0.0; in rf5c400_w() [all …]
|
H A D | ymf278b.cpp | 129 switch (slot->env_step) in compute_envelope() 144 slot->env_step++; in compute_envelope() 172 slot->env_step++; in compute_envelope() 307 slot->env_step++; in sound_stream_update() 310 else if (slot->preverb && !slot->env_preverb && slot->env_step && slot->env_vol > ((6*8)<<23)) in sound_stream_update() 470 slot->env_step = 0; in retrigger_note() 528 slot->env_step = 5; in C_w() 597 slot->env_step = 4; in C_w() 850 slot->env_step = 5; in device_reset() 981 save_item(NAME(m_slots[i].env_step), i); in register_save_state()
|
/dports/emulators/mame/mame-mame0226/src/devices/sound/ |
H A D | rf5c400.cpp | 154 chan.env_step = 0.0; in device_start() 208 double env_level, env_step, env_rstep; in sound_stream_update() local 230 env_step = channel->env_step; in sound_stream_update() 231 env_rstep = env_step * channel->env_scale; in sound_stream_update() 272 env_step = 0.0; in sound_stream_update() 276 env_step = m_env_tables.dr(*channel); in sound_stream_update() 286 env_step = 0.0; in sound_stream_update() 295 env_step = 0.0; in sound_stream_update() 318 channel->env_step = env_step; in sound_stream_update() 407 m_channels[ch].env_step = 0.0; in rf5c400_w() [all …]
|
H A D | ymf278b.cpp | 129 switch (slot->env_step) in compute_envelope() 144 slot->env_step++; in compute_envelope() 172 slot->env_step++; in compute_envelope() 307 slot->env_step++; in sound_stream_update() 310 else if (slot->preverb && !slot->env_preverb && slot->env_step && slot->env_vol > ((6*8)<<23)) in sound_stream_update() 470 slot->env_step = 0; in retrigger_note() 528 slot->env_step = 5; in C_w() 597 slot->env_step = 4; in C_w() 850 slot->env_step = 5; in device_reset() 981 save_item(NAME(m_slots[i].env_step), i); in register_save_state()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/ |
H A D | ymf278b.c | 64 int env_step; member 144 if(slot->env_step == 0) in ymf278b_envelope_next() 152 slot->env_step++; in ymf278b_envelope_next() 154 if(slot->env_step == 1) in ymf278b_envelope_next() 158 slot->env_step++; in ymf278b_envelope_next() 173 if(slot->env_step == 2) in ymf278b_envelope_next() 185 slot->env_step++; in ymf278b_envelope_next() 188 if(slot->env_step == 3) in ymf278b_envelope_next() 200 if(slot->env_step == 4) in ymf278b_envelope_next() 212 slot->env_step++; in ymf278b_envelope_next() [all …]
|
H A D | saa1099.c | 109 int env_step[2]; /* current envelope step */ member 181 step = saa->env_step[ch] = in saa1099_envelope() 182 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 437 saa->env_step[ch] = 0; in saa1099_write_port_w()
|
H A D | x1_010.c | 106 register UINT32 smp_offs, smp_step, env_offs, env_step, delta; in seta_sh_update() local 157 … env_step = (UINT32)((float)base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)rate); in seta_sh_update() 180 env_offs += env_step; in seta_sh_update()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/ |
H A D | ymf278b.c | 64 int env_step; member 144 if(slot->env_step == 0) in ymf278b_envelope_next() 152 slot->env_step++; in ymf278b_envelope_next() 154 if(slot->env_step == 1) in ymf278b_envelope_next() 158 slot->env_step++; in ymf278b_envelope_next() 173 if(slot->env_step == 2) in ymf278b_envelope_next() 185 slot->env_step++; in ymf278b_envelope_next() 188 if(slot->env_step == 3) in ymf278b_envelope_next() 200 if(slot->env_step == 4) in ymf278b_envelope_next() 212 slot->env_step++; in ymf278b_envelope_next() [all …]
|
H A D | saa1099.c | 109 int env_step[2]; /* current envelope step */ member 181 step = saa->env_step[ch] = in saa1099_envelope() 182 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 437 saa->env_step[ch] = 0; in saa1099_write_port_w()
|
H A D | x1_010.c | 106 register UINT32 smp_offs, smp_step, env_offs, env_step, delta; in seta_sh_update() local 157 … env_step = (UINT32)((float)base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)rate); in seta_sh_update() 180 env_offs += env_step; in seta_sh_update()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/ |
H A D | ymf278b.c | 110 INT32 env_step; member 245 switch (slot->env_step) in compute_envelope() 260 slot->env_step++; in compute_envelope() 288 slot->env_step++; in compute_envelope() 401 slot->env_step++; in ymf278b_pcm_update() 404 else if (slot->preverb && !slot->env_preverb && slot->env_step && slot->env_vol > ((6*8)<<23)) in ymf278b_pcm_update() 588 slot->env_step = 0; in retrigger_note() 648 slot->env_step = 5; in C_w() 717 slot->env_step = 4; in C_w() 999 slot->env_step = 5; in ymf278b_reset()
|
H A D | saa1099.cpp | 106 INT32 env_step[2]; /* current envelope step */ member 178 step = saa->env_step[ch] = in saa1099_envelope() 179 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 483 saa->env_step[ch] = 0; in saa1099DataWrite()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/ |
H A D | ymf278b.c | 110 INT32 env_step; member 245 switch (slot->env_step) in compute_envelope() 260 slot->env_step++; in compute_envelope() 288 slot->env_step++; in compute_envelope() 401 slot->env_step++; in ymf278b_pcm_update() 404 else if (slot->preverb && !slot->env_preverb && slot->env_step && slot->env_vol > ((6*8)<<23)) in ymf278b_pcm_update() 588 slot->env_step = 0; in retrigger_note() 648 slot->env_step = 5; in C_w() 717 slot->env_step = 4; in C_w() 999 slot->env_step = 5; in ymf278b_reset()
|
H A D | saa1099.cpp | 106 INT32 env_step[2]; /* current envelope step */ member 178 step = saa->env_step[ch] = in saa1099_envelope() 179 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 483 saa->env_step[ch] = 0; in saa1099DataWrite()
|
H A D | x1010.cpp | 66 UINT32 smp_offs, smp_step, env_offs, env_step, delta; in x1010_sound_update() local 148 …env_step = (UINT32)((float)x1_010_chip->rate / (float)nBurnSoundRate / 128.0 / 4.0 * reg->start * … in x1010_sound_update() 198 env_offs += env_step; in x1010_sound_update()
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/ |
H A D | ay8910.c | 212 INT8 env_step; member 596 psg->env_step = psg->env_step_mask; in ay8910_write_reg() 598 psg->env_volume = (psg->env_step ^ psg->attack); in ay8910_write_reg() 734 psg->env_step--; in ay8910_update_one() 737 if (psg->env_step < 0) in ay8910_update_one() 744 psg->env_step = 0; in ay8910_update_one() 750 if (psg->alternate && (psg->env_step & (psg->env_step_mask + 1))) in ay8910_update_one() 753 psg->env_step &= psg->env_step_mask; in ay8910_update_one() 759 psg->env_volume = (psg->env_step ^ psg->attack); in ay8910_update_one()
|
H A D | saa1099.c | 114 int env_step[2]; /* current envelope step */ member 190 step = saa->env_step[ch] = in saa1099_envelope() 191 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 432 saa->env_step[CurChn] = 0; in device_reset_saa1099() 528 saa->env_step[ch] = 0; in saa1099_data_w()
|
H A D | x1_010.c | 127 register UINT32 smp_offs, smp_step, env_offs, env_step, delta; in seta_update() local 178 …env_step = (UINT32)((float)info->base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)… in seta_update() 199 env_offs += env_step; in seta_update()
|
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/ |
H A D | ay8910.c | 211 INT8 env_step; member 595 psg->env_step = psg->env_step_mask; in ay8910_write_reg() 597 psg->env_volume = (psg->env_step ^ psg->attack); in ay8910_write_reg() 733 psg->env_step--; in ay8910_update_one() 736 if (psg->env_step < 0) in ay8910_update_one() 743 psg->env_step = 0; in ay8910_update_one() 749 if (psg->alternate && (psg->env_step & (psg->env_step_mask + 1))) in ay8910_update_one() 752 psg->env_step &= psg->env_step_mask; in ay8910_update_one() 758 psg->env_volume = (psg->env_step ^ psg->attack); in ay8910_update_one()
|
H A D | saa1099.c | 113 int env_step[2]; /* current envelope step */ member 192 step = saa->env_step[ch] = in saa1099_envelope() 193 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 437 saa->env_step[CurChn] = 0; in device_reset_saa1099() 533 saa->env_step[ch] = 0; in saa1099_data_w()
|
H A D | x1_010.c | 135 register UINT32 smp_offs, smp_step, env_offs, env_step, delta; in seta_update() local 186 …env_step = (UINT32)((float)info->base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)… in seta_update() 207 env_offs += env_step; in seta_update()
|
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/hardware/ |
H A D | gameblaster.cpp | 75 int env_step[2]; /* current envelope step */ member 154 step = saa->env_step[ch] = in saa1099_envelope() 155 ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in saa1099_envelope() 355 saa->env_step[ch] = 0; in saa1099_write_port_w()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/ |
H A D | cms.cpp | 134 step = saa->env_step[ch] = ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in envelope() 323 saa->env_step[ch] = 0; in portWriteIntern()
|
/dports/games/residualvm/residualvm-0.3.1/audio/softsynth/ |
H A D | cms.cpp | 134 step = saa->env_step[ch] = ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in envelope() 323 saa->env_step[ch] = 0; in portWriteIntern()
|
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/ |
H A D | cms.cpp | 134 step = saa->env_step[ch] = ((saa->env_step[ch] + 1) & 0x3f) | (saa->env_step[ch] & 0x20); in envelope() 324 saa->env_step[ch] = 0; in portWriteIntern()
|