taglinefilesource code
voice189drivers/sound/dev_table.hint (*kill_note) (int dev, int voice, int note, int velocity);
voice190drivers/sound/dev_table.hint (*start_note) (int dev, int voice, int note, int velocity);
voice191drivers/sound/dev_table.hint (*set_instr) (int dev, int voice, int instr);
voice196drivers/sound/dev_table.hvoid (*aftertouch) (int dev, int voice, int pressure);
voice197drivers/sound/dev_table.hvoid (*controller) (int dev, int voice, int ctrl_num, int value);
voice198drivers/sound/dev_table.hvoid (*panning) (int dev, int voice, int value);
voice203drivers/sound/dev_table.hvoid (*setup_voice) (int dev, int voice, int chn);
voice177drivers/sound/gus_wave.cstatic void     compute_and_set_volume (int voice, int volume, int ramp_time);
voice180drivers/sound/gus_wave.cstatic void     compute_volume (int voice, int volume);
voice181drivers/sound/gus_wave.cstatic void     do_volume_irq (int voice);
voice365drivers/sound/gus_wave.cgus_select_voice (int voice)
voice367drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice370drivers/sound/gus_wave.coutb (voice, u_Voice);
voice477drivers/sound/gus_wave.cgus_set_voice_pos (int voice, long position)
voice481drivers/sound/gus_wave.cif ((sample_no = sample_map[voice]) != -1)
voice483drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice484drivers/sound/gus_wave.cvoices[voice].offset_pending = position;
voice491drivers/sound/gus_wave.cgus_voice_init (int voice)
voice497drivers/sound/gus_wave.cgus_select_voice (voice);
voice503drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice504drivers/sound/gus_wave.cvoice_alloc->alloc_times[voice] = 0;
voice510drivers/sound/gus_wave.cgus_voice_init2 (int voice)
voice512drivers/sound/gus_wave.cvoices[voice].panning = 0;
voice513drivers/sound/gus_wave.cvoices[voice].mode = 0;
voice514drivers/sound/gus_wave.cvoices[voice].orig_freq = 20000;
voice515drivers/sound/gus_wave.cvoices[voice].current_freq = 20000;
voice516drivers/sound/gus_wave.cvoices[voice].bender = 0;
voice517drivers/sound/gus_wave.cvoices[voice].bender_range = 200;
voice518drivers/sound/gus_wave.cvoices[voice].initial_volume = 0;
voice519drivers/sound/gus_wave.cvoices[voice].current_volume = 0;
voice520drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice521drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 0;
voice522drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice523drivers/sound/gus_wave.cvoices[voice].volume_irq_parm = 0;
voice524drivers/sound/gus_wave.cvoices[voice].env_phase = 0;
voice525drivers/sound/gus_wave.cvoices[voice].main_vol = 127;
voice526drivers/sound/gus_wave.cvoices[voice].patch_vol = 127;
voice527drivers/sound/gus_wave.cvoices[voice].expression_vol = 127;
voice528drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice532drivers/sound/gus_wave.cstep_envelope (int voice)
voice538drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
voice542drivers/sound/gus_wave.cgus_select_voice (voice);
voice551drivers/sound/gus_wave.cif (voices[voice].env_phase >= 5)
voice553drivers/sound/gus_wave.cgus_voice_init (voice);
voice557drivers/sound/gus_wave.cprev_vol = voices[voice].current_volume;
voice558drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
voice559drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice560drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
voice561drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];
voice565drivers/sound/gus_wave.cgus_select_voice (voice);
voice572drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_ENVELOPE;
voice577drivers/sound/gus_wave.cstep_envelope (voice);  /* Continue the envelope on the next step */
voice595drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
voice600drivers/sound/gus_wave.cinit_envelope (int voice)
voice602drivers/sound/gus_wave.cvoices[voice].env_phase = -1;
voice603drivers/sound/gus_wave.cvoices[voice].current_volume = 64;
voice605drivers/sound/gus_wave.cstep_envelope (voice);
voice609drivers/sound/gus_wave.cstart_release (int voice, long int flags)
voice614drivers/sound/gus_wave.cvoices[voice].env_phase = 2;  /* Will be incremented by step_envelope */
voice616drivers/sound/gus_wave.cvoices[voice].current_volume =
voice617drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice620drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
voice623drivers/sound/gus_wave.cstep_envelope (voice);
voice627drivers/sound/gus_wave.cgus_voice_fade (int voice)
voice629drivers/sound/gus_wave.cint             instr_no = sample_map[voice], is16bits;
voice634drivers/sound/gus_wave.cgus_select_voice (voice);
voice639drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice646drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice648drivers/sound/gus_wave.cstart_release (voice, flags);
voice659drivers/sound/gus_wave.cgus_voice_init (voice);
voice666drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice921drivers/sound/gus_wave.cguswave_set_instr (int dev, int voice, int instr_no)
voice928drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice931drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice933drivers/sound/gus_wave.cvoices[voice].sample_pending = instr_no;
voice938drivers/sound/gus_wave.cpatch_map[voice] = -1;
voice942drivers/sound/gus_wave.cprintk ("GUS: Undefined patch %d for voice %d\n", instr_no, voice);
voice949drivers/sound/gus_wave.csample_no, instr_no, voice);
voice953drivers/sound/gus_wave.csample_map[voice] = sample_no;
voice954drivers/sound/gus_wave.cpatch_map[voice] = instr_no;
voice959drivers/sound/gus_wave.cguswave_kill_note (int dev, int voice, int note, int velocity)
voice966drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice968drivers/sound/gus_wave.cvoices[voice].kill_pending = 1;
voice974drivers/sound/gus_wave.cgus_voice_fade (voice);
voice982drivers/sound/gus_wave.cguswave_aftertouch (int dev, int voice, int pressure)
voice987drivers/sound/gus_wave.cguswave_panning (int dev, int voice, int value)
voice989drivers/sound/gus_wave.cif (voice >= 0 || voice < 32)
voice990drivers/sound/gus_wave.cvoices[voice].panning = value;
voice1001drivers/sound/gus_wave.ccompute_volume (int voice, int volume)
voice1004drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice1009drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1010drivers/sound/gus_wave.cgus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol,
voice1011drivers/sound/gus_wave.cvoices[voice].expression_vol,
voice1012drivers/sound/gus_wave.cvoices[voice].patch_vol);
voice1016drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1017drivers/sound/gus_wave.cgus_linear_vol (volume, voices[voice].main_vol);
voice1021drivers/sound/gus_wave.cvoices[voice].initial_volume = volume_base +
voice1022drivers/sound/gus_wave.c(voices[voice].midi_volume * volume_scale);
voice1025drivers/sound/gus_wave.cif (voices[voice].initial_volume > 4030)
voice1026drivers/sound/gus_wave.cvoices[voice].initial_volume = 4030;
voice1030drivers/sound/gus_wave.ccompute_and_set_volume (int voice, int volume, int ramp_time)
voice1035drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1036drivers/sound/gus_wave.cvoices[voice].current_volume = voices[voice].initial_volume;
voice1044drivers/sound/gus_wave.cgus_select_voice (voice);
voice1047drivers/sound/gus_wave.ctarget = voices[voice].initial_volume;
voice1090drivers/sound/gus_wave.cdynamic_volume_change (int voice)
voice1097drivers/sound/gus_wave.cgus_select_voice (voice);
voice1104drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
voice1106drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1116drivers/sound/gus_wave.cgus_select_voice (voice);
voice1122drivers/sound/gus_wave.ccompute_and_set_volume (voice, voices[voice].midi_volume, 1);
voice1126drivers/sound/gus_wave.cif (voices[voice].env_phase < 0)
voice1129drivers/sound/gus_wave.ccompute_volume (voice, voices[voice].midi_volume);
voice1134drivers/sound/gus_wave.cguswave_controller (int dev, int voice, int ctrl_num, int value)
voice1139drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1145drivers/sound/gus_wave.cvoices[voice].bender = value;
voice1147drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1149drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value,
voice1150drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1151drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1155drivers/sound/gus_wave.cgus_select_voice (voice);
voice1162drivers/sound/gus_wave.cvoices[voice].bender_range = value;
voice1169drivers/sound/gus_wave.cvoices[voice].expression_vol = value;
voice1170drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1171drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1176drivers/sound/gus_wave.cvoices[voice].panning = (value * 2) - 128;
voice1183drivers/sound/gus_wave.cvoices[voice].main_vol = value;
voice1184drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode != VMODE_START_NOTE)
voice1185drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1194drivers/sound/gus_wave.cguswave_start_note2 (int dev, int voice, int note_num, int volume)
voice1201drivers/sound/gus_wave.cif (voice < 0 || voice > 31)
voice1209drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1211drivers/sound/gus_wave.cvoices[voice].midi_volume = volume;
voice1212drivers/sound/gus_wave.cdynamic_volume_change (voice);
voice1216drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 1);
voice1220drivers/sound/gus_wave.cif ((patch = patch_map[voice]) == -1)
voice1268drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
voice1269drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
voice1271drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1277drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
voice1278drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
voice1282drivers/sound/gus_wave.csample_map[voice] = sample;
voice1289drivers/sound/gus_wave.cvoices[voice].orig_freq = freq;
voice1296drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, voices[voice].bender,
voice1297drivers/sound/gus_wave.cvoices[voice].bender_range);
voice1298drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice1300drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
voice1321drivers/sound/gus_wave.cgus_select_voice (voice);
voice1327drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1329drivers/sound/gus_wave.ccompute_volume (voice, volume);
voice1330drivers/sound/gus_wave.cinit_envelope (voice);
voice1334drivers/sound/gus_wave.ccompute_and_set_volume (voice, volume, 0);
voice1339drivers/sound/gus_wave.cgus_select_voice (voice);
voice1343drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);  /* start=end */
voice1345drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending,
voice1359drivers/sound/gus_wave.cvoices[voice].offset_pending, is16bits);
voice1371drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = LMODE_FINISH;  /* Ramp down at the end */
voice1372drivers/sound/gus_wave.cvoices[voice].loop_irq_parm = 1;
voice1393drivers/sound/gus_wave.cguswave_start_note (int dev, int voice, int note_num, int volume)
voice1403drivers/sound/gus_wave.cif (voices[voice].volume_irq_mode == VMODE_START_NOTE)
voice1405drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1409drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1414drivers/sound/gus_wave.cgus_select_voice (voice);
voice1419drivers/sound/gus_wave.cvoices[voice].offset_pending = 0;
voice1420drivers/sound/gus_wave.cvoices[voice].kill_pending = 0;
voice1421drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice1422drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice1424drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice1427drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice1428drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice1429drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice1432drivers/sound/gus_wave.cgus_select_voice (voice);  /* Reselect the voice (just to be sure) */
voice1437drivers/sound/gus_wave.cret_val = guswave_start_note2 (dev, voice, note_num, volume);
voice1441drivers/sound/gus_wave.cvoices[voice].dev_pending = dev;
voice1442drivers/sound/gus_wave.cvoices[voice].note_pending = note_num;
voice1443drivers/sound/gus_wave.cvoices[voice].volume_pending = volume;
voice1444drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_START_NOTE;
voice1776drivers/sound/gus_wave.cint             voice, cmd;
voice1781drivers/sound/gus_wave.cvoice = event[3];
voice1786drivers/sound/gus_wave.cif ((voices[voice].volume_irq_mode == VMODE_START_NOTE) &&
voice1788drivers/sound/gus_wave.cdo_volume_irq (voice);
voice1796drivers/sound/gus_wave.cgus_select_voice (voice);
voice1802drivers/sound/gus_wave.cguswave_set_instr (dev, voice, p1);
voice1808drivers/sound/gus_wave.cgus_select_voice (voice);
voice1817drivers/sound/gus_wave.cgus_select_voice (voice);
voice1823drivers/sound/gus_wave.cgus_voice_fade (voice);
voice1829drivers/sound/gus_wave.cgus_select_voice (voice);
voice1838drivers/sound/gus_wave.cgus_select_voice (voice);
voice1846drivers/sound/gus_wave.cgus_select_voice (voice);
voice1854drivers/sound/gus_wave.cgus_select_voice (voice);
voice1860drivers/sound/gus_wave.cvoices[voice].initial_volume =
voice1861drivers/sound/gus_wave.cvoices[voice].current_volume = p1;
voice1865drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1869drivers/sound/gus_wave.cgus_select_voice (voice);
voice1875drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1879drivers/sound/gus_wave.cgus_select_voice (voice);
voice1885drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1889drivers/sound/gus_wave.cgus_select_voice (voice);
voice1896drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1900drivers/sound/gus_wave.cgus_select_voice (voice);
voice1907drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
voice1911drivers/sound/gus_wave.cgus_select_voice (voice);
voice1924drivers/sound/gus_wave.cgus_select_voice (voice);
voice1925drivers/sound/gus_wave.cgus_set_voice_pos (voice, plong);
voice2109drivers/sound/gus_wave.cint             voice;
voice2112drivers/sound/gus_wave.cfor (voice = 0; voice < gus_sampling_channels; voice++)
voice2116drivers/sound/gus_wave.cgus_select_voice (voice);
voice2497drivers/sound/gus_wave.cguswave_setup_voice (int dev, int voice, int chn)
voice2502drivers/sound/gus_wave.cguswave_set_instr (dev, voice, info->pgm_num);
voice2504drivers/sound/gus_wave.cvoices[voice].expression_vol =
voice2506drivers/sound/gus_wave.cvoices[voice].main_vol =
voice2508drivers/sound/gus_wave.cvoices[voice].panning =
voice2510drivers/sound/gus_wave.cvoices[voice].bender = info->bender_value;
voice2514drivers/sound/gus_wave.cguswave_bender (int dev, int voice, int value)
voice2519drivers/sound/gus_wave.cvoices[voice].bender = value - 8192;
voice2520drivers/sound/gus_wave.cfreq = compute_finetune (voices[voice].orig_freq, value - 8192,
voice2521drivers/sound/gus_wave.cvoices[voice].bender_range);
voice2522drivers/sound/gus_wave.cvoices[voice].current_freq = freq;
voice2526drivers/sound/gus_wave.cgus_select_voice (voice);
voice2883drivers/sound/gus_wave.cint             voice;
voice2893drivers/sound/gus_wave.cfor (voice = 0; voice < nr_voices; voice++)
voice2894drivers/sound/gus_wave.cdynamic_volume_change (voice);  /* Apply the new vol */
voice3178drivers/sound/gus_wave.cdo_loop_irq (int voice)
voice3186drivers/sound/gus_wave.cgus_select_voice (voice);
voice3195drivers/sound/gus_wave.cvoice_alloc->map[voice] = 0;
voice3197drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
voice3198drivers/sound/gus_wave.cvoices[voice].loop_irq_mode = 0;
voice3199drivers/sound/gus_wave.cparm = voices[voice].loop_irq_parm;
voice3214drivers/sound/gus_wave.cgus_voice_init (voice);
voice3224drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = VMODE_HALT;
voice3274drivers/sound/gus_wave.cdo_volume_irq (int voice)
voice3283drivers/sound/gus_wave.cgus_select_voice (voice);
voice3291drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
voice3292drivers/sound/gus_wave.cvoices[voice].volume_irq_mode = 0;
voice3293drivers/sound/gus_wave.cparm = voices[voice].volume_irq_parm;
voice3301drivers/sound/gus_wave.cgus_voice_init (voice);
voice3307drivers/sound/gus_wave.cstep_envelope (voice);
voice3312drivers/sound/gus_wave.cguswave_start_note2 (voices[voice].dev_pending, voice,
voice3313drivers/sound/gus_wave.cvoices[voice].note_pending, voices[voice].volume_pending);
voice3314drivers/sound/gus_wave.cif (voices[voice].kill_pending)
voice3315drivers/sound/gus_wave.cguswave_kill_note (voices[voice].dev_pending, voice,
voice3316drivers/sound/gus_wave.cvoices[voice].note_pending, 0);
voice3318drivers/sound/gus_wave.cif (voices[voice].sample_pending >= 0)
voice3320drivers/sound/gus_wave.cguswave_set_instr (voices[voice].dev_pending, voice,
voice3321drivers/sound/gus_wave.cvoices[voice].sample_pending);
voice3322drivers/sound/gus_wave.cvoices[voice].sample_pending = -1;
voice3336drivers/sound/gus_wave.cunsigned char   src, voice;
voice3343drivers/sound/gus_wave.cvoice = src & 0x1f;
voice3351drivers/sound/gus_wave.cvoice_bit = 1 << voice;
voice3356drivers/sound/gus_wave.cif (!(wave_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3362drivers/sound/gus_wave.cdo_loop_irq (voice);
voice3368drivers/sound/gus_wave.cif (!(volume_ignore & voice_bit) && (int) voice < nr_voices)  /*
voice3374drivers/sound/gus_wave.cdo_volume_irq (voice);
voice703drivers/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);
voice89drivers/sound/opl3.cstatic int      opl3_kill_note (int dev, int voice, int note, int velocity);
voice319drivers/sound/opl3.copl3_kill_note (int dev, int voice, int note, int velocity)
voice323drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice326drivers/sound/opl3.cdevc->v_alloc->map[voice] = 0;
voice328drivers/sound/opl3.cmap = &pv_map[devc->lv_map[voice]];
voice330drivers/sound/opl3.cDEB (printk ("Kill note %d\n", voice));
voice335drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20);
voice337drivers/sound/opl3.cdevc->voc[voice].keyon_byte = 0;
voice338drivers/sound/opl3.cdevc->voc[voice].bender = 0;
voice339drivers/sound/opl3.cdevc->voc[voice].volume = 64;
voice340drivers/sound/opl3.cdevc->voc[voice].bender_range = 200;  /*
voice343drivers/sound/opl3.cdevc->voc[voice].orig_freq = 0;
voice344drivers/sound/opl3.cdevc->voc[voice].current_freq = 0;
voice345drivers/sound/opl3.cdevc->voc[voice].mode = 0;
voice370drivers/sound/opl3.copl3_set_instr (int dev, int voice, int instr_no)
voice372drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice378drivers/sound/opl3.cdevc->act_i[voice] = &devc->i_map[instr_no];
voice431drivers/sound/opl3.cset_voice_volume (int voice, int volume, int main_vol)
voice437drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice440drivers/sound/opl3.cmap = &pv_map[devc->lv_map[voice]];
voice442drivers/sound/opl3.cinstr = devc->act_i[voice];
voice450drivers/sound/opl3.cif (devc->voc[voice].mode == 0)
voice453drivers/sound/opl3.cif (devc->voc[voice].mode == 2)
voice523drivers/sound/opl3.copl3_start_note (int dev, int voice, int note, int volume)
voice530drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice533drivers/sound/opl3.cmap = &pv_map[devc->lv_map[voice]];
voice542drivers/sound/opl3.cset_voice_volume (voice, volume, devc->voc[voice].volume);
voice570drivers/sound/opl3.cinstr = devc->act_i[voice];
voice579drivers/sound/opl3.cvoice);
voice689drivers/sound/opl3.cdevc->voc[voice].mode = voice_mode;
voice691drivers/sound/opl3.cset_voice_volume (voice, volume, devc->voc[voice].volume);
voice693drivers/sound/opl3.cfreq = devc->voc[voice].orig_freq = note_to_freq (note) / 1000;
voice700drivers/sound/opl3.cfreq = compute_finetune (devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bender_range);
voice701drivers/sound/opl3.cdevc->voc[voice].current_freq = freq;
voice715drivers/sound/opl3.cdevc->voc[voice].keyon_byte = data;
voice903drivers/sound/opl3.copl3_panning (int dev, int voice, int pressure)
voice919drivers/sound/opl3.copl3_aftertouch (int dev, int voice, int pressure)
voice925drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice928drivers/sound/opl3.cmap = &pv_map[devc->lv_map[voice]];
voice930drivers/sound/opl3.cDEB (printk ("Aftertouch %d\n", voice));
voice939drivers/sound/opl3.cinstr = devc->act_i[voice];
voice944drivers/sound/opl3.cif (devc->voc[voice].mode == 4)
voice989drivers/sound/opl3.cbend_pitch (int dev, int voice, int value)
voice995drivers/sound/opl3.cmap = &pv_map[devc->lv_map[voice]];
voice1000drivers/sound/opl3.cdevc->voc[voice].bender = value;
voice1003drivers/sound/opl3.cif (!(devc->voc[voice].keyon_byte & 0x20))
voice1008drivers/sound/opl3.cfreq = compute_finetune (devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bender_range);
voice1009drivers/sound/opl3.cdevc->voc[voice].current_freq = freq;
voice1026drivers/sound/opl3.cdevc->voc[voice].keyon_byte = data;
voice1031drivers/sound/opl3.copl3_controller (int dev, int voice, int ctrl_num, int value)
voice1033drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice1039drivers/sound/opl3.cbend_pitch (dev, voice, value);
voice1043drivers/sound/opl3.cdevc->voc[voice].bender_range = value;
voice1047drivers/sound/opl3.cdevc->voc[voice].volume = value / 128;
voice1059drivers/sound/opl3.copl3_bender (int dev, int voice, int value)
voice1061drivers/sound/opl3.cif (voice < 0 || voice >= devc->nr_voice)
voice1064drivers/sound/opl3.cbend_pitch (dev, voice, value - 8192);
voice1135drivers/sound/opl3.copl3_setup_voice (int dev, int voice, int chn)
voice1140drivers/sound/opl3.copl3_set_instr (dev, voice,
voice1143drivers/sound/opl3.cdevc->voc[voice].bender = info->bender_value;
voice1144drivers/sound/opl3.cdevc->voc[voice].volume =
voice518drivers/sound/sequencer.cint             voice;
voice522drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
voice524drivers/sound/sequencer.csynth_devs[dev]->alloc.map[voice] = key;
voice525drivers/sound/sequencer.csynth_devs[dev]->alloc.alloc_times[voice] =
voice527drivers/sound/sequencer.creturn voice;
voice538drivers/sound/sequencer.cint             voice = -1;
voice550drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
voice565drivers/sound/sequencer.cif (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice)
voice567drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
voice570drivers/sound/sequencer.cif (voice == -1)
voice571drivers/sound/sequencer.cvoice = chn;
voice582drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, voice, 128 + note);
voice590drivers/sound/sequencer.csynth_devs[dev]->setup_voice (dev, voice, chn);
voice593drivers/sound/sequencer.csynth_devs[dev]->start_note (dev, voice, note, parm);
voice597drivers/sound/sequencer.cif (voice == -1)
voice598drivers/sound/sequencer.cvoice = chn;
voice599drivers/sound/sequencer.csynth_devs[dev]->kill_note (dev, voice, note, parm);
voice603drivers/sound/sequencer.cif (voice == -1)
voice604drivers/sound/sequencer.cvoice = chn;
voice605drivers/sound/sequencer.csynth_devs[dev]->aftertouch (dev, voice, parm);
voice1056include/linux/soundcard.h#define SEQ_V2_X_CONTROL(dev, voice, controller, value)  {_SEQ_NEEDBUF(8);\
voice1060include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (voice);\
voice1069include/linux/soundcard.h#define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
voice1070include/linux/soundcard.h#define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
voice1071include/linux/soundcard.h#define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)
voice1072include/linux/soundcard.h#define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)
voice1073include/linux/soundcard.h#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
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, \