taglinefilesource code
voices127drivers/sound/gus_wave.cstruct voice_info voices[32];
voices462drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voices463drivers/sound/gus_wave.cvoices[voice].offset_pending = position;
voices488drivers/sound/gus_wave.cvoices[voice].panning = 0;
voices489drivers/sound/gus_wave.cvoices[voice].mode = 0;
voices490drivers/sound/gus_wave.cvoices[voice].orig_freq = 20000;
voices491drivers/sound/gus_wave.cvoices[voice].current_freq = 20000;
voices492drivers/sound/gus_wave.cvoices[voice].bender = 0;
voices493drivers/sound/gus_wave.cvoices[voice].bender_range = 200;
voices494drivers/sound/gus_wave.cvoices[voice].initial_volume = 0;
voices495drivers/sound/gus_wave.cvoices[voice].current_volume = 0;
voices496drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voices497drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 0;
voices498drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voices499drivers/sound/gus_wave.cvoices[voice].volume_irq_parm = 0;
voices500drivers/sound/gus_wave.cvoices[voice].env_phase = 0;
voices501drivers/sound/gus_wave.cvoices[voice].main_vol = 127;
voices502drivers/sound/gus_wave.cvoices[voice].patch_vol = 127;
voices503drivers/sound/gus_wave.cvoices[voice].expression_vol = 127;
voices504drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voices514drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
voices526drivers/sound/gus_wave.cif (voices[voice].env_phase >= 5)
voices532drivers/sound/gus_wave.cprev_vol = voices[voice].current_volume;
voices533drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
voices534drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voices535drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
voices536drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];
voices546drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_ENVELOPE;
voices569drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
voices576drivers/sound/gus_wave.cvoices[voice].env_phase = -1;
voices577drivers/sound/gus_wave.cvoices[voice].current_volume = 64;
voices588drivers/sound/gus_wave.cvoices[voice].env_phase = 2;  /* Will be incremented by step_envelope */
voices590drivers/sound/gus_wave.cvoices[voice].current_volume =
voices591drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices594drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
voices619drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices639drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voices879drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voices881drivers/sound/gus_wave.cvoices[voice].sample_pending = instr_no;
voices913drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voices915drivers/sound/gus_wave.cvoices[voice].kill_pending = 1;
voices938drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2)
voices951drivers/sound/gus_wave.chi_limit = voices[voice].current_volume;
voices973drivers/sound/gus_wave.cvoices[voice].panning = value;
voices987drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voices992drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices993drivers/sound/gus_wave.cgus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol,
voices994drivers/sound/gus_wave.cvoices[voice].expression_vol,
voices995drivers/sound/gus_wave.cvoices[voice].patch_vol);
voices999drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices1000drivers/sound/gus_wave.cgus_linear_vol (volume, voices[voice].main_vol);
voices1004drivers/sound/gus_wave.cvoices[voice].initial_volume = volume_base +
voices1005drivers/sound/gus_wave.c(voices[voice].midi_volume * volume_scale);
voices1008drivers/sound/gus_wave.cif (voices[voice].initial_volume > 4030)
voices1009drivers/sound/gus_wave.cvoices[voice].initial_volume = 4030;
voices1019drivers/sound/gus_wave.cvoices[voice].current_volume = voices[voice].initial_volume;
voices1029drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
voices1085drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
voices1087drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voices1102drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voices1106drivers/sound/gus_wave.cif (voices[voice].env_phase < 0)
voices1109drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voices1125drivers/sound/gus_wave.cvoices[voice].bender = value;
voices1127drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voices1129drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voices1130drivers/sound/gus_wave.cvoices[voice].bender_range);
voices1131drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voices1141drivers/sound/gus_wave.cvoices[voice].bender_range = value;
voices1148drivers/sound/gus_wave.cvoices[voice].expression_vol = value;
voices1149drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voices1155drivers/sound/gus_wave.cvoices[voice].panning = (value * 2) - 128;
voices1162drivers/sound/gus_wave.cvoices[voice].main_vol = value;
voices1163drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voices1188drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1190drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voices1247drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
voices1248drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
voices1250drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1256drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
voices1257drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
voices1268drivers/sound/gus_wave.cvoices[voice].orig_freq = freq;
voices1275drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender,
voices1276drivers/sound/gus_wave.cvoices[voice].bender_range);
voices1277drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voices1279drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
voices1305drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1318drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);  /* start=end */
voices1320drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending,
voices1334drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);
voices1346drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = LMODE_FINISH;  /* Ramp down at the end */
voices1347drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 1;
voices1377drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voices1378drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voices1392drivers/sound/gus_wave.cvoices[voice].offset_pending = 0;
voices1393drivers/sound/gus_wave.cvoices[voice].kill_pending = 0;
voices1394drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voices1395drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voices1397drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voices1400drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voices1401drivers/sound/gus_wave.cvoices[voice].sample_pending);
voices1402drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voices1412drivers/sound/gus_wave.cvoices[voice].dev_pending = dev;
voices1413drivers/sound/gus_wave.cvoices[voice].note_pending = note_num;
voices1414drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voices1415drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_START_NOTE;
voices1733drivers/sound/gus_wave.cif ((voices[voice].volume_irq_mode == VMODE_START_NOTE) &&
voices1800drivers/sound/gus_wave.cvoices[voice].initial_volume =
voices1801drivers/sound/gus_wave.cvoices[voice].current_volume = p1;
voices1805drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1814drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1823drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1833drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices1843drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voices2057drivers/sound/gus_wave.cvoices[chn].loop_irq_mode = LMODE_PCM;
voices2130drivers/sound/gus_wave.cvoices[0].loop_irq_mode = LMODE_PCM_STOP;
voices2409drivers/sound/gus_wave.cvoices[voice].bender = value - 8192;
voices2410drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voices2411drivers/sound/gus_wave.cvoices[voice].bender_range);
voices2412drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voices3021drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
voices3022drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voices3023drivers/sound/gus_wave.cparm = voices[voice].loop_irq_parm;
voices3048drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voices3111drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
voices3112drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voices3113drivers/sound/gus_wave.cparm = voices[voice].volume_irq_parm;
voices3132drivers/sound/gus_wave.cguswave_start_note2 (voices[voice].dev_pending, voice,
voices3133drivers/sound/gus_wave.cvoices[voice].note_pending, voices[voice].volume_pending);
voices3134drivers/sound/gus_wave.cif (voices[voice].kill_pending)
voices3135drivers/sound/gus_wave.cguswave_kill_note (voices[voice].dev_pending, voice,
voices3136drivers/sound/gus_wave.cvoices[voice].note_pending, 0);
voices3138drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voices3140drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voices3141drivers/sound/gus_wave.cvoices[voice].sample_pending);
voices3142drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voices65drivers/sound/opl3.cstatic struct voice_info voices[MAX_VOICE];
voices309drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
voices311drivers/sound/opl3.cvoices[voice].keyon_byte = 0;
voices312drivers/sound/opl3.cvoices[voice].bender = 0;
voices313drivers/sound/opl3.cvoices[voice].bender_range = 200;  /*
voices316drivers/sound/opl3.cvoices[voice].orig_freq = 0;
voices317drivers/sound/opl3.cvoices[voice].current_freq = 0;
voices318drivers/sound/opl3.cvoices[voice].mode = 0;
voices451drivers/sound/opl3.cif (voices[voice].mode == 0)
voices454drivers/sound/opl3.cif (voices[voice].mode == 2)
voices706drivers/sound/opl3.cvoices[voice].mode = voice_mode;
voices710drivers/sound/opl3.cfreq = voices[voice].orig_freq = note_to_freq (note) / 1000;
voices717drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voices718drivers/sound/opl3.cvoices[voice].current_freq = freq;
voices732drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voices957drivers/sound/opl3.cif (voices[voice].mode == 4)
voices1013drivers/sound/opl3.cvoices[voice].bender = value;
voices1016drivers/sound/opl3.cif (!(voices[voice].keyon_byte & 0x20))
voices1021drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voices1022drivers/sound/opl3.cvoices[voice].current_freq = freq;
voices1039drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voices1056drivers/sound/opl3.cvoices[voice].bender_range = value;