taglinefilesource code
voice151drivers/sound/dev_table.hint (*kill_note) (int dev, int voice, int note, int velocity);
voice152drivers/sound/dev_table.hint (*start_note) (int dev, int voice, int note, int velocity);
voice153drivers/sound/dev_table.hint (*set_instr) (int dev, int voice, int instr);
voice158drivers/sound/dev_table.hvoid (*aftertouch) (int dev, int voice, int pressure);
voice159drivers/sound/dev_table.hvoid (*controller) (int dev, int voice, int ctrl_num, int value);
voice160drivers/sound/dev_table.hvoid (*panning) (int dev, int voice, int value);
voice165drivers/sound/gus_wave.cstatic void     compute_and_set_volume (int voice, int volume, int ramp_time);
voice168drivers/sound/gus_wave.cstatic void     compute_volume (int voice, int volume);
voice169drivers/sound/gus_wave.cstatic void     do_volume_irq (int voice);
voice344drivers/sound/gus_wave.cgus_select_voice (int voice)
voice346drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice349drivers/sound/gus_wave.cOUTB (voice, u_Voice);
voice456drivers/sound/gus_wave.cgus_set_voice_pos (int voice, long position)
voice460drivers/sound/gus_wave.cif ((sample_no = sample_map[voice]) != -1)
voice462drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice463drivers/sound/gus_wave.cvoices[voice].offset_pending = position;
voice470drivers/sound/gus_wave.cgus_voice_init (int voice)
voice475drivers/sound/gus_wave.cgus_select_voice (voice);
voice480drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice486drivers/sound/gus_wave.cgus_voice_init2 (int voice)
voice488drivers/sound/gus_wave.cvoices[voice].panning = 0;
voice489drivers/sound/gus_wave.cvoices[voice].mode = 0;
voice490drivers/sound/gus_wave.cvoices[voice].orig_freq = 20000;
voice491drivers/sound/gus_wave.cvoices[voice].current_freq = 20000;
voice492drivers/sound/gus_wave.cvoices[voice].bender = 0;
voice493drivers/sound/gus_wave.cvoices[voice].bender_range = 200;
voice494drivers/sound/gus_wave.cvoices[voice].initial_volume = 0;
voice495drivers/sound/gus_wave.cvoices[voice].current_volume = 0;
voice496drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice497drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 0;
voice498drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice499drivers/sound/gus_wave.cvoices[voice].volume_irq_parm = 0;
voice500drivers/sound/gus_wave.cvoices[voice].env_phase = 0;
voice501drivers/sound/gus_wave.cvoices[voice].main_vol = 127;
voice502drivers/sound/gus_wave.cvoices[voice].patch_vol = 127;
voice503drivers/sound/gus_wave.cvoices[voice].expression_vol = 127;
voice504drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice508drivers/sound/gus_wave.cstep_envelope (int voice)
voice514drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
voice517drivers/sound/gus_wave.cgus_select_voice (voice);
voice526drivers/sound/gus_wave.cif (voices[voice].env_phase >= 5)
voice528drivers/sound/gus_wave.cgus_voice_init (voice);
voice532drivers/sound/gus_wave.cprev_vol = voices[voice].current_volume;
voice533drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
voice534drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice535drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
voice536drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];
voice539drivers/sound/gus_wave.cgus_select_voice (voice);
voice546drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_ENVELOPE;
voice551drivers/sound/gus_wave.cstep_envelope (voice);  /* Continue the envelope on the next step */
voice569drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
voice574drivers/sound/gus_wave.cinit_envelope (int voice)
voice576drivers/sound/gus_wave.cvoices[voice].env_phase = -1;
voice577drivers/sound/gus_wave.cvoices[voice].current_volume = 64;
voice579drivers/sound/gus_wave.cstep_envelope (voice);
voice583drivers/sound/gus_wave.cstart_release (int voice, long int flags)
voice588drivers/sound/gus_wave.cvoices[voice].env_phase = 2;  /* Will be incremented by step_envelope */
voice590drivers/sound/gus_wave.cvoices[voice].current_volume =
voice591drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice594drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
voice597drivers/sound/gus_wave.cstep_envelope (voice);
voice601drivers/sound/gus_wave.cgus_voice_fade (int voice)
voice603drivers/sound/gus_wave.cint             instr_no = sample_map[voice], is16bits;
voice607drivers/sound/gus_wave.cgus_select_voice (voice);
voice612drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice619drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice621drivers/sound/gus_wave.cstart_release (voice, flags);
voice632drivers/sound/gus_wave.cgus_voice_init (voice);
voice639drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice869drivers/sound/gus_wave.cguswave_set_instr (int dev, int voice, int instr_no)
voice876drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice879drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice881drivers/sound/gus_wave.cvoices[voice].sample_pending = instr_no;
voice886drivers/sound/gus_wave.cpatch_map[voice] = -1;
voice890drivers/sound/gus_wave.cprintk ("GUS: Undefined patch %d for voice %d\n", instr_no, voice);
voice897drivers/sound/gus_wave.csample_no, instr_no, voice);
voice901drivers/sound/gus_wave.csample_map[voice] = sample_no;
voice902drivers/sound/gus_wave.cpatch_map[voice] = instr_no;
voice907drivers/sound/gus_wave.cguswave_kill_note (int dev, int voice, int note, int velocity)
voice912drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0xffff;
voice913drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice915drivers/sound/gus_wave.cvoices[voice].kill_pending = 1;
voice921drivers/sound/gus_wave.cgus_voice_fade (voice);
voice928drivers/sound/gus_wave.cguswave_aftertouch (int dev, int voice, int pressure)
voice935drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice938drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2)
voice944drivers/sound/gus_wave.cgus_select_voice (voice);
voice946drivers/sound/gus_wave.ccompute_and_set_volume (voice, 255, 0);  /* Back to original volume */
voice951drivers/sound/gus_wave.chi_limit = voices[voice].current_volume;
voice957drivers/sound/gus_wave.cgus_select_voice (voice);
voice970drivers/sound/gus_wave.cguswave_panning (int dev, int voice, int value)
voice972drivers/sound/gus_wave.cif (voice >= 0 || voice < 32)
voice973drivers/sound/gus_wave.cvoices[voice].panning = value;
voice984drivers/sound/gus_wave.ccompute_volume (int voice, int volume)
voice987drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice992drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice993drivers/sound/gus_wave.cgus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol,
voice994drivers/sound/gus_wave.cvoices[voice].expression_vol,
voice995drivers/sound/gus_wave.cvoices[voice].patch_vol);
voice999drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1000drivers/sound/gus_wave.cgus_linear_vol (volume, voices[voice].main_vol);
voice1004drivers/sound/gus_wave.cvoices[voice].initial_volume = volume_base +
voice1005drivers/sound/gus_wave.c(voices[voice].midi_volume * volume_scale);
voice1008drivers/sound/gus_wave.cif (voices[voice].initial_volume > 4030)
voice1009drivers/sound/gus_wave.cvoices[voice].initial_volume = 4030;
voice1013drivers/sound/gus_wave.ccompute_and_set_volume (int voice, int volume, int ramp_time)
voice1018drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1019drivers/sound/gus_wave.cvoices[voice].current_volume = voices[voice].initial_volume;
voice1026drivers/sound/gus_wave.cgus_select_voice (voice);
voice1029drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
voice1072drivers/sound/gus_wave.cdynamic_volume_change (int voice)
voice1078drivers/sound/gus_wave.cgus_select_voice (voice);
voice1085drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
voice1087drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1096drivers/sound/gus_wave.cgus_select_voice (voice);
voice1102drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1106drivers/sound/gus_wave.cif (voices[voice].env_phase < 0)
voice1109drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice1114drivers/sound/gus_wave.cguswave_controller (int dev, int voice, int ctrl_num, int value)
voice1119drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1125drivers/sound/gus_wave.cvoices[voice].bender = value;
voice1127drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1129drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voice1130drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1131drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1134drivers/sound/gus_wave.cgus_select_voice (voice);
voice1141drivers/sound/gus_wave.cvoices[voice].bender_range = value;
voice1148drivers/sound/gus_wave.cvoices[voice].expression_vol = value;
voice1149drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1150drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1155drivers/sound/gus_wave.cvoices[voice].panning = (value * 2) - 128;
voice1162drivers/sound/gus_wave.cvoices[voice].main_vol = value;
voice1163drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1164drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1173drivers/sound/gus_wave.cguswave_start_note2 (int dev, int voice, int note_num, int volume)
voice1180drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1188drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1190drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice1191drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1195drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 1);
voice1199drivers/sound/gus_wave.cif ((patch = patch_map[voice]) == -1)
voice1247drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
voice1248drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
voice1250drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1256drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
voice1257drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
voice1261drivers/sound/gus_wave.csample_map[voice] = sample;
voice1268drivers/sound/gus_wave.cvoices[voice].orig_freq = freq;
voice1275drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender,
voice1276drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1277drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1279drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
voice1299drivers/sound/gus_wave.cgus_select_voice (voice);
voice1305drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1307drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1308drivers/sound/gus_wave.cinit_envelope (voice);
voice1311drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 0);
voice1314drivers/sound/gus_wave.cgus_select_voice (voice);
voice1318drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);  /* start=end */
voice1320drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending,
voice1334drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);
voice1346drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = LMODE_FINISH;  /* Ramp down at the end */
voice1347drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 1;
voice1368drivers/sound/gus_wave.cguswave_start_note (int dev, int voice, int note_num, int volume)
voice1377drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice1378drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1382drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1387drivers/sound/gus_wave.cgus_select_voice (voice);
voice1392drivers/sound/gus_wave.cvoices[voice].offset_pending = 0;
voice1393drivers/sound/gus_wave.cvoices[voice].kill_pending = 0;
voice1394drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice1395drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice1397drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice1400drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice1401drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice1402drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice1408drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1412drivers/sound/gus_wave.cvoices[voice].dev_pending = dev;
voice1413drivers/sound/gus_wave.cvoices[voice].note_pending = note_num;
voice1414drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1415drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_START_NOTE;
voice1723drivers/sound/gus_wave.cint             voice, cmd;
voice1728drivers/sound/gus_wave.cvoice = event[3];
voice1733drivers/sound/gus_wave.cif ((voices[voice].volume_irq_mode == VMODE_START_NOTE) &&
voice1735drivers/sound/gus_wave.cdo_volume_irq (voice);
voice1742drivers/sound/gus_wave.cgus_select_voice (voice);
voice1748drivers/sound/gus_wave.cguswave_set_instr (dev, voice, p1);
voice1753drivers/sound/gus_wave.cgus_select_voice (voice);
voice1761drivers/sound/gus_wave.cgus_select_voice (voice);
voice1767drivers/sound/gus_wave.cgus_voice_fade (voice);
voice1772drivers/sound/gus_wave.cgus_select_voice (voice);
voice1780drivers/sound/gus_wave.cgus_select_voice (voice);
voice1787drivers/sound/gus_wave.cgus_select_voice (voice);
voice1794drivers/sound/gus_wave.cgus_select_voice (voice);
voice1800drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1801drivers/sound/gus_wave.cvoices[voice].current_volume = p1;
voice1805drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1808drivers/sound/gus_wave.cgus_select_voice (voice);
voice1814drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1817drivers/sound/gus_wave.cgus_select_voice (voice);
voice1823drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1826drivers/sound/gus_wave.cgus_select_voice (voice);
voice1833drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1836drivers/sound/gus_wave.cgus_select_voice (voice);
voice1843drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1846drivers/sound/gus_wave.cgus_select_voice (voice);
voice1858drivers/sound/gus_wave.cgus_select_voice (voice);
voice1859drivers/sound/gus_wave.cgus_set_voice_pos (voice, plong);
voice2021drivers/sound/gus_wave.cint             voice;
voice2025drivers/sound/gus_wave.cfor (voice = 0; voice < gus_sampling_channels; voice++)
voice2027drivers/sound/gus_wave.cgus_select_voice (voice);
voice2404drivers/sound/gus_wave.cguswave_bender (int dev, int voice, int value)
voice2409drivers/sound/gus_wave.cvoices[voice].bender = value - 8192;
voice2410drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voice2411drivers/sound/gus_wave.cvoices[voice].bender_range);
voice2412drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice2415drivers/sound/gus_wave.cgus_select_voice (voice);
voice2760drivers/sound/gus_wave.cint             voice;
voice2770drivers/sound/gus_wave.cfor (voice = 0; voice < nr_voices; voice++)
voice2771drivers/sound/gus_wave.cdynamic_volume_change (voice);  /* Apply the new vol */
voice3006drivers/sound/gus_wave.cdo_loop_irq (int voice)
voice3013drivers/sound/gus_wave.cgus_select_voice (voice);
voice3021drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
voice3022drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice3023drivers/sound/gus_wave.cparm = voices[voice].loop_irq_parm;
voice3038drivers/sound/gus_wave.cgus_voice_init (voice);
voice3048drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice3095drivers/sound/gus_wave.cdo_volume_irq (int voice)
voice3103drivers/sound/gus_wave.cgus_select_voice (voice);
voice3111drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
voice3112drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice3113drivers/sound/gus_wave.cparm = voices[voice].volume_irq_parm;
voice3121drivers/sound/gus_wave.cgus_voice_init (voice);
voice3127drivers/sound/gus_wave.cstep_envelope (voice);
voice3132drivers/sound/gus_wave.cguswave_start_note2 (voices[voice].dev_pending, voice,
voice3133drivers/sound/gus_wave.cvoices[voice].note_pending, voices[voice].volume_pending);
voice3134drivers/sound/gus_wave.cif (voices[voice].kill_pending)
voice3135drivers/sound/gus_wave.cguswave_kill_note (voices[voice].dev_pending, voice,
voice3136drivers/sound/gus_wave.cvoices[voice].note_pending, 0);
voice3138drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice3140drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice3141drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice3142drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice3156drivers/sound/gus_wave.cunsigned char   src, voice;
voice3163drivers/sound/gus_wave.cvoice = src & 0x1f;
voice3171drivers/sound/gus_wave.cvoice_bit = 1 << voice;
voice3176drivers/sound/gus_wave.cif (!(wave_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3182drivers/sound/gus_wave.cdo_loop_irq (voice);
voice3188drivers/sound/gus_wave.cif (!(volume_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3194drivers/sound/gus_wave.cdo_volume_irq (voice);
voice89drivers/sound/opl3.cstatic int      opl3_kill_note (int dev, int voice, int note, int velocity);
voice293drivers/sound/opl3.copl3_kill_note (int dev, int voice, int note, int velocity)
voice297drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice300drivers/sound/opl3.cvoice_alloc->map[voice] = 0;
voice302drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice304drivers/sound/opl3.cDEB (printk ("Kill note %d\n", voice));
voice309drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
voice311drivers/sound/opl3.cvoices[voice].keyon_byte = 0;
voice312drivers/sound/opl3.cvoices[voice].bender = 0;
voice313drivers/sound/opl3.cvoices[voice].bender_range = 200;  /*
voice316drivers/sound/opl3.cvoices[voice].orig_freq = 0;
voice317drivers/sound/opl3.cvoices[voice].current_freq = 0;
voice318drivers/sound/opl3.cvoices[voice].mode = 0;
voice343drivers/sound/opl3.copl3_set_instr (int dev, int voice, int instr_no)
voice345drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice351drivers/sound/opl3.cactive_instrument[voice] = &instrmap[instr_no];
voice432drivers/sound/opl3.cset_voice_volume (int voice, int volume)
voice438drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice441drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice443drivers/sound/opl3.cinstr = active_instrument[voice];
voice451drivers/sound/opl3.cif (voices[voice].mode == 0)
voice454drivers/sound/opl3.cif (voices[voice].mode == 2)
voice540drivers/sound/opl3.copl3_start_note (int dev, int voice, int note, int volume)
voice547drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice550drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice559drivers/sound/opl3.cset_voice_volume (voice, volume);
voice587drivers/sound/opl3.cinstr = active_instrument[voice];
voice596drivers/sound/opl3.cvoice);
voice706drivers/sound/opl3.cvoices[voice].mode = voice_mode;
voice708drivers/sound/opl3.cset_voice_volume (voice, volume);
voice710drivers/sound/opl3.cfreq = voices[voice].orig_freq = note_to_freq (note) / 1000;
voice717drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voice718drivers/sound/opl3.cvoices[voice].current_freq = freq;
voice732drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voice916drivers/sound/opl3.copl3_panning (int dev, int voice, int pressure)
voice932drivers/sound/opl3.copl3_aftertouch (int dev, int voice, int pressure)
voice938drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice941drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice943drivers/sound/opl3.cDEB (printk ("Aftertouch %d\n", voice));
voice952drivers/sound/opl3.cinstr = active_instrument[voice];
voice957drivers/sound/opl3.cif (voices[voice].mode == 4)
voice1002drivers/sound/opl3.cbend_pitch (int dev, int voice, int value)
voice1008drivers/sound/opl3.cmap = &physical_voices[logical_voices[voice]];
voice1013drivers/sound/opl3.cvoices[voice].bender = value;
voice1016drivers/sound/opl3.cif (!(voices[voice].keyon_byte & 0x20))
voice1021drivers/sound/opl3.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range);
voice1022drivers/sound/opl3.cvoices[voice].current_freq = freq;
voice1039drivers/sound/opl3.cvoices[voice].keyon_byte = data;
voice1044drivers/sound/opl3.copl3_controller (int dev, int voice, int ctrl_num, int value)
voice1046drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice1052drivers/sound/opl3.cbend_pitch (dev, voice, value);
voice1056drivers/sound/opl3.cvoices[voice].bender_range = value;
voice1068drivers/sound/opl3.copl3_bender (int dev, int voice, int value)
voice1070drivers/sound/opl3.cif (voice < 0 || voice >= nr_voices)
voice1073drivers/sound/opl3.cbend_pitch (dev, voice, value);
voice458drivers/sound/sequencer.cint             voice;
voice462drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
voice464drivers/sound/sequencer.csynth_devs[dev]->alloc.map[voice] = key;
voice465drivers/sound/sequencer.creturn voice;
voice476drivers/sound/sequencer.cint             voice = -1;
voice488drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
voice503drivers/sound/sequencer.cif (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice)
voice505drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
voice508drivers/sound/sequencer.cif (voice == -1)
voice509drivers/sound/sequencer.cvoice = chn;
voice513drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, voice,
voice517drivers/sound/sequencer.csynth_devs[dev]->start_note (dev, voice, note, parm);
voice521drivers/sound/sequencer.cif (voice == -1)
voice522drivers/sound/sequencer.cvoice = chn;
voice523drivers/sound/sequencer.csynth_devs[dev]->kill_note (dev, voice, note, parm);
voice893include/linux/soundcard.h#define SEQ_V2_X_CONTROL(dev, voice, controller, value)  {_SEQ_NEEDBUF(8);\
voice897include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (voice);\
voice906include/linux/soundcard.h#define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
voice907include/linux/soundcard.h#define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
voice908include/linux/soundcard.h#define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)
voice909include/linux/soundcard.h#define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)
voice910include/linux/soundcard.h#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
voice912include/linux/soundcard.h#define SEQ_PANNING(dev, voice, pos)  {_SEQ_NEEDBUF(8);\
voice916include/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, \