Home
last modified time | relevance | path

Searched refs:now_step (Results 1 – 25 of 52) sorted by relevance

123

/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Dymdeltat.cpp214 now_step = 0; in ADPCM_Write()
398 now_step = 0; in ADPCM_Reset()
441 device->save_item(NAME(DELTAT->now_step)); in savestate()
461 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
462 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
464 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
465 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
542 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
543 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
545 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/emulators/mame/mame-mame0226/src/devices/sound/
H A Dymdeltat.cpp214 now_step = 0; in ADPCM_Write()
398 now_step = 0; in ADPCM_Reset()
441 device->save_item(NAME(DELTAT->now_step)); in savestate()
461 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
462 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
464 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
465 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
542 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
543 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
545 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/mame/
H A Dymdeltat.cpp216 now_step = 0; in ADPCM_Write()
425 now_step = 0; in ADPCM_Reset()
469 device->save_item(NAME(DELTAT->now_step)); in savestate()
489 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
490 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
492 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
493 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
570 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
571 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
573 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
H A Dymdeltat.h29 uint32_t now_step; /* correct step */ member
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/mamefm/
H A Dymdeltat.cpp213 now_step = 0; in ADPCM_Write()
397 now_step = 0; in ADPCM_Reset()
441 device->save_item(NAME(DELTAT->now_step)); in savestate()
461 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
462 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
464 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
465 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
542 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
543 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
545 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/src/sound/
H A Dymdeltat.c162 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
336 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
407 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
408 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
410 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
411 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
481 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
499 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
500 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
502 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A Dymdeltat.c207 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
404 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
467 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
468 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
470 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
471 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
535 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
549 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
550 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
552 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A Dymdeltat.cpp217 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
420 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
488 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
489 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
491 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
492 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
556 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
570 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
571 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
573 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
H A Dymdeltat.h34 UINT32 now_step; /* currect step */ member
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/src/sound/
H A Dymdeltat.c212 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
421 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
487 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
488 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
490 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
491 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
561 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
579 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
580 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
582 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dymdeltat.c213 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
416 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
482 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
483 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
485 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
486 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
566 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
580 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
581 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
583 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A Dymdeltat.c207 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
404 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
467 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
468 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
470 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
471 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
535 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
549 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
550 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
552 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/audio/bambootracker/BambooTracker-0.4.5/BambooTracker/chips/mame/
H A Dymdeltat.c214 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
425 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
492 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
493 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
495 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
496 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
562 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
576 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
577 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
579 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
H A Dymdeltat.h28 UINT32 now_step; /* currect step */ member
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dymdeltat.c214 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
424 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
491 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
492 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
494 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
495 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
561 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
575 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
576 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
578 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
H A Dymdeltat.h26 UINT32 now_step; /* currect step */ member
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dymdeltat.c214 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
424 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
491 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
492 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
494 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
495 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
561 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
575 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
576 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
578 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
H A Dymdeltat.h26 UINT32 now_step; /* currect step */ member
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dymdeltat.c214 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Write()
417 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
504 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_external_memory()
505 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_external_memory()
507 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_external_memory()
508 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_synthesis_from_external_memory()
588 DELTAT->adpcml += (DELTAT->acc * (int)DELTAT->now_step); in YM_DELTAT_synthesis_from_external_memory()
602 DELTAT->now_step += DELTAT->step; in YM_DELTAT_synthesis_from_CPU_memory()
603 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_synthesis_from_CPU_memory()
605 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_synthesis_from_CPU_memory()
[all …]
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/
H A Dymdeltat.c71 DELTAT->now_step = (1<<YM_DELTAT_SHIFT)-DELTAT->step; in YM_DELTAT_ADPCM_Write()
151 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
202 DELTAT->now_step += DELTAT->step; in YM_DELTAT_ADPCM_CALC()
203 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_ADPCM_CALC()
205 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_ADPCM_CALC()
206 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_ADPCM_CALC()
260 …DELTAT->adpcml += (int)((float)DELTAT->sample_step * ((float)DELTAT->now_step/(float)DELTAT->step)… in YM_DELTAT_ADPCM_CALC()
H A Dymdeltat.h22 UINT32 now_step; member
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/
H A DYmdeltat.c59 DELTAT->now_step = (1<<YM_DELTAT_SHIFT)-DELTAT->step; in YM_DELTAT_ADPCM_Write()
208 DELTAT->now_step = 0; in YM_DELTAT_ADPCM_Reset()
239 DELTAT->now_step += DELTAT->step; in YM_DELTAT_ADPCM_CALC()
240 if ( DELTAT->now_step >= (1<<YM_DELTAT_SHIFT) ) in YM_DELTAT_ADPCM_CALC()
242 step = DELTAT->now_step >> YM_DELTAT_SHIFT; in YM_DELTAT_ADPCM_CALC()
243 DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1; in YM_DELTAT_ADPCM_CALC()
296 …DELTAT->adpcml += (int)((DoubleT)DELTAT->sample_step * ((DoubleT)DELTAT->now_step/(DoubleT)DELTAT-… in YM_DELTAT_ADPCM_CALC()
321 DELTAT->now_step = saveStateGet(state, "now_step", 0); in YM_DELTAT_ADPCM_LoadState()
362 saveStateSet(state, "now_step", DELTAT->now_step); in YM_DELTAT_ADPCM_SaveState()
/dports/science/quantum-espresso/q-e-qe-6.7.0/Modules/
H A Dautopilot.f90435 INTEGER :: on_step, now_step, plus_step local
537 now_step = current_nfi + plus_step
540 now_step = current_nfi
551 IF ( now_step .lt. event_step(event-1)) THEN
560 ELSEIF ( now_step .gt. event_step(event)) THEN
576 event_step(event) = now_step
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/ym2610/
H A Dym2610.c673 u32 now_step; member
2307 ch->now_step += ch->step; in OPNB_ADPCMA_calc_chan()
2308 if (ch->now_step >= (1 << ADPCM_SHIFT)) in OPNB_ADPCMA_calc_chan()
2310 step = ch->now_step >> ADPCM_SHIFT; in OPNB_ADPCMA_calc_chan()
2311 ch->now_step &= (1 << ADPCM_SHIFT) - 1; in OPNB_ADPCMA_calc_chan()
2379 adpcma[c].now_step = 0; in OPNB_ADPCMA_write()
2569 adpcmb->now_step = 0; in OPNB_ADPCMB_write()
2696 adpcmb->now_step += adpcmb->step; in OPNB_ADPCMB_CALC()
2699 step = adpcmb->now_step >> ADPCM_SHIFT; in OPNB_ADPCMB_CALC()
2887 YM2610.adpcma[i].now_step = 0; in YM2610Reset()
[all …]
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/ym2610-940/
H A Dym2610.c671 u32 now_step; member
2319 ch->now_step += ch->step; in OPNB_ADPCMA_calc_chan()
2320 if (ch->now_step >= (1 << ADPCM_SHIFT)) in OPNB_ADPCMA_calc_chan()
2322 step = ch->now_step >> ADPCM_SHIFT; in OPNB_ADPCMA_calc_chan()
2323 ch->now_step &= (1 << ADPCM_SHIFT) - 1; in OPNB_ADPCMA_calc_chan()
2391 adpcma[c].now_step = 0; in OPNB_ADPCMA_write()
2581 adpcmb->now_step = 0; in OPNB_ADPCMB_write()
2708 adpcmb->now_step += adpcmb->step; in OPNB_ADPCMB_CALC()
2711 step = adpcmb->now_step >> ADPCM_SHIFT; in OPNB_ADPCMB_CALC()
2893 YM2610->adpcma[i].now_step = 0; in YM2610Reset()
[all …]

123