taglinefilesource code
voices122drivers/sound/gus_wave.cstruct voice_info voices[32];
voices447drivers/sound/gus_wave.cvoices[voice].panning = 0;
voices448drivers/sound/gus_wave.cvoices[voice].mode = 0;
voices449drivers/sound/gus_wave.cvoices[voice].orig_freq = 20000;
voices450drivers/sound/gus_wave.cvoices[voice].current_freq = 20000;
voices451drivers/sound/gus_wave.cvoices[voice].bender = 0;
voices452drivers/sound/gus_wave.cvoices[voice].bender_range = 200;
voices453drivers/sound/gus_wave.cvoices[voice].initial_volume = 0;
voices454drivers/sound/gus_wave.cvoices[voice].current_volume = 0;
voices455drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voices456drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 0;
voices457drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voices458drivers/sound/gus_wave.cvoices[voice].volume_irq_parm = 0;
voices459drivers/sound/gus_wave.cvoices[voice].env_phase = 0;
voices460drivers/sound/gus_wave.cvoices[voice].main_vol = 127;
voices461drivers/sound/gus_wave.cvoices[voice].patch_vol = 127;
voices462drivers/sound/gus_wave.cvoices[voice].expression_vol = 127;
voices471drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
voices477drivers/sound/gus_wave.cif (voices[voice].env_phase >= 5)
voices487drivers/sound/gus_wave.cprev_vol = voices[voice].current_volume;
voices489drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
voices491drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voices493drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
voices494drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];
voices497drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_ENVELOPE;
voices519drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
voices525drivers/sound/gus_wave.cvoices[voice].env_phase = -1;
voices526drivers/sound/gus_wave.cvoices[voice].current_volume = 64;
voices537drivers/sound/gus_wave.cvoices[voice].env_phase = 2;  /* Will be incremented by step_envelope */
voices539drivers/sound/gus_wave.cvoices[voice].current_volume =
voices540drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices543drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
voices561drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices581drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voices847drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2)
voices860drivers/sound/gus_wave.chi_limit = voices[voice].current_volume;
voices882drivers/sound/gus_wave.cvoices[voice].panning = value;
voices890drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voices895drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices896drivers/sound/gus_wave.cgus_adagio_vol (volume, voices[voice].main_vol,
voices897drivers/sound/gus_wave.cvoices[voice].expression_vol,
voices898drivers/sound/gus_wave.cvoices[voice].patch_vol);
voices902drivers/sound/gus_wave.cvoices[voice].initial_volume = volume_base + (volume * volume_scale);
voices906drivers/sound/gus_wave.cif (voices[voice].initial_volume > 4095)
voices907drivers/sound/gus_wave.cvoices[voice].initial_volume = 4095;
voices916drivers/sound/gus_wave.cvoices[voice].current_volume = voices[voice].initial_volume;
voices919drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
voices972drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
voices974drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voices989drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voices993drivers/sound/gus_wave.cif (voices[voice].env_phase < 0)
voices996drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voices999drivers/sound/gus_wave.cvoices[voice].current_volume =
voices1002drivers/sound/gus_wave.cvoices[voice].env_phase--;
voices1019drivers/sound/gus_wave.cvoices[voice].bender = value;
voices1020drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value, voices[voice].bender_range);
voices1021drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voices1030drivers/sound/gus_wave.cvoices[voice].bender_range = value;
voices1035drivers/sound/gus_wave.cvoices[voice].expression_vol = value;
voices1041drivers/sound/gus_wave.cvoices[voice].main_vol = value;
voices1066drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1068drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voices1122drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
voices1123drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
voices1125drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1131drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
voices1132drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
voices1143drivers/sound/gus_wave.cvoices[voice].orig_freq = freq;
voices1150drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voices1151drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voices1153drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
voices1176drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1209drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = LMODE_FINISH;  /* Ramp it down at the
voices1211drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 1;
voices1585drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices1586drivers/sound/gus_wave.cvoices[voice].current_volume = p1;
voices1590drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1599drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1608drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1618drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1628drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1801drivers/sound/gus_wave.cvoices[chn].loop_irq_mode = LMODE_PCM;
voices1871drivers/sound/gus_wave.cvoices[0].loop_irq_mode = LMODE_PCM_STOP;
voices2374drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
voices2375drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voices2376drivers/sound/gus_wave.cparm = voices[voice].loop_irq_parm;
voices2393drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voices2442drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
voices2443drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voices2444drivers/sound/gus_wave.cparm = voices[voice].volume_irq_parm;
voices60drivers/sound/opl3.cstatic struct voice_info voices[MAX_VOICE];
voices251drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
voices253drivers/sound/opl3.cvoices[voice].keyon_byte = 0;
voices254drivers/sound/opl3.cvoices[voice].bender = 0;
voices255drivers/sound/opl3.cvoices[voice].bender_range = 200;  /* 200 cents = 2 semitones */
voices256drivers/sound/opl3.cvoices[voice].orig_freq = 0;
voices257drivers/sound/opl3.cvoices[voice].current_freq = 0;
voices258drivers/sound/opl3.cvoices[voice].mode = 0;
voices358drivers/sound/opl3.cif (voices[voice].mode == 0)
voices361drivers/sound/opl3.cif (voices[voice].mode == 2)
voices553drivers/sound/opl3.cvoices[voice].mode = voice_mode;
voices557drivers/sound/opl3.cfreq = voices[voice].orig_freq = note_to_freq (note) / 1000;
voices564drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voices565drivers/sound/opl3.cvoices[voice].current_freq = freq;
voices575drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voices783drivers/sound/opl3.cif (voices[voice].mode == 4)
voices841drivers/sound/opl3.cvoices[voice].bender = value;
voices844drivers/sound/opl3.cif (!(voices[voice].keyon_byte & 0x20))
voices847drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voices848drivers/sound/opl3.cvoices[voice].current_freq = freq;
voices857drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voices862drivers/sound/opl3.cvoices[voice].bender_range = value;