tag | line | file | source code |
voice | 89 | drivers/sound/dev_table.h | int (*kill_note) (int dev, int voice, int velocity); |
voice | 90 | drivers/sound/dev_table.h | int (*start_note) (int dev, int voice, int note, int velocity); |
voice | 91 | drivers/sound/dev_table.h | int (*set_instr) (int dev, int voice, int instr); |
voice | 96 | drivers/sound/dev_table.h | void (*aftertouch) (int dev, int voice, int pressure); |
voice | 97 | drivers/sound/dev_table.h | void (*controller) (int dev, int voice, int ctrl_num, int value); |
voice | 98 | drivers/sound/dev_table.h | void (*panning) (int dev, int voice, int value); |
voice | 229 | drivers/sound/gus_wave.c | static void compute_and_set_volume (int voice, int volume, int ramp_time); |
voice | 231 | drivers/sound/gus_wave.c | static void compute_volume (int voice, int volume); |
voice | 232 | drivers/sound/gus_wave.c | static void do_volume_irq (int voice); |
voice | 404 | drivers/sound/gus_wave.c | gus_select_voice (int voice) |
voice | 406 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 409 | drivers/sound/gus_wave.c | OUTB (voice, u_Voice); |
voice | 530 | drivers/sound/gus_wave.c | gus_set_voice_pos (int voice, long position) |
voice | 534 | drivers/sound/gus_wave.c | if ((sample_no = sample_map[voice]) != -1) |
voice | 536 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 537 | drivers/sound/gus_wave.c | voices[voice].offset_pending = position; |
voice | 544 | drivers/sound/gus_wave.c | gus_voice_init (int voice) |
voice | 549 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 565 | drivers/sound/gus_wave.c | gus_voice_init2 (int voice) |
voice | 567 | drivers/sound/gus_wave.c | voices[voice].panning = 0; |
voice | 568 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
voice | 569 | drivers/sound/gus_wave.c | voices[voice].orig_freq = 20000; |
voice | 570 | drivers/sound/gus_wave.c | voices[voice].current_freq = 20000; |
voice | 571 | drivers/sound/gus_wave.c | voices[voice].bender = 0; |
voice | 572 | drivers/sound/gus_wave.c | voices[voice].bender_range = 200; |
voice | 573 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 0; |
voice | 574 | drivers/sound/gus_wave.c | voices[voice].current_volume = 0; |
voice | 575 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 576 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 0; |
voice | 577 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 578 | drivers/sound/gus_wave.c | voices[voice].volume_irq_parm = 0; |
voice | 579 | drivers/sound/gus_wave.c | voices[voice].env_phase = 0; |
voice | 580 | drivers/sound/gus_wave.c | voices[voice].main_vol = 127; |
voice | 581 | drivers/sound/gus_wave.c | voices[voice].patch_vol = 127; |
voice | 582 | drivers/sound/gus_wave.c | voices[voice].expression_vol = 127; |
voice | 583 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 587 | drivers/sound/gus_wave.c | step_envelope (int voice) |
voice | 592 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
voice | 600 | drivers/sound/gus_wave.c | if (voices[voice].env_phase >= 5) |
voice | 606 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 610 | drivers/sound/gus_wave.c | prev_vol = voices[voice].current_volume; |
voice | 612 | drivers/sound/gus_wave.c | phase = ++voices[voice].env_phase; |
voice | 614 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voice | 616 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
voice | 617 | drivers/sound/gus_wave.c | rate = voices[voice].env_rate[phase]; |
voice | 622 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_ENVELOPE; |
voice | 628 | drivers/sound/gus_wave.c | step_envelope (voice); /* |
voice | 652 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
voice | 656 | drivers/sound/gus_wave.c | init_envelope (int voice) |
voice | 658 | drivers/sound/gus_wave.c | voices[voice].env_phase = -1; |
voice | 659 | drivers/sound/gus_wave.c | voices[voice].current_volume = 64; |
voice | 661 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 665 | drivers/sound/gus_wave.c | start_release (int voice) |
voice | 672 | drivers/sound/gus_wave.c | voices[voice].env_phase = 2; /* |
voice | 676 | drivers/sound/gus_wave.c | voices[voice].current_volume = |
voice | 677 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 682 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
voice | 684 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 688 | drivers/sound/gus_wave.c | gus_voice_fade (int voice) |
voice | 690 | drivers/sound/gus_wave.c | int instr_no = sample_map[voice], is16bits; |
voice | 706 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 708 | drivers/sound/gus_wave.c | start_release (voice); |
voice | 721 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 730 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voice | 1029 | drivers/sound/gus_wave.c | guswave_set_instr (int dev, int voice, int instr_no) |
voice | 1036 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1039 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 1041 | drivers/sound/gus_wave.c | voices[voice].sample_pending = instr_no; |
voice | 1046 | drivers/sound/gus_wave.c | patch_map[voice] = -1; |
voice | 1050 | drivers/sound/gus_wave.c | printk ("GUS: Undefined patch %d for voice %d\n", instr_no, voice); |
voice | 1060 | drivers/sound/gus_wave.c | printk ("GUS: Sample #%d not loaded for patch %d (voice %d)\n", sample_no, instr_no, voice); |
voice | 1064 | drivers/sound/gus_wave.c | sample_map[voice] = sample_no; |
voice | 1065 | drivers/sound/gus_wave.c | patch_map[voice] = instr_no; |
voice | 1071 | drivers/sound/gus_wave.c | guswave_kill_note (int dev, int voice, int note, int velocity) |
voice | 1073 | drivers/sound/gus_wave.c | guswave_kill_note (int dev, int voice, int velocity) |
voice | 1079 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 1080 | drivers/sound/gus_wave.c | voices[voice].kill_pending = 1; |
voice | 1083 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1084 | drivers/sound/gus_wave.c | gus_voice_fade (voice); |
voice | 1092 | drivers/sound/gus_wave.c | guswave_aftertouch (int dev, int voice, int pressure) |
voice | 1101 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1104 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
voice | 1112 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1114 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, 255, 0); /* |
voice | 1121 | drivers/sound/gus_wave.c | hi_limit = voices[voice].current_volume; |
voice | 1127 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1142 | drivers/sound/gus_wave.c | guswave_panning (int dev, int voice, int value) |
voice | 1144 | drivers/sound/gus_wave.c | if (voice >= 0 || voice < 32) |
voice | 1145 | drivers/sound/gus_wave.c | voices[voice].panning = value; |
voice | 1149 | drivers/sound/gus_wave.c | compute_volume (int voice, int volume) |
voice | 1152 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voice | 1157 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 1158 | drivers/sound/gus_wave.c | gus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol, |
voice | 1159 | drivers/sound/gus_wave.c | voices[voice].expression_vol, |
voice | 1160 | drivers/sound/gus_wave.c | voices[voice].patch_vol); |
voice | 1164 | drivers/sound/gus_wave.c | voices[voice].initial_volume = volume_base + |
voice | 1165 | drivers/sound/gus_wave.c | (voices[voice].midi_volume * volume_scale); |
voice | 1168 | drivers/sound/gus_wave.c | if (voices[voice].initial_volume > 4030) |
voice | 1169 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 4030; |
voice | 1173 | drivers/sound/gus_wave.c | compute_and_set_volume (int voice, int volume, int ramp_time) |
voice | 1183 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1185 | drivers/sound/gus_wave.c | compute_volume (voice, volume); |
voice | 1186 | drivers/sound/gus_wave.c | voices[voice].current_volume = voices[voice].initial_volume; |
voice | 1189 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
voice | 1238 | drivers/sound/gus_wave.c | dynamic_volume_change (int voice) |
voice | 1244 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1255 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
voice | 1257 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voice | 1266 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1276 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voice | 1280 | drivers/sound/gus_wave.c | if (voices[voice].env_phase < 0) |
voice | 1283 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voice | 1287 | drivers/sound/gus_wave.c | voices[voice].current_volume = |
voice | 1292 | drivers/sound/gus_wave.c | voices[voice].env_phase--; |
voice | 1293 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 1298 | drivers/sound/gus_wave.c | guswave_controller (int dev, int voice, int ctrl_num, int value) |
voice | 1303 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1309 | drivers/sound/gus_wave.c | voices[voice].bender = value; |
voice | 1311 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1313 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, value, voices[voice].bender_range); |
voice | 1314 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 1317 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1324 | drivers/sound/gus_wave.c | voices[voice].bender_range = value; |
voice | 1332 | drivers/sound/gus_wave.c | voices[voice].expression_vol = value; |
voice | 1333 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1334 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1339 | drivers/sound/gus_wave.c | voices[voice].panning = (value * 2) - 128; |
voice | 1348 | drivers/sound/gus_wave.c | voices[voice].main_vol = value; |
voice | 1349 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1350 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1361 | drivers/sound/gus_wave.c | guswave_start_note2 (int dev, int voice, int note_num, int volume) |
voice | 1368 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1376 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1378 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voice | 1379 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1383 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, volume, 1); |
voice | 1387 | drivers/sound/gus_wave.c | if ((patch = patch_map[voice]) == -1) |
voice | 1440 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
voice | 1441 | drivers/sound/gus_wave.c | voices[voice].patch_vol = samples[sample].volume; |
voice | 1443 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1449 | drivers/sound/gus_wave.c | voices[voice].env_rate[i] = samples[sample].env_rate[i]; |
voice | 1450 | drivers/sound/gus_wave.c | voices[voice].env_offset[i] = samples[sample].env_offset[i]; |
voice | 1454 | drivers/sound/gus_wave.c | sample_map[voice] = sample; |
voice | 1463 | drivers/sound/gus_wave.c | voices[voice].orig_freq = freq; |
voice | 1470 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voice | 1471 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 1473 | drivers/sound/gus_wave.c | pan = (samples[sample].panning + voices[voice].panning) / 32; |
voice | 1495 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1500 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1502 | drivers/sound/gus_wave.c | compute_volume (voice, volume); |
voice | 1503 | drivers/sound/gus_wave.c | init_envelope (voice); |
voice | 1506 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, volume, 0); |
voice | 1510 | drivers/sound/gus_wave.c | voices[voice].offset_pending, is16bits); /* Sample |
voice | 1513 | drivers/sound/gus_wave.c | gus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending, |
voice | 1531 | drivers/sound/gus_wave.c | voices[voice].offset_pending, is16bits); |
voice | 1551 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = LMODE_FINISH; /* |
voice | 1555 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 1; |
voice | 1580 | drivers/sound/gus_wave.c | guswave_start_note (int dev, int voice, int note_num, int volume) |
voice | 1589 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 1590 | drivers/sound/gus_wave.c | voices[voice].volume_pending = volume; |
voice | 1592 | drivers/sound/gus_wave.c | ret_val = guswave_start_note2 (dev, voice, note_num, volume); |
voice | 1596 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1601 | drivers/sound/gus_wave.c | voices[voice].offset_pending = 0; |
voice | 1602 | drivers/sound/gus_wave.c | voices[voice].kill_pending = 0; |
voice | 1603 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 1604 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 1606 | drivers/sound/gus_wave.c | if (voices[voice].sample_pending >= 0) |
voice | 1608 | drivers/sound/gus_wave.c | guswave_set_instr (voices[voice].dev_pending, voice, |
voice | 1609 | drivers/sound/gus_wave.c | voices[voice].sample_pending); |
voice | 1610 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 1615 | drivers/sound/gus_wave.c | ret_val = guswave_start_note2 (dev, voice, note_num, volume); |
voice | 1619 | drivers/sound/gus_wave.c | voices[voice].dev_pending = dev; |
voice | 1620 | drivers/sound/gus_wave.c | voices[voice].note_pending = note_num; |
voice | 1621 | drivers/sound/gus_wave.c | voices[voice].volume_pending = volume; |
voice | 1622 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_START_NOTE; |
voice | 1963 | drivers/sound/gus_wave.c | int voice, cmd; |
voice | 1968 | drivers/sound/gus_wave.c | voice = event[3]; |
voice | 1973 | drivers/sound/gus_wave.c | if ((voices[voice].volume_irq_mode == VMODE_START_NOTE) && |
voice | 1975 | drivers/sound/gus_wave.c | do_volume_irq (voice); |
voice | 1982 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1988 | drivers/sound/gus_wave.c | guswave_set_instr (dev, voice, p1); |
voice | 1993 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2003 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2010 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2011 | drivers/sound/gus_wave.c | gus_voice_fade (voice); |
voice | 2017 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2027 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2034 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2041 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2049 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 2050 | drivers/sound/gus_wave.c | voices[voice].current_volume = p1; |
voice | 2054 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 2059 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2065 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 2070 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2076 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 2081 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2090 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 2095 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2104 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 2109 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2121 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2122 | drivers/sound/gus_wave.c | gus_set_voice_pos (voice, plong); |
voice | 2285 | drivers/sound/gus_wave.c | int voice; |
voice | 2289 | drivers/sound/gus_wave.c | for (voice = 0; voice < gus_sampling_channels; voice++) |
voice | 2291 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2734 | drivers/sound/gus_wave.c | guswave_bender (int dev, int voice, int value) |
voice | 2739 | drivers/sound/gus_wave.c | voices[voice].bender = value - 8192; |
voice | 2740 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, value, voices[voice].bender_range); |
voice | 2741 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 2744 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 3061 | drivers/sound/gus_wave.c | int voice; |
voice | 3071 | drivers/sound/gus_wave.c | for (voice = 0; voice < nr_voices; voice++) |
voice | 3072 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); /* |
voice | 3192 | drivers/sound/gus_wave.c | do_loop_irq (int voice) |
voice | 3199 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 3207 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
voice | 3208 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 3209 | drivers/sound/gus_wave.c | parm = voices[voice].loop_irq_parm; |
voice | 3224 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 3234 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voice | 3273 | drivers/sound/gus_wave.c | do_volume_irq (int voice) |
voice | 3281 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 3289 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
voice | 3290 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 3291 | drivers/sound/gus_wave.c | parm = voices[voice].volume_irq_parm; |
voice | 3298 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 3303 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 3307 | drivers/sound/gus_wave.c | guswave_start_note2 (voices[voice].dev_pending, voice, |
voice | 3308 | drivers/sound/gus_wave.c | voices[voice].note_pending, voices[voice].volume_pending); |
voice | 3309 | drivers/sound/gus_wave.c | if (voices[voice].kill_pending) |
voice | 3310 | drivers/sound/gus_wave.c | guswave_kill_note (voices[voice].dev_pending, voice, 0); |
voice | 3311 | drivers/sound/gus_wave.c | if (voices[voice].sample_pending >= 0) |
voice | 3313 | drivers/sound/gus_wave.c | guswave_set_instr (voices[voice].dev_pending, voice, |
voice | 3314 | drivers/sound/gus_wave.c | voices[voice].sample_pending); |
voice | 3315 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 3331 | drivers/sound/gus_wave.c | unsigned char src, voice; |
voice | 3338 | drivers/sound/gus_wave.c | voice = src & 0x1f; |
voice | 3346 | drivers/sound/gus_wave.c | voice_bit = 1 << voice; |
voice | 3351 | drivers/sound/gus_wave.c | if (!(wave_ignore & voice_bit) && voice < nr_voices) /* |
voice | 3357 | drivers/sound/gus_wave.c | do_loop_irq (voice); |
voice | 3363 | drivers/sound/gus_wave.c | if (!(volume_ignore & voice_bit) && voice < nr_voices) /* |
voice | 3369 | drivers/sound/gus_wave.c | do_volume_irq (voice); |
voice | 78 | drivers/sound/opl3.c | static int opl3_kill_note (int dev, int voice, int velocity); |
voice | 236 | drivers/sound/opl3.c | opl3_kill_note (int dev, int voice, int velocity) |
voice | 240 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 243 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 245 | drivers/sound/opl3.c | DEB (printk ("Kill note %d\n", voice)); |
voice | 250 | drivers/sound/opl3.c | opl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20); |
voice | 252 | drivers/sound/opl3.c | voices[voice].keyon_byte = 0; |
voice | 253 | drivers/sound/opl3.c | voices[voice].bender = 0; |
voice | 254 | drivers/sound/opl3.c | voices[voice].bender_range = 200; /* 200 cents = 2 semitones */ |
voice | 255 | drivers/sound/opl3.c | voices[voice].orig_freq = 0; |
voice | 256 | drivers/sound/opl3.c | voices[voice].current_freq = 0; |
voice | 257 | drivers/sound/opl3.c | voices[voice].mode = 0; |
voice | 282 | drivers/sound/opl3.c | opl3_set_instr (int dev, int voice, int instr_no) |
voice | 284 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 290 | drivers/sound/opl3.c | active_instrument[voice] = &instrmap[instr_no]; |
voice | 338 | drivers/sound/opl3.c | set_voice_volume (int voice, int volume) |
voice | 344 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 347 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 349 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 357 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
voice | 360 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
voice | 428 | drivers/sound/opl3.c | opl3_start_note (int dev, int voice, int note, int volume) |
voice | 435 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 438 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 445 | drivers/sound/opl3.c | set_voice_volume (voice, volume); |
voice | 461 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 470 | drivers/sound/opl3.c | voice); |
voice | 552 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
voice | 554 | drivers/sound/opl3.c | set_voice_volume (voice, volume); |
voice | 556 | drivers/sound/opl3.c | freq = voices[voice].orig_freq = note_to_freq (note) / 1000; |
voice | 563 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voice | 564 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voice | 574 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voice | 746 | drivers/sound/opl3.c | opl3_panning (int dev, int voice, int pressure) |
voice | 757 | drivers/sound/opl3.c | opl3_aftertouch (int dev, int voice, int pressure) |
voice | 763 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 766 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 768 | drivers/sound/opl3.c | DEB (printk ("Aftertouch %d\n", voice)); |
voice | 777 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 782 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
voice | 823 | drivers/sound/opl3.c | opl3_controller (int dev, int voice, int ctrl_num, int value) |
voice | 829 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 832 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 840 | drivers/sound/opl3.c | voices[voice].bender = value; |
voice | 843 | drivers/sound/opl3.c | if (!(voices[voice].keyon_byte & 0x20)) |
voice | 846 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voice | 847 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voice | 856 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voice | 861 | drivers/sound/opl3.c | voices[voice].bender_range = value; |
voice | 647 | include/linux/soundcard.h | #define SEQ_START_NOTE(dev, voice, note, vol) {_SEQ_NEEDBUF(8);\ |
voice | 651 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 658 | include/linux/soundcard.h | #define SEQ_STOP_NOTE(dev, voice, note, vol) {_SEQ_NEEDBUF(8);\ |
voice | 662 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 669 | include/linux/soundcard.h | #define SEQ_CHN_PRESSURE(dev, voice, pressure) {_SEQ_NEEDBUF(8);\ |
voice | 673 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 680 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) {_SEQ_NEEDBUF(8);\ |
voice | 684 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 691 | include/linux/soundcard.h | #define SEQ_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\ |
voice | 695 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 701 | include/linux/soundcard.h | #define SEQ_PITCHBEND(dev, voice, value) SEQ_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) |
voice | 702 | include/linux/soundcard.h | #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value) |
voice | 703 | include/linux/soundcard.h | #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTRL_EXPRESSION, value) |
voice | 704 | include/linux/soundcard.h | #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTRL_MAIN_VOLUME, value) |
voice | 712 | include/linux/soundcard.h | #define SEQ_SET_PATCH(dev, voice, patch) {_SEQ_NEEDBUF(8);\ |
voice | 716 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 93 | include/linux/ultrasound.h | #define _GUS_CMD(chn, voice, cmd, p1, p2) \ |
voice | 96 | include/linux/ultrasound.h | _seqbuf[_seqbufptr+3] = voice;\ |
voice | 102 | include/linux/ultrasound.h | #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLETE */ |
voice | 103 | include/linux/ultrasound.h | #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) |
voice | 104 | include/linux/ultrasound.h | #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) |
voice | 105 | include/linux/ultrasound.h | #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) |
voice | 106 | include/linux/ultrasound.h | #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) |
voice | 107 | include/linux/ultrasound.h | #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) |
voice | 108 | include/linux/ultrasound.h | #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ |
voice | 110 | include/linux/ultrasound.h | #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) |
voice | 111 | include/linux/ultrasound.h | #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) |
voice | 112 | include/linux/ultrasound.h | #define GUS_RAMPRANGE(chn, voice, low, high) _GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high)) |
voice | 113 | include/linux/ultrasound.h | #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) |
voice | 114 | include/linux/ultrasound.h | #define GUS_RAMPMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) |
voice | 115 | include/linux/ultrasound.h | #define GUS_RAMPON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0) |
voice | 116 | include/linux/ultrasound.h | #define GUS_RAMPOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0) |
voice | 117 | include/linux/ultrasound.h | #define GUS_VOLUME_SCALE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2)) |
voice | 118 | include/linux/ultrasound.h | #define GUS_VOICE_POS(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICE_POS, \ |