Home
last modified time | relevance | path

Searched refs:voice (Results 1 – 25 of 3283) sorted by relevance

12345678910>>...132

/dports/games/libretro-prboom/libretro-prboom-cc80175/deps/fluidlite/src/
H A Dfluid_voice.c346 if (voice->ticks >= voice->modlfo_delay) in fluid_voice_write()
455 (voice->pitch + voice->modlfo_val * voice->modlfo_to_pitch in fluid_voice_write()
457 + voice->modenv_val * voice->modenv_to_pitch) / voice->root_pitch; in fluid_voice_write()
1015 voice->pan = _GEN(voice, GEN_PAN); in fluid_voice_update_param()
1254 voice->end = (voice->sample->end in fluid_voice_update_param()
1457 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate()
1504 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate_all()
1796 if (voice->start > voice->end){ in fluid_voice_check_sample_sanity()
1798 voice->start = voice->end; in fluid_voice_check_sample_sanity()
1804 if (voice->start == voice->end){ in fluid_voice_check_sample_sanity()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/fluidsynth/src/
H A Dfluid_voice.c346 if (voice->ticks >= voice->modlfo_delay) in fluid_voice_write()
455 (voice->pitch + voice->modlfo_val * voice->modlfo_to_pitch in fluid_voice_write()
457 + voice->modenv_val * voice->modenv_to_pitch) / voice->root_pitch; in fluid_voice_write()
1015 voice->pan = _GEN(voice, GEN_PAN); in fluid_voice_update_param()
1254 voice->end = (voice->sample->end in fluid_voice_update_param()
1457 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate()
1504 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate_all()
1796 if (voice->start > voice->end){ in fluid_voice_check_sample_sanity()
1798 voice->start = voice->end; in fluid_voice_check_sample_sanity()
1804 if (voice->start == voice->end){ in fluid_voice_check_sample_sanity()
[all …]
/dports/audio/avldrums-lv2/avldrums.lv2-0.4.2/fluidsynth/src/
H A Dfluid_rvoice.c104 if((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
165 if(voice->dsp.start > voice->dsp.end) in fluid_rvoice_check_sample_sanity()
168 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
174 if(voice->dsp.start == voice->dsp.end) in fluid_rvoice_check_sample_sanity()
204 if(voice->dsp.loopstart > voice->dsp.loopend) in fluid_rvoice_check_sample_sanity()
207 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
251 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
325 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) in fluid_rvoice_write()
395 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
406 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
[all …]
H A Dfluid_voice.c173 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
174 voice->can_access_rvoice = voice->can_access_overflow_rvoice; in fluid_voice_swap_rvoice()
231 if(voice->rvoice == NULL || voice->overflow_rvoice == NULL) in new_fluid_voice()
240 voice->key = 0; in new_fluid_voice()
252 return voice; in new_fluid_voice()
431 return (fluid_real_t)(voice->gen[num].val + voice->gen[num].mod + voice->gen[num].nrpn); in fluid_voice_gen_value()
506voice->gen[GEN_PITCH].val = fluid_voice_calculate_pitch(voice, fluid_voice_get_actual_key(voice)); in fluid_voice_calculate_gen_pitch()
757 voice->pan = fluid_voice_gen_value(voice, GEN_PAN); in fluid_voice_update_param()
788 voice->pitch = (fluid_voice_gen_value(voice, GEN_PITCH) in fluid_voice_update_param()
825 voice->root_pitch = voice->sample->origpitch * 100.0f - voice->sample->pitchadj; in fluid_voice_update_param()
[all …]
/dports/audio/gmsynth-lv2/gmsynth.lv2-0.5.0/fluidsynth/src/
H A Dfluid_rvoice.c104 if((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
165 if(voice->dsp.start > voice->dsp.end) in fluid_rvoice_check_sample_sanity()
168 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
174 if(voice->dsp.start == voice->dsp.end) in fluid_rvoice_check_sample_sanity()
204 if(voice->dsp.loopstart > voice->dsp.loopend) in fluid_rvoice_check_sample_sanity()
207 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
251 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
325 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) in fluid_rvoice_write()
395 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
406 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
[all …]
H A Dfluid_voice.c173 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
174 voice->can_access_rvoice = voice->can_access_overflow_rvoice; in fluid_voice_swap_rvoice()
231 if(voice->rvoice == NULL || voice->overflow_rvoice == NULL) in new_fluid_voice()
240 voice->key = 0; in new_fluid_voice()
252 return voice; in new_fluid_voice()
431 return (fluid_real_t)(voice->gen[num].val + voice->gen[num].mod + voice->gen[num].nrpn); in fluid_voice_gen_value()
506voice->gen[GEN_PITCH].val = fluid_voice_calculate_pitch(voice, fluid_voice_get_actual_key(voice)); in fluid_voice_calculate_gen_pitch()
757 voice->pan = fluid_voice_gen_value(voice, GEN_PAN); in fluid_voice_update_param()
788 voice->pitch = (fluid_voice_gen_value(voice, GEN_PITCH) in fluid_voice_update_param()
825 voice->root_pitch = voice->sample->origpitch * 100.0f - voice->sample->pitchadj; in fluid_voice_update_param()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/deps/fluidsynth/src/rvoice/
H A Dfluid_rvoice.c95 if ((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
152 if (voice->dsp.start > voice->dsp.end){ in fluid_rvoice_check_sample_sanity()
154 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
160 if (voice->dsp.start == voice->dsp.end){ in fluid_rvoice_check_sample_sanity()
182 if (voice->dsp.loopstart > voice->dsp.loopend){ in fluid_rvoice_check_sample_sanity()
184 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
220 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
242 fluid_phase_set_int(voice->dsp.phase, voice->dsp.loopstart); in fluid_rvoice_check_sample_sanity()
284 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) { in fluid_rvoice_write()
321 voice->dsp.phase_incr = fluid_ct2hz_real(voice->dsp.pitch + in fluid_rvoice_write()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/fluidsynth/src/rvoice/
H A Dfluid_rvoice.c95 if ((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
152 if (voice->dsp.start > voice->dsp.end){ in fluid_rvoice_check_sample_sanity()
154 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
160 if (voice->dsp.start == voice->dsp.end){ in fluid_rvoice_check_sample_sanity()
182 if (voice->dsp.loopstart > voice->dsp.loopend){ in fluid_rvoice_check_sample_sanity()
184 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
220 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
242 fluid_phase_set_int(voice->dsp.phase, voice->dsp.loopstart); in fluid_rvoice_check_sample_sanity()
284 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) { in fluid_rvoice_write()
321 voice->dsp.phase_incr = fluid_ct2hz_real(voice->dsp.pitch + in fluid_rvoice_write()
[all …]
/dports/devel/allegro5/allegro5-5.2.7.0/addons/audio/
H A Dkcm_voice.c75 voice = al_calloc(1, sizeof(*voice)); in al_create_voice()
115 voice->driver->deallocate_voice(voice); in al_destroy_voice()
172 spl->parent.u.voice = voice; in al_attach_sample_instance_to_voice()
286 stream->spl.parent.u.voice = voice; in al_attach_audio_stream_to_voice()
298 if (voice->driver->start_voice(voice) != 0) { in al_attach_audio_stream_to_voice()
345 mixer->ss.parent.u.voice = voice; in al_attach_mixer_to_voice()
352 if (voice->driver->start_voice(voice) != 0) { in al_attach_mixer_to_voice()
386 voice->driver->stop_voice(voice); in al_detach_voice()
387 voice->driver->unload_voice(voice); in al_detach_voice()
390 voice->driver->stop_voice(voice); in al_detach_voice()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/deps/fluidsynth/src/synth/
H A Dfluid_voice.c47 if (voice->can_access_rvoice) proc(voice->rvoice); \
152 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
487 * (voice->key - voice->root_pitch / 100.0f) + voice->root_pitch; in fluid_voice_calculate_gen_pitch()
712 voice->pan = _GEN(voice, GEN_PAN); in fluid_voice_update_param()
713 voice->amp_left = fluid_pan(voice->pan, 1) * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
714 voice->amp_right = fluid_pan(voice->pan, 0) * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
737 voice->pitch = (_GEN(voice, GEN_PITCH) in fluid_voice_update_param()
747 voice->amp_reverb = voice->reverb_send * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
755 voice->amp_chorus = voice->chorus_send * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
1126 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate()
[all …]
/dports/audio/fluidsynth/fluidsynth-2.2.4/src/rvoice/
H A Dfluid_rvoice.c104 if((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
165 if(voice->dsp.start > voice->dsp.end) in fluid_rvoice_check_sample_sanity()
168 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
174 if(voice->dsp.start == voice->dsp.end) in fluid_rvoice_check_sample_sanity()
204 if(voice->dsp.loopstart > voice->dsp.loopend) in fluid_rvoice_check_sample_sanity()
207 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
251 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
325 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) in fluid_rvoice_write()
395 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
406 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
[all …]
/dports/audio/ardour6/Ardour-6.8.0/libs/fluidsynth/src/
H A Dfluid_rvoice.c104 if((voice->dsp.amp == 0.0f) && (voice->dsp.amp_incr == 0.0f)) in fluid_rvoice_calc_amp()
165 if(voice->dsp.start > voice->dsp.end) in fluid_rvoice_check_sample_sanity()
168 voice->dsp.start = voice->dsp.end; in fluid_rvoice_check_sample_sanity()
174 if(voice->dsp.start == voice->dsp.end) in fluid_rvoice_check_sample_sanity()
204 if(voice->dsp.loopstart > voice->dsp.loopend) in fluid_rvoice_check_sample_sanity()
207 voice->dsp.loopstart = voice->dsp.loopend; in fluid_rvoice_check_sample_sanity()
251 fluid_phase_set_int(voice->dsp.phase, voice->dsp.start); in fluid_rvoice_check_sample_sanity()
325 voice->envlfo.ticks >= voice->envlfo.noteoff_ticks) in fluid_rvoice_write()
395 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
406 voice->dsp.pitchoffset += voice->dsp.pitchinc; in fluid_rvoice_write()
[all …]
H A Dfluid_voice.c173 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
174 voice->can_access_rvoice = voice->can_access_overflow_rvoice; in fluid_voice_swap_rvoice()
177 voice->overflow_sample = voice->sample; in fluid_voice_swap_rvoice()
232 if(voice->rvoice == NULL || voice->overflow_rvoice == NULL) in new_fluid_voice()
254 return voice; in new_fluid_voice()
438 return (fluid_real_t)(voice->gen[num].val + voice->gen[num].mod + voice->gen[num].nrpn); in fluid_voice_gen_value()
513voice->gen[GEN_PITCH].val = fluid_voice_calculate_pitch(voice, fluid_voice_get_actual_key(voice)); in fluid_voice_calculate_gen_pitch()
765 voice->pan = fluid_voice_gen_value(voice, GEN_PAN); in fluid_voice_update_param()
796 voice->pitch = (fluid_voice_gen_value(voice, GEN_PITCH) in fluid_voice_update_param()
833 voice->root_pitch = voice->sample->origpitch * 100.0f - voice->sample->pitchadj; in fluid_voice_update_param()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/audiolib/src/
H A Dformats.cpp40 voice->BlockLength = voice->Loop.Size; in MV_GetNextWAVBlock()
46 voice->sound = voice->NextBlock; in MV_GetNextWAVBlock()
47 voice->position -= voice->length; in MV_GetNextWAVBlock()
49 voice->NextBlock += voice->length * ((voice->channels * voice->bits) >> 3); in MV_GetNextWAVBlock()
50 voice->BlockLength -= voice->length; in MV_GetNextWAVBlock()
67 voice->position -= voice->length; in MV_GetNextVOCBlock()
68 voice->sound += (voice->length >> 16) * ((voice->channels * voice->bits) >> 3); in MV_GetNextVOCBlock()
70 voice->BlockLength -= voice->length; in MV_GetNextVOCBlock()
281 voice->Loop.End = voice->sound + (uintptr_t)voice->Loop.End; in MV_GetNextVOCBlock()
282 voice->Loop.Size = voice->Loop.End - voice->Loop.Start; in MV_GetNextVOCBlock()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/fluidsynth/src/synth/
H A Dfluid_voice.c221 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
478 * (voice->key - voice->root_pitch / 100.0f) + voice->root_pitch; in fluid_voice_calculate_gen_pitch()
703 voice->pan = _GEN(voice, GEN_PAN); in fluid_voice_update_param()
704 voice->amp_left = fluid_pan(voice->pan, 1) * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
705 voice->amp_right = fluid_pan(voice->pan, 0) * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
728 voice->pitch = (_GEN(voice, GEN_PITCH) in fluid_voice_update_param()
738 voice->amp_reverb = voice->reverb_send * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
746 voice->amp_chorus = voice->chorus_send * voice->synth_gain / 32768.0f; in fluid_voice_update_param()
761 voice->root_pitch = voice->sample->origpitch * 100.0f - voice->sample->pitchadj; in fluid_voice_update_param()
1113 modval += fluid_mod_get_value(&voice->mod[k], voice->channel, voice); in fluid_voice_modulate()
[all …]
/dports/audio/fluidsynth/fluidsynth-2.2.4/src/synth/
H A Dfluid_voice.c173 voice->rvoice = voice->overflow_rvoice; in fluid_voice_swap_rvoice()
174 voice->can_access_rvoice = voice->can_access_overflow_rvoice; in fluid_voice_swap_rvoice()
177 voice->overflow_sample = voice->sample; in fluid_voice_swap_rvoice()
232 if(voice->rvoice == NULL || voice->overflow_rvoice == NULL) in new_fluid_voice()
254 return voice; in new_fluid_voice()
438 return (fluid_real_t)(voice->gen[num].val + voice->gen[num].mod + voice->gen[num].nrpn); in fluid_voice_gen_value()
513voice->gen[GEN_PITCH].val = fluid_voice_calculate_pitch(voice, fluid_voice_get_actual_key(voice)); in fluid_voice_calculate_gen_pitch()
768 voice->pan = fluid_voice_gen_value(voice, GEN_PAN); in fluid_voice_update_param()
799 voice->pitch = (fluid_voice_gen_value(voice, GEN_PITCH) in fluid_voice_update_param()
836 voice->root_pitch = voice->sample->origpitch * 100.0f - voice->sample->pitchadj; in fluid_voice_update_param()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Des5506.c347 …sample = sample - voice->o2n2 + ((INT32)(voice->k2 >> 2) * voice->o3n1) / 32768 + voice->o3n1 / 2;…
352 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
363 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
473 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
478 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
484 accum = (voice->end - (accum - voice->end)) & voice->accum_mask; \
512 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
517 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
831 if (voice->start == voice->end) in generate_samples()
1615 chip->voice[voice].exbank=bank; in es5506_voice_bank_w()
[all …]
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Des5506.c350 …sample = sample - voice->o2n2 + ((INT32)(voice->k2 >> 2) * voice->o3n1) / 32768 + voice->o3n1 / 2;…
355 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
366 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
476 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
481 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
487 accum = (voice->end - (accum - voice->end)) & voice->accum_mask; \
515 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
520 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
846 if (voice->start == voice->end) in generate_samples()
1631 chip->voice[voice].exbank=bank; in es5506_voice_bank_w()
[all …]
/dports/audio/ocp/ocp-0.2.90/playhvl/
H A Dplayer.c581 voice->vc_Pan = voice->vc_SetPan; in finalize_windowaggregate()
919 voice->vc_ADSR.aFrames = voice->vc_ADSR.dFrames = voice->vc_ADSR.sFrames = 0;
959voice->vc_NoteMaxVolume = voice->vc_NoteMaxVolume + voice->vc_VolumeSlideUp - voice->vc_VolumeSlid…
1030 voice->vc_PerfWait = voice->vc_PerfSpeed;
1274 voice->vc_RingAudioPeriod += voice->vc_Transpose + voice->vc_TrackPeriod - 1;
1308 voice->vc_AudioPeriod = voice->vc_InstrPeriod;
1314 voice->vc_AudioPeriod += voice->vc_OverrideTranspose + voice->vc_TrackPeriod - 1; in release_partition()
1316 voice->vc_AudioPeriod += voice->vc_Transpose + voice->vc_TrackPeriod - 1; in release_partition()
1337 voice->vc_AudioPeriod += voice->vc_PeriodPerfSlidePeriod + voice->vc_VibratoPeriod;
1349voice->vc_AudioVolume = (((((((voice->vc_ADSRVolume >> 8) * voice->vc_NoteMaxVolume) >> 6) * voice
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Des5506.cpp343 …sample = sample - voice->o2n2 + ((INT32)(voice->k2 >> 2) * voice->o3n1) / 32768 + voice->o3n1 / 2;…
348 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
359 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
469 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
474 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
480 accum = (voice->end - (accum - voice->end)) & voice->accum_mask; \
508 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
513 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
831 if (voice->start == voice->end) in generate_samples()
1641 chip->voice[voice].exbank=bank; in es5506_voice_bank_w()
[all …]
/dports/games/jfsw/jfsw-c434002/jfaudiolib/src/
H A Dmultivoc.c293 voice->GetSound( voice ); in MV_Mix()
484 for( voice = VoiceList.next; voice != &VoiceList; voice = next ) in MV_ServiceVoc()
545 voice->sound += (voice->length >> 16) * (voice->channels * voice->bits / 8); in MV_GetNextVOCBlock()
754 voice->LoopEnd = voice->sound + (intptr_t)voice->LoopEnd; in MV_GetNextVOCBlock()
755 voice->LoopSize = voice->LoopEnd - voice->LoopStart; in MV_GetNextVOCBlock()
810 ( voice->DemandFeed )( &voice->sound, &voice->BlockLength ); in MV_GetNextDemandFeedBlock()
852 voice->NextBlock += voice->length * (voice->channels * voice->bits / 8); in MV_GetNextRawBlock()
889 voice->NextBlock += voice->length * (voice->channels * voice->bits / 8); in MV_GetNextWAVBlock()
941 for( voice = VoiceList.next; voice != &VoiceList; voice = voice->next ) in MV_GetVoice()
1049 for( voice = VoiceList.next; voice != &VoiceList; voice = next ) in MV_KillAllVoices()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Des5506.cpp343 …sample = sample - voice->o2n2 + ((INT32)(voice->k2 >> 2) * voice->o3n1) / 32768 + voice->o3n1 / 2;…
348 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
359 …sample = sample - voice->o3n2 + ((INT32)(voice->k2 >> 2) * voice->o4n1) / 32768 + voice->o4n1 / 2;…
469 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
474 accum = (voice->start + (accum - voice->end)) & voice->accum_mask; \
480 accum = (voice->end - (accum - voice->end)) & voice->accum_mask; \
508 accum = (voice->end - (voice->start - accum)) & voice->accum_mask; \
831 if (voice->start == voice->end) in generate_samples()
1639 chip->voice[voice].exbank=bank; in es5506_voice_bank_w()
2113 voice->o1n1 = chip->region_base[voice->control >> 14][voice->exbank + (voice->accum >> 11)]; in es5505_reg_read_high()
[all …]
/dports/audio/faudio/FAudio-21.01/src/
H A DFAudio_internal.c409 voice, in FAudio_INTERNAL_DecodeBuffers()
560 voice, in FAudio_INTERNAL_DecodeBuffers()
775 LOG_MUTEX_LOCK(voice->audio, voice->sendLock) in FAudio_INTERNAL_MixSource()
792 voice->src.resampleFreq = voice->src.freqRatio * voice->src.format->nSamplesPerSec; in FAudio_INTERNAL_MixSource()
837 LOG_MUTEX_LOCK(voice->audio, voice->sendLock) in FAudio_INTERNAL_MixSource()
917 LOG_MUTEX_LOCK(voice->audio, voice->sendLock) in FAudio_INTERNAL_MixSource()
1030 LOG_MUTEX_LOCK(voice->audio, voice->effectLock) in FAudio_INTERNAL_MixSource()
1045 voice, in FAudio_INTERNAL_MixSource()
1055 LOG_MUTEX_LOCK(voice->audio, voice->volumeLock) in FAudio_INTERNAL_MixSource()
1111 LOG_MUTEX_LOCK(voice->audio, voice->sendLock) in FAudio_INTERNAL_MixSubmix()
[all …]
H A DFAudio.c1071 LOG_MUTEX_LOCK(voice->audio, voice->sendLock) in FAudioVoice_SetOutputVoices()
1104 voice->audio->pFree(voice->mixCoefficients); in FAudioVoice_SetOutputVoices()
1108 voice->audio->pFree(voice->sendMix); in FAudioVoice_SetOutputVoices()
1112 voice->audio->pFree(voice->sendFilter); in FAudioVoice_SetOutputVoices()
1129 voice->audio->pFree(voice->sends.pSends); in FAudioVoice_SetOutputVoices()
2208 voice->audio->pFree(voice->src.format); in FAudioVoice_DestroyVoice()
2267 voice->audio->pFree(voice->sendMix); in FAudioVoice_DestroyVoice()
2271 voice->audio->pFree(voice->sendFilter); in FAudioVoice_DestroyVoice()
2286 voice->audio->pFree(voice->sends.pSends); in FAudioVoice_DestroyVoice()
2311 voice->audio->pFree(voice->filterState); in FAudioVoice_DestroyVoice()
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Des5506.cpp575 sample = apply_highpass(sample, voice->k2, voice->o3n1, voice->o2n2); in apply_filters()
579 sample = apply_highpass(sample, voice->k2, voice->o4n1, voice->o3n2); in apply_filters()
589 sample = apply_highpass(sample, voice->k2, voice->o4n1, voice->o3n2); in apply_filters()
631 voice->lvol += (int8_t)voice->lvramp; in update_envelopes()
639 voice->rvol += (int8_t)voice->rvramp; in update_envelopes()
645 if (voice->k1ramp && ((s32)voice->k1ramp >= 0 || !(voice->filtcount & 7))) in update_envelopes()
647 voice->k1 += (int8_t)voice->k1ramp; in update_envelopes()
655 voice->k2 += (int8_t)voice->k2ramp; in update_envelopes()
1028 if (voice->start == voice->end) in generate_samples()
1067 if (voice->start == voice->end) in generate_samples()
[all …]

12345678910>>...132