taglinefilesource code
voice168drivers/sound/dev_table.hint (*kill_note) (int dev, int voice, int note, int velocity);
voice169drivers/sound/dev_table.hint (*start_note) (int dev, int voice, int note, int velocity);
voice170drivers/sound/dev_table.hint (*set_instr) (int dev, int voice, int instr);
voice175drivers/sound/dev_table.hvoid (*aftertouch) (int dev, int voice, int pressure);
voice176drivers/sound/dev_table.hvoid (*controller) (int dev, int voice, int ctrl_num, int value);
voice177drivers/sound/dev_table.hvoid (*panning) (int dev, int voice, int value);
voice182drivers/sound/dev_table.hvoid (*setup_voice) (int dev, int voice, int chn);
voice169drivers/sound/gus_wave.cstatic void     compute_and_set_volume (int voice, int volume, int ramp_time);
voice172drivers/sound/gus_wave.cstatic void     compute_volume (int voice, int volume);
voice173drivers/sound/gus_wave.cstatic void     do_volume_irq (int voice);
voice348drivers/sound/gus_wave.cgus_select_voice (int voice)
voice350drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice353drivers/sound/gus_wave.cOUTB (voice, u_Voice);
voice460drivers/sound/gus_wave.cgus_set_voice_pos (int voice, long position)
voice464drivers/sound/gus_wave.cif ((sample_no = sample_map[voice]) != -1)
voice466drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice467drivers/sound/gus_wave.cvoices[voice].offset_pending = position;
voice474drivers/sound/gus_wave.cgus_voice_init (int voice)
voice479drivers/sound/gus_wave.cgus_select_voice (voice);
voice485drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice486drivers/sound/gus_wave.cvoice_alloc->alloc_times[voice] = 0;
voice492drivers/sound/gus_wave.cgus_voice_init2 (int voice)
voice494drivers/sound/gus_wave.cvoices[voice].panning = 0;
voice495drivers/sound/gus_wave.cvoices[voice].mode = 0;
voice496drivers/sound/gus_wave.cvoices[voice].orig_freq = 20000;
voice497drivers/sound/gus_wave.cvoices[voice].current_freq = 20000;
voice498drivers/sound/gus_wave.cvoices[voice].bender = 0;
voice499drivers/sound/gus_wave.cvoices[voice].bender_range = 200;
voice500drivers/sound/gus_wave.cvoices[voice].initial_volume = 0;
voice501drivers/sound/gus_wave.cvoices[voice].current_volume = 0;
voice502drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice503drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 0;
voice504drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice505drivers/sound/gus_wave.cvoices[voice].volume_irq_parm = 0;
voice506drivers/sound/gus_wave.cvoices[voice].env_phase = 0;
voice507drivers/sound/gus_wave.cvoices[voice].main_vol = 127;
voice508drivers/sound/gus_wave.cvoices[voice].patch_vol = 127;
voice509drivers/sound/gus_wave.cvoices[voice].expression_vol = 127;
voice510drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice514drivers/sound/gus_wave.cstep_envelope (int voice)
voice520drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
voice523drivers/sound/gus_wave.cgus_select_voice (voice);
voice532drivers/sound/gus_wave.cif (voices[voice].env_phase >= 5)
voice534drivers/sound/gus_wave.cgus_voice_init (voice);
voice538drivers/sound/gus_wave.cprev_vol = voices[voice].current_volume;
voice539drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
voice540drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice541drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
voice542drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];
voice545drivers/sound/gus_wave.cgus_select_voice (voice);
voice552drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_ENVELOPE;
voice557drivers/sound/gus_wave.cstep_envelope (voice);  /* Continue the envelope on the next step */
voice575drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
voice580drivers/sound/gus_wave.cinit_envelope (int voice)
voice582drivers/sound/gus_wave.cvoices[voice].env_phase = -1;
voice583drivers/sound/gus_wave.cvoices[voice].current_volume = 64;
voice585drivers/sound/gus_wave.cstep_envelope (voice);
voice589drivers/sound/gus_wave.cstart_release (int voice, long int flags)
voice594drivers/sound/gus_wave.cvoices[voice].env_phase = 2;  /* Will be incremented by step_envelope */
voice596drivers/sound/gus_wave.cvoices[voice].current_volume =
voice597drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice600drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
voice603drivers/sound/gus_wave.cstep_envelope (voice);
voice607drivers/sound/gus_wave.cgus_voice_fade (int voice)
voice609drivers/sound/gus_wave.cint             instr_no = sample_map[voice], is16bits;
voice613drivers/sound/gus_wave.cgus_select_voice (voice);
voice618drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice625drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice627drivers/sound/gus_wave.cstart_release (voice, flags);
voice638drivers/sound/gus_wave.cgus_voice_init (voice);
voice645drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice899drivers/sound/gus_wave.cguswave_set_instr (int dev, int voice, int instr_no)
voice906drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice909drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice911drivers/sound/gus_wave.cvoices[voice].sample_pending = instr_no;
voice916drivers/sound/gus_wave.cpatch_map[voice] = -1;
voice920drivers/sound/gus_wave.cprintk ("GUS: Undefined patch %d for voice %d\n", instr_no, voice);
voice927drivers/sound/gus_wave.csample_no, instr_no, voice);
voice931drivers/sound/gus_wave.csample_map[voice] = sample_no;
voice932drivers/sound/gus_wave.cpatch_map[voice] = instr_no;
voice937drivers/sound/gus_wave.cguswave_kill_note (int dev, int voice, int note, int velocity)
voice943drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice945drivers/sound/gus_wave.cvoices[voice].kill_pending = 1;
voice951drivers/sound/gus_wave.cgus_voice_fade (voice);
voice959drivers/sound/gus_wave.cguswave_aftertouch (int dev, int voice, int pressure)
voice965drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice968drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2)
voice974drivers/sound/gus_wave.cgus_select_voice (voice);
voice976drivers/sound/gus_wave.ccompute_and_set_volume (voice, 255, 0);  /* Back to original volume */
voice981drivers/sound/gus_wave.chi_limit = voices[voice].current_volume;
voice987drivers/sound/gus_wave.cgus_select_voice (voice);
voice1001drivers/sound/gus_wave.cguswave_panning (int dev, int voice, int value)
voice1003drivers/sound/gus_wave.cif (voice >= 0 || voice < 32)
voice1004drivers/sound/gus_wave.cvoices[voice].panning = value;
voice1015drivers/sound/gus_wave.ccompute_volume (int voice, int volume)
voice1018drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice1023drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1024drivers/sound/gus_wave.cgus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol,
voice1025drivers/sound/gus_wave.cvoices[voice].expression_vol,
voice1026drivers/sound/gus_wave.cvoices[voice].patch_vol);
voice1030drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1031drivers/sound/gus_wave.cgus_linear_vol (volume, voices[voice].main_vol);
voice1035drivers/sound/gus_wave.cvoices[voice].initial_volume = volume_base +
voice1036drivers/sound/gus_wave.c(voices[voice].midi_volume * volume_scale);
voice1039drivers/sound/gus_wave.cif (voices[voice].initial_volume > 4030)
voice1040drivers/sound/gus_wave.cvoices[voice].initial_volume = 4030;
voice1044drivers/sound/gus_wave.ccompute_and_set_volume (int voice, int volume, int ramp_time)
voice1049drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1050drivers/sound/gus_wave.cvoices[voice].current_volume = voices[voice].initial_volume;
voice1057drivers/sound/gus_wave.cgus_select_voice (voice);
voice1060drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
voice1103drivers/sound/gus_wave.cdynamic_volume_change (int voice)
voice1109drivers/sound/gus_wave.cgus_select_voice (voice);
voice1116drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
voice1118drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1127drivers/sound/gus_wave.cgus_select_voice (voice);
voice1133drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1137drivers/sound/gus_wave.cif (voices[voice].env_phase < 0)
voice1140drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice1145drivers/sound/gus_wave.cguswave_controller (int dev, int voice, int ctrl_num, int value)
voice1150drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1156drivers/sound/gus_wave.cvoices[voice].bender = value;
voice1158drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1160drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voice1161drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1162drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1165drivers/sound/gus_wave.cgus_select_voice (voice);
voice1172drivers/sound/gus_wave.cvoices[voice].bender_range = value;
voice1179drivers/sound/gus_wave.cvoices[voice].expression_vol = value;
voice1180drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1181drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1186drivers/sound/gus_wave.cvoices[voice].panning = (value * 2) - 128;
voice1193drivers/sound/gus_wave.cvoices[voice].main_vol = value;
voice1194drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1195drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1204drivers/sound/gus_wave.cguswave_start_note2 (int dev, int voice, int note_num, int volume)
voice1211drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1219drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1221drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice1222drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1226drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 1);
voice1230drivers/sound/gus_wave.cif ((patch = patch_map[voice]) == -1)
voice1278drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
voice1279drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
voice1281drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1287drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
voice1288drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
voice1292drivers/sound/gus_wave.csample_map[voice] = sample;
voice1299drivers/sound/gus_wave.cvoices[voice].orig_freq = freq;
voice1306drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender,
voice1307drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1308drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1310drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
voice1330drivers/sound/gus_wave.cgus_select_voice (voice);
voice1336drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1338drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1339drivers/sound/gus_wave.cinit_envelope (voice);
voice1342drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 0);
voice1345drivers/sound/gus_wave.cgus_select_voice (voice);
voice1349drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);  /* start=end */
voice1351drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending,
voice1365drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);
voice1377drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = LMODE_FINISH;  /* Ramp down at the end */
voice1378drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 1;
voice1399drivers/sound/gus_wave.cguswave_start_note (int dev, int voice, int note_num, int volume)
voice1408drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice1409drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1412drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1417drivers/sound/gus_wave.cgus_select_voice (voice);
voice1422drivers/sound/gus_wave.cvoices[voice].offset_pending = 0;
voice1423drivers/sound/gus_wave.cvoices[voice].kill_pending = 0;
voice1424drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice1425drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice1427drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice1430drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice1431drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice1432drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice1434drivers/sound/gus_wave.cgus_select_voice (voice);  /* Reselect the voice (just to be sure) */
voice1439drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1443drivers/sound/gus_wave.cvoices[voice].dev_pending = dev;
voice1444drivers/sound/gus_wave.cvoices[voice].note_pending = note_num;
voice1445drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1446drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_START_NOTE;
voice1758drivers/sound/gus_wave.cint             voice, cmd;
voice1763drivers/sound/gus_wave.cvoice = event[3];
voice1768drivers/sound/gus_wave.cif ((voices[voice].volume_irq_mode == VMODE_START_NOTE) &&
voice1770drivers/sound/gus_wave.cdo_volume_irq (voice);
voice1777drivers/sound/gus_wave.cgus_select_voice (voice);
voice1783drivers/sound/gus_wave.cguswave_set_instr (dev, voice, p1);
voice1788drivers/sound/gus_wave.cgus_select_voice (voice);
voice1796drivers/sound/gus_wave.cgus_select_voice (voice);
voice1802drivers/sound/gus_wave.cgus_voice_fade (voice);
voice1807drivers/sound/gus_wave.cgus_select_voice (voice);
voice1815drivers/sound/gus_wave.cgus_select_voice (voice);
voice1822drivers/sound/gus_wave.cgus_select_voice (voice);
voice1829drivers/sound/gus_wave.cgus_select_voice (voice);
voice1835drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1836drivers/sound/gus_wave.cvoices[voice].current_volume = p1;
voice1840drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1843drivers/sound/gus_wave.cgus_select_voice (voice);
voice1849drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1852drivers/sound/gus_wave.cgus_select_voice (voice);
voice1858drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1861drivers/sound/gus_wave.cgus_select_voice (voice);
voice1868drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1871drivers/sound/gus_wave.cgus_select_voice (voice);
voice1878drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1881drivers/sound/gus_wave.cgus_select_voice (voice);
voice1893drivers/sound/gus_wave.cgus_select_voice (voice);
voice1894drivers/sound/gus_wave.cgus_set_voice_pos (voice, plong);
voice2076drivers/sound/gus_wave.cint             voice;
voice2079drivers/sound/gus_wave.cfor (voice = 0; voice < gus_sampling_channels; voice++)
voice2082drivers/sound/gus_wave.cgus_select_voice (voice);
voice2459drivers/sound/gus_wave.cguswave_setup_voice (int dev, int voice, int chn)
voice2464drivers/sound/gus_wave.cguswave_set_instr (dev, voice, info->pgm_num);
voice2466drivers/sound/gus_wave.cvoices[voice].expression_vol =
voice2468drivers/sound/gus_wave.cvoices[voice].main_vol =
voice2470drivers/sound/gus_wave.cvoices[voice].panning =
voice2472drivers/sound/gus_wave.cvoices[voice].bender = info->bender_value;
voice2476drivers/sound/gus_wave.cguswave_bender (int dev, int voice, int value)
voice2481drivers/sound/gus_wave.cvoices[voice].bender = value - 8192;
voice2482drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voice2483drivers/sound/gus_wave.cvoices[voice].bender_range);
voice2484drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice2487drivers/sound/gus_wave.cgus_select_voice (voice);
voice2843drivers/sound/gus_wave.cint             voice;
voice2853drivers/sound/gus_wave.cfor (voice = 0; voice < nr_voices; voice++)
voice2854drivers/sound/gus_wave.cdynamic_volume_change (voice);  /* Apply the new vol */
voice3104drivers/sound/gus_wave.cdo_loop_irq (int voice)
voice3111drivers/sound/gus_wave.cgus_select_voice (voice);
voice3120drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice3122drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
voice3123drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice3124drivers/sound/gus_wave.cparm = voices[voice].loop_irq_parm;
voice3139drivers/sound/gus_wave.cgus_voice_init (voice);
voice3149drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice3199drivers/sound/gus_wave.cdo_volume_irq (int voice)
voice3207drivers/sound/gus_wave.cgus_select_voice (voice);
voice3215drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
voice3216drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice3217drivers/sound/gus_wave.cparm = voices[voice].volume_irq_parm;
voice3225drivers/sound/gus_wave.cgus_voice_init (voice);
voice3231drivers/sound/gus_wave.cstep_envelope (voice);
voice3236drivers/sound/gus_wave.cguswave_start_note2 (voices[voice].dev_pending, voice,
voice3237drivers/sound/gus_wave.cvoices[voice].note_pending, voices[voice].volume_pending);
voice3238drivers/sound/gus_wave.cif (voices[voice].kill_pending)
voice3239drivers/sound/gus_wave.cguswave_kill_note (voices[voice].dev_pending, voice,
voice3240drivers/sound/gus_wave.cvoices[voice].note_pending, 0);
voice3242drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice3244drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice3245drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice3246drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice3260drivers/sound/gus_wave.cunsigned char   src, voice;
voice3267drivers/sound/gus_wave.cvoice = src & 0x1f;
voice3275drivers/sound/gus_wave.cvoice_bit = 1 << voice;
voice3280drivers/sound/gus_wave.cif (!(wave_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3286drivers/sound/gus_wave.cdo_loop_irq (voice);
voice3292drivers/sound/gus_wave.cif (!(volume_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3298drivers/sound/gus_wave.cdo_volume_irq (voice);
voice640drivers/sound/midi_synth.cmidi_synth_setup_voice (int dev, int voice, int channel)
voice17drivers/sound/midi_synth.hvoid midi_synth_setup_voice (int dev, int voice, int chn);
voice90drivers/sound/opl3.cstatic int      opl3_kill_note (int dev, int voice, int note, int velocity);
voice305drivers/sound/opl3.copl3_kill_note (int dev, int voice, int note, int velocity)
voice309drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice312drivers/sound/opl3.cvoice_alloc->map[voice] = 0;
voice314drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice316drivers/sound/opl3.cDEB (printk ("Kill note %d\n", voice));
voice321drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
voice323drivers/sound/opl3.cvoices[voice].keyon_byte = 0;
voice324drivers/sound/opl3.cvoices[voice].bender = 0;
voice325drivers/sound/opl3.cvoices[voice].bender_range = 200;  /*
voice328drivers/sound/opl3.cvoices[voice].orig_freq = 0;
voice329drivers/sound/opl3.cvoices[voice].current_freq = 0;
voice330drivers/sound/opl3.cvoices[voice].mode = 0;
voice355drivers/sound/opl3.copl3_set_instr (int dev, int voice, int instr_no)
voice357drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice363drivers/sound/opl3.cactive_instrument[voice] = &instrmap[instr_no];
voice444drivers/sound/opl3.cset_voice_volume (int voice, int volume)
voice450drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice453drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice455drivers/sound/opl3.cinstr = active_instrument[voice];
voice463drivers/sound/opl3.cif (voices[voice].mode == 0)
voice466drivers/sound/opl3.cif (voices[voice].mode == 2)
voice552drivers/sound/opl3.copl3_start_note (int dev, int voice, int note, int volume)
voice559drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice562drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice571drivers/sound/opl3.cset_voice_volume (voice, volume);
voice599drivers/sound/opl3.cinstr = active_instrument[voice];
voice608drivers/sound/opl3.cvoice);
voice718drivers/sound/opl3.cvoices[voice].mode = voice_mode;
voice720drivers/sound/opl3.cset_voice_volume (voice, volume);
voice722drivers/sound/opl3.cfreq = voices[voice].orig_freq = note_to_freq (note) / 1000;
voice729drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voice730drivers/sound/opl3.cvoices[voice].current_freq = freq;
voice744drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voice940drivers/sound/opl3.copl3_panning (int dev, int voice, int pressure)
voice956drivers/sound/opl3.copl3_aftertouch (int dev, int voice, int pressure)
voice962drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice965drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice967drivers/sound/opl3.cDEB (printk ("Aftertouch %d\n", voice));
voice976drivers/sound/opl3.cinstr = active_instrument[voice];
voice981drivers/sound/opl3.cif (voices[voice].mode == 4)
voice1026drivers/sound/opl3.cbend_pitch (int dev, int voice, int value)
voice1032drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice1037drivers/sound/opl3.cvoices[voice].bender = value;
voice1040drivers/sound/opl3.cif (!(voices[voice].keyon_byte & 0x20))
voice1045drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voice1046drivers/sound/opl3.cvoices[voice].current_freq = freq;
voice1063drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voice1068drivers/sound/opl3.copl3_controller (int dev, int voice, int ctrl_num, int value)
voice1070drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice1076drivers/sound/opl3.cbend_pitch (dev, voice, value);
voice1080drivers/sound/opl3.cvoices[voice].bender_range = value;
voice1092drivers/sound/opl3.copl3_bender (int dev, int voice, int value)
voice1094drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice1097drivers/sound/opl3.cbend_pitch (dev, voice, value - 8192);
voice1168drivers/sound/opl3.copl3_setup_voice (int dev, int voice, int chn)
voice1173drivers/sound/opl3.copl3_set_instr (dev, voice,
voice1176drivers/sound/opl3.cvoices[voice].bender = info->bender_value;
voice473drivers/sound/sequencer.cint             voice;
voice477drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
voice479drivers/sound/sequencer.csynth_devs[dev]->alloc.map[voice] = key;
voice480drivers/sound/sequencer.csynth_devs[dev]->alloc.alloc_times[voice] =
voice482drivers/sound/sequencer.creturn voice;
voice493drivers/sound/sequencer.cint             voice = -1;
voice505drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
voice520drivers/sound/sequencer.cif (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice)
voice522drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
voice525drivers/sound/sequencer.cif (voice == -1)
voice526drivers/sound/sequencer.cvoice = chn;
voice537drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, voice, 128 + note);
voice545drivers/sound/sequencer.csynth_devs[dev]->setup_voice (dev, voice, chn);
voice548drivers/sound/sequencer.csynth_devs[dev]->start_note (dev, voice, note, parm);
voice552drivers/sound/sequencer.cif (voice == -1)
voice553drivers/sound/sequencer.cvoice = chn;
voice554drivers/sound/sequencer.csynth_devs[dev]->kill_note (dev, voice, note, parm);
voice558drivers/sound/sequencer.cif (voice == -1)
voice559drivers/sound/sequencer.cvoice = chn;
voice560drivers/sound/sequencer.csynth_devs[dev]->aftertouch (dev, voice, parm);
voice984include/linux/soundcard.h#define SEQ_V2_X_CONTROL(dev, voice, controller, value)  {_SEQ_NEEDBUF(8);\
voice988include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (voice);\
voice997include/linux/soundcard.h#define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
voice998include/linux/soundcard.h#define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
voice999include/linux/soundcard.h#define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)
voice1000include/linux/soundcard.h#define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)
voice1001include/linux/soundcard.h#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
voice1003include/linux/soundcard.h#define SEQ_PANNING(dev, voice, pos)  {_SEQ_NEEDBUF(8);\
voice1007include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (voice);\
voice93include/linux/ultrasound.h#define _GUS_CMD(chn, voice, cmd, p1, p2) \
voice96include/linux/ultrasound.h_seqbuf[_seqbufptr+3] = voice;\
voice102include/linux/ultrasound.h#define GUS_VOICESAMPLE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0)  /* OBSOLETE */
voice103include/linux/ultrasound.h#define GUS_VOICEON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0)
voice104include/linux/ultrasound.h#define GUS_VOICEOFF(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0)
voice105include/linux/ultrasound.h#define GUS_VOICEFADE(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0)
voice106include/linux/ultrasound.h#define GUS_VOICEMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0)
voice107include/linux/ultrasound.h#define GUS_VOICEBALA(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0)
voice108include/linux/ultrasound.h#define GUS_VOICEFREQ(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
voice110include/linux/ultrasound.h#define GUS_VOICEVOL(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0)
voice111include/linux/ultrasound.h#define GUS_VOICEVOL2(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0)
voice112include/linux/ultrasound.h#define GUS_RAMPRANGE(chn, voice, low, high)  _GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high))
voice113include/linux/ultrasound.h#define GUS_RAMPRATE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2))
voice114include/linux/ultrasound.h#define GUS_RAMPMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0)
voice115include/linux/ultrasound.h#define GUS_RAMPON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0)
voice116include/linux/ultrasound.h#define GUS_RAMPOFF(chn, voice)      _GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0)
voice117include/linux/ultrasound.h#define GUS_VOLUME_SCALE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2))
voice118include/linux/ultrasound.h#define GUS_VOICE_POS(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICE_POS, \