tag | line | file | source code |
voice | 168 | drivers/sound/dev_table.h | int (*kill_note) (int dev, int voice, int note, int velocity); |
voice | 169 | drivers/sound/dev_table.h | int (*start_note) (int dev, int voice, int note, int velocity); |
voice | 170 | drivers/sound/dev_table.h | int (*set_instr) (int dev, int voice, int instr); |
voice | 175 | drivers/sound/dev_table.h | void (*aftertouch) (int dev, int voice, int pressure); |
voice | 176 | drivers/sound/dev_table.h | void (*controller) (int dev, int voice, int ctrl_num, int value); |
voice | 177 | drivers/sound/dev_table.h | void (*panning) (int dev, int voice, int value); |
voice | 182 | drivers/sound/dev_table.h | void (*setup_voice) (int dev, int voice, int chn); |
voice | 169 | drivers/sound/gus_wave.c | static void compute_and_set_volume (int voice, int volume, int ramp_time); |
voice | 172 | drivers/sound/gus_wave.c | static void compute_volume (int voice, int volume); |
voice | 173 | drivers/sound/gus_wave.c | static void do_volume_irq (int voice); |
voice | 348 | drivers/sound/gus_wave.c | gus_select_voice (int voice) |
voice | 350 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 353 | drivers/sound/gus_wave.c | OUTB (voice, u_Voice); |
voice | 460 | drivers/sound/gus_wave.c | gus_set_voice_pos (int voice, long position) |
voice | 464 | drivers/sound/gus_wave.c | if ((sample_no = sample_map[voice]) != -1) |
voice | 466 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 467 | drivers/sound/gus_wave.c | voices[voice].offset_pending = position; |
voice | 474 | drivers/sound/gus_wave.c | gus_voice_init (int voice) |
voice | 479 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 485 | drivers/sound/gus_wave.c | voice_alloc->map[voice] = 0; |
voice | 486 | drivers/sound/gus_wave.c | voice_alloc->alloc_times[voice] = 0; |
voice | 492 | drivers/sound/gus_wave.c | gus_voice_init2 (int voice) |
voice | 494 | drivers/sound/gus_wave.c | voices[voice].panning = 0; |
voice | 495 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
voice | 496 | drivers/sound/gus_wave.c | voices[voice].orig_freq = 20000; |
voice | 497 | drivers/sound/gus_wave.c | voices[voice].current_freq = 20000; |
voice | 498 | drivers/sound/gus_wave.c | voices[voice].bender = 0; |
voice | 499 | drivers/sound/gus_wave.c | voices[voice].bender_range = 200; |
voice | 500 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 0; |
voice | 501 | drivers/sound/gus_wave.c | voices[voice].current_volume = 0; |
voice | 502 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 503 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 0; |
voice | 504 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 505 | drivers/sound/gus_wave.c | voices[voice].volume_irq_parm = 0; |
voice | 506 | drivers/sound/gus_wave.c | voices[voice].env_phase = 0; |
voice | 507 | drivers/sound/gus_wave.c | voices[voice].main_vol = 127; |
voice | 508 | drivers/sound/gus_wave.c | voices[voice].patch_vol = 127; |
voice | 509 | drivers/sound/gus_wave.c | voices[voice].expression_vol = 127; |
voice | 510 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 514 | drivers/sound/gus_wave.c | step_envelope (int voice) |
voice | 520 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
voice | 523 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 532 | drivers/sound/gus_wave.c | if (voices[voice].env_phase >= 5) |
voice | 534 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 538 | drivers/sound/gus_wave.c | prev_vol = voices[voice].current_volume; |
voice | 539 | drivers/sound/gus_wave.c | phase = ++voices[voice].env_phase; |
voice | 540 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voice | 541 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
voice | 542 | drivers/sound/gus_wave.c | rate = voices[voice].env_rate[phase]; |
voice | 545 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 552 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_ENVELOPE; |
voice | 557 | drivers/sound/gus_wave.c | step_envelope (voice); /* Continue the envelope on the next step */ |
voice | 575 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
voice | 580 | drivers/sound/gus_wave.c | init_envelope (int voice) |
voice | 582 | drivers/sound/gus_wave.c | voices[voice].env_phase = -1; |
voice | 583 | drivers/sound/gus_wave.c | voices[voice].current_volume = 64; |
voice | 585 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 589 | drivers/sound/gus_wave.c | start_release (int voice, long int flags) |
voice | 594 | drivers/sound/gus_wave.c | voices[voice].env_phase = 2; /* Will be incremented by step_envelope */ |
voice | 596 | drivers/sound/gus_wave.c | voices[voice].current_volume = |
voice | 597 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 600 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
voice | 603 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 607 | drivers/sound/gus_wave.c | gus_voice_fade (int voice) |
voice | 609 | drivers/sound/gus_wave.c | int instr_no = sample_map[voice], is16bits; |
voice | 613 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 618 | drivers/sound/gus_wave.c | voice_alloc->map[voice] = 0; |
voice | 625 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 627 | drivers/sound/gus_wave.c | start_release (voice, flags); |
voice | 638 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 645 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voice | 899 | drivers/sound/gus_wave.c | guswave_set_instr (int dev, int voice, int instr_no) |
voice | 906 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 909 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 911 | drivers/sound/gus_wave.c | voices[voice].sample_pending = instr_no; |
voice | 916 | drivers/sound/gus_wave.c | patch_map[voice] = -1; |
voice | 920 | drivers/sound/gus_wave.c | printk ("GUS: Undefined patch %d for voice %d\n", instr_no, voice); |
voice | 927 | drivers/sound/gus_wave.c | sample_no, instr_no, voice); |
voice | 931 | drivers/sound/gus_wave.c | sample_map[voice] = sample_no; |
voice | 932 | drivers/sound/gus_wave.c | patch_map[voice] = instr_no; |
voice | 937 | drivers/sound/gus_wave.c | guswave_kill_note (int dev, int voice, int note, int velocity) |
voice | 943 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 945 | drivers/sound/gus_wave.c | voices[voice].kill_pending = 1; |
voice | 951 | drivers/sound/gus_wave.c | gus_voice_fade (voice); |
voice | 959 | drivers/sound/gus_wave.c | guswave_aftertouch (int dev, int voice, int pressure) |
voice | 965 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 968 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
voice | 974 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 976 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, 255, 0); /* Back to original volume */ |
voice | 981 | drivers/sound/gus_wave.c | hi_limit = voices[voice].current_volume; |
voice | 987 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1001 | drivers/sound/gus_wave.c | guswave_panning (int dev, int voice, int value) |
voice | 1003 | drivers/sound/gus_wave.c | if (voice >= 0 || voice < 32) |
voice | 1004 | drivers/sound/gus_wave.c | voices[voice].panning = value; |
voice | 1015 | drivers/sound/gus_wave.c | compute_volume (int voice, int volume) |
voice | 1018 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voice | 1023 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 1024 | drivers/sound/gus_wave.c | gus_adagio_vol (voices[voice].midi_volume, voices[voice].main_vol, |
voice | 1025 | drivers/sound/gus_wave.c | voices[voice].expression_vol, |
voice | 1026 | drivers/sound/gus_wave.c | voices[voice].patch_vol); |
voice | 1030 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 1031 | drivers/sound/gus_wave.c | gus_linear_vol (volume, voices[voice].main_vol); |
voice | 1035 | drivers/sound/gus_wave.c | voices[voice].initial_volume = volume_base + |
voice | 1036 | drivers/sound/gus_wave.c | (voices[voice].midi_volume * volume_scale); |
voice | 1039 | drivers/sound/gus_wave.c | if (voices[voice].initial_volume > 4030) |
voice | 1040 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 4030; |
voice | 1044 | drivers/sound/gus_wave.c | compute_and_set_volume (int voice, int volume, int ramp_time) |
voice | 1049 | drivers/sound/gus_wave.c | compute_volume (voice, volume); |
voice | 1050 | drivers/sound/gus_wave.c | voices[voice].current_volume = voices[voice].initial_volume; |
voice | 1057 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1060 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
voice | 1103 | drivers/sound/gus_wave.c | dynamic_volume_change (int voice) |
voice | 1109 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1116 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
voice | 1118 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voice | 1127 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1133 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voice | 1137 | drivers/sound/gus_wave.c | if (voices[voice].env_phase < 0) |
voice | 1140 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voice | 1145 | drivers/sound/gus_wave.c | guswave_controller (int dev, int voice, int ctrl_num, int value) |
voice | 1150 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1156 | drivers/sound/gus_wave.c | voices[voice].bender = value; |
voice | 1158 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1160 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, value, |
voice | 1161 | drivers/sound/gus_wave.c | voices[voice].bender_range); |
voice | 1162 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 1165 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1172 | drivers/sound/gus_wave.c | voices[voice].bender_range = value; |
voice | 1179 | drivers/sound/gus_wave.c | voices[voice].expression_vol = value; |
voice | 1180 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1181 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1186 | drivers/sound/gus_wave.c | voices[voice].panning = (value * 2) - 128; |
voice | 1193 | drivers/sound/gus_wave.c | voices[voice].main_vol = value; |
voice | 1194 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode != VMODE_START_NOTE) |
voice | 1195 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1204 | drivers/sound/gus_wave.c | guswave_start_note2 (int dev, int voice, int note_num, int volume) |
voice | 1211 | drivers/sound/gus_wave.c | if (voice < 0 || voice > 31) |
voice | 1219 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1221 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voice | 1222 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); |
voice | 1226 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, volume, 1); |
voice | 1230 | drivers/sound/gus_wave.c | if ((patch = patch_map[voice]) == -1) |
voice | 1278 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
voice | 1279 | drivers/sound/gus_wave.c | voices[voice].patch_vol = samples[sample].volume; |
voice | 1281 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1287 | drivers/sound/gus_wave.c | voices[voice].env_rate[i] = samples[sample].env_rate[i]; |
voice | 1288 | drivers/sound/gus_wave.c | voices[voice].env_offset[i] = samples[sample].env_offset[i]; |
voice | 1292 | drivers/sound/gus_wave.c | sample_map[voice] = sample; |
voice | 1299 | drivers/sound/gus_wave.c | voices[voice].orig_freq = freq; |
voice | 1306 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, |
voice | 1307 | drivers/sound/gus_wave.c | voices[voice].bender_range); |
voice | 1308 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 1310 | drivers/sound/gus_wave.c | pan = (samples[sample].panning + voices[voice].panning) / 32; |
voice | 1330 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1336 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1338 | drivers/sound/gus_wave.c | compute_volume (voice, volume); |
voice | 1339 | drivers/sound/gus_wave.c | init_envelope (voice); |
voice | 1342 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, volume, 0); |
voice | 1345 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1349 | drivers/sound/gus_wave.c | voices[voice].offset_pending, is16bits); /* start=end */ |
voice | 1351 | drivers/sound/gus_wave.c | gus_write_addr (0x0a, sample_ptrs[sample] + voices[voice].offset_pending, |
voice | 1365 | drivers/sound/gus_wave.c | voices[voice].offset_pending, is16bits); |
voice | 1377 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = LMODE_FINISH; /* Ramp down at the end */ |
voice | 1378 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 1; |
voice | 1399 | drivers/sound/gus_wave.c | guswave_start_note (int dev, int voice, int note_num, int volume) |
voice | 1408 | drivers/sound/gus_wave.c | if (voices[voice].volume_irq_mode == VMODE_START_NOTE) |
voice | 1409 | drivers/sound/gus_wave.c | voices[voice].volume_pending = volume; |
voice | 1412 | drivers/sound/gus_wave.c | ret_val = guswave_start_note2 (dev, voice, note_num, volume); |
voice | 1417 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1422 | drivers/sound/gus_wave.c | voices[voice].offset_pending = 0; |
voice | 1423 | drivers/sound/gus_wave.c | voices[voice].kill_pending = 0; |
voice | 1424 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 1425 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 1427 | drivers/sound/gus_wave.c | if (voices[voice].sample_pending >= 0) |
voice | 1430 | drivers/sound/gus_wave.c | guswave_set_instr (voices[voice].dev_pending, voice, |
voice | 1431 | drivers/sound/gus_wave.c | voices[voice].sample_pending); |
voice | 1432 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 1434 | drivers/sound/gus_wave.c | gus_select_voice (voice); /* Reselect the voice (just to be sure) */ |
voice | 1439 | drivers/sound/gus_wave.c | ret_val = guswave_start_note2 (dev, voice, note_num, volume); |
voice | 1443 | drivers/sound/gus_wave.c | voices[voice].dev_pending = dev; |
voice | 1444 | drivers/sound/gus_wave.c | voices[voice].note_pending = note_num; |
voice | 1445 | drivers/sound/gus_wave.c | voices[voice].volume_pending = volume; |
voice | 1446 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_START_NOTE; |
voice | 1758 | drivers/sound/gus_wave.c | int voice, cmd; |
voice | 1763 | drivers/sound/gus_wave.c | voice = event[3]; |
voice | 1768 | drivers/sound/gus_wave.c | if ((voices[voice].volume_irq_mode == VMODE_START_NOTE) && |
voice | 1770 | drivers/sound/gus_wave.c | do_volume_irq (voice); |
voice | 1777 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1783 | drivers/sound/gus_wave.c | guswave_set_instr (dev, voice, p1); |
voice | 1788 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1796 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1802 | drivers/sound/gus_wave.c | gus_voice_fade (voice); |
voice | 1807 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1815 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1822 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1829 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1835 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voice | 1836 | drivers/sound/gus_wave.c | voices[voice].current_volume = p1; |
voice | 1840 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1843 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1849 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1852 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1858 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1861 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1868 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1871 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1878 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voice | 1881 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1893 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 1894 | drivers/sound/gus_wave.c | gus_set_voice_pos (voice, plong); |
voice | 2076 | drivers/sound/gus_wave.c | int voice; |
voice | 2079 | drivers/sound/gus_wave.c | for (voice = 0; voice < gus_sampling_channels; voice++) |
voice | 2082 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2459 | drivers/sound/gus_wave.c | guswave_setup_voice (int dev, int voice, int chn) |
voice | 2464 | drivers/sound/gus_wave.c | guswave_set_instr (dev, voice, info->pgm_num); |
voice | 2466 | drivers/sound/gus_wave.c | voices[voice].expression_vol = |
voice | 2468 | drivers/sound/gus_wave.c | voices[voice].main_vol = |
voice | 2470 | drivers/sound/gus_wave.c | voices[voice].panning = |
voice | 2472 | drivers/sound/gus_wave.c | voices[voice].bender = info->bender_value; |
voice | 2476 | drivers/sound/gus_wave.c | guswave_bender (int dev, int voice, int value) |
voice | 2481 | drivers/sound/gus_wave.c | voices[voice].bender = value - 8192; |
voice | 2482 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, value, |
voice | 2483 | drivers/sound/gus_wave.c | voices[voice].bender_range); |
voice | 2484 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voice | 2487 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 2843 | drivers/sound/gus_wave.c | int voice; |
voice | 2853 | drivers/sound/gus_wave.c | for (voice = 0; voice < nr_voices; voice++) |
voice | 2854 | drivers/sound/gus_wave.c | dynamic_volume_change (voice); /* Apply the new vol */ |
voice | 3104 | drivers/sound/gus_wave.c | do_loop_irq (int voice) |
voice | 3111 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 3120 | drivers/sound/gus_wave.c | voice_alloc->map[voice] = 0; |
voice | 3122 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
voice | 3123 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voice | 3124 | drivers/sound/gus_wave.c | parm = voices[voice].loop_irq_parm; |
voice | 3139 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 3149 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voice | 3199 | drivers/sound/gus_wave.c | do_volume_irq (int voice) |
voice | 3207 | drivers/sound/gus_wave.c | gus_select_voice (voice); |
voice | 3215 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
voice | 3216 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voice | 3217 | drivers/sound/gus_wave.c | parm = voices[voice].volume_irq_parm; |
voice | 3225 | drivers/sound/gus_wave.c | gus_voice_init (voice); |
voice | 3231 | drivers/sound/gus_wave.c | step_envelope (voice); |
voice | 3236 | drivers/sound/gus_wave.c | guswave_start_note2 (voices[voice].dev_pending, voice, |
voice | 3237 | drivers/sound/gus_wave.c | voices[voice].note_pending, voices[voice].volume_pending); |
voice | 3238 | drivers/sound/gus_wave.c | if (voices[voice].kill_pending) |
voice | 3239 | drivers/sound/gus_wave.c | guswave_kill_note (voices[voice].dev_pending, voice, |
voice | 3240 | drivers/sound/gus_wave.c | voices[voice].note_pending, 0); |
voice | 3242 | drivers/sound/gus_wave.c | if (voices[voice].sample_pending >= 0) |
voice | 3244 | drivers/sound/gus_wave.c | guswave_set_instr (voices[voice].dev_pending, voice, |
voice | 3245 | drivers/sound/gus_wave.c | voices[voice].sample_pending); |
voice | 3246 | drivers/sound/gus_wave.c | voices[voice].sample_pending = -1; |
voice | 3260 | drivers/sound/gus_wave.c | unsigned char src, voice; |
voice | 3267 | drivers/sound/gus_wave.c | voice = src & 0x1f; |
voice | 3275 | drivers/sound/gus_wave.c | voice_bit = 1 << voice; |
voice | 3280 | drivers/sound/gus_wave.c | if (!(wave_ignore & voice_bit) && (int) voice < nr_voices) /* |
voice | 3286 | drivers/sound/gus_wave.c | do_loop_irq (voice); |
voice | 3292 | drivers/sound/gus_wave.c | if (!(volume_ignore & voice_bit) && (int) voice < nr_voices) /* |
voice | 3298 | drivers/sound/gus_wave.c | do_volume_irq (voice); |
voice | 640 | drivers/sound/midi_synth.c | midi_synth_setup_voice (int dev, int voice, int channel) |
voice | 17 | drivers/sound/midi_synth.h | void midi_synth_setup_voice (int dev, int voice, int chn); |
voice | 90 | drivers/sound/opl3.c | static int opl3_kill_note (int dev, int voice, int note, int velocity); |
voice | 305 | drivers/sound/opl3.c | opl3_kill_note (int dev, int voice, int note, int velocity) |
voice | 309 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 312 | drivers/sound/opl3.c | voice_alloc->map[voice] = 0; |
voice | 314 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 316 | drivers/sound/opl3.c | DEB (printk ("Kill note %d\n", voice)); |
voice | 321 | drivers/sound/opl3.c | opl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20); |
voice | 323 | drivers/sound/opl3.c | voices[voice].keyon_byte = 0; |
voice | 324 | drivers/sound/opl3.c | voices[voice].bender = 0; |
voice | 325 | drivers/sound/opl3.c | voices[voice].bender_range = 200; /* |
voice | 328 | drivers/sound/opl3.c | voices[voice].orig_freq = 0; |
voice | 329 | drivers/sound/opl3.c | voices[voice].current_freq = 0; |
voice | 330 | drivers/sound/opl3.c | voices[voice].mode = 0; |
voice | 355 | drivers/sound/opl3.c | opl3_set_instr (int dev, int voice, int instr_no) |
voice | 357 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 363 | drivers/sound/opl3.c | active_instrument[voice] = &instrmap[instr_no]; |
voice | 444 | drivers/sound/opl3.c | set_voice_volume (int voice, int volume) |
voice | 450 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 453 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 455 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 463 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
voice | 466 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
voice | 552 | drivers/sound/opl3.c | opl3_start_note (int dev, int voice, int note, int volume) |
voice | 559 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 562 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 571 | drivers/sound/opl3.c | set_voice_volume (voice, volume); |
voice | 599 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 608 | drivers/sound/opl3.c | voice); |
voice | 718 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
voice | 720 | drivers/sound/opl3.c | set_voice_volume (voice, volume); |
voice | 722 | drivers/sound/opl3.c | freq = voices[voice].orig_freq = note_to_freq (note) / 1000; |
voice | 729 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voice | 730 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voice | 744 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voice | 940 | drivers/sound/opl3.c | opl3_panning (int dev, int voice, int pressure) |
voice | 956 | drivers/sound/opl3.c | opl3_aftertouch (int dev, int voice, int pressure) |
voice | 962 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 965 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 967 | drivers/sound/opl3.c | DEB (printk ("Aftertouch %d\n", voice)); |
voice | 976 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
voice | 981 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
voice | 1026 | drivers/sound/opl3.c | bend_pitch (int dev, int voice, int value) |
voice | 1032 | drivers/sound/opl3.c | map = &physical_voices[logical_voices[voice]]; |
voice | 1037 | drivers/sound/opl3.c | voices[voice].bender = value; |
voice | 1040 | drivers/sound/opl3.c | if (!(voices[voice].keyon_byte & 0x20)) |
voice | 1045 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voice | 1046 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voice | 1063 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voice | 1068 | drivers/sound/opl3.c | opl3_controller (int dev, int voice, int ctrl_num, int value) |
voice | 1070 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 1076 | drivers/sound/opl3.c | bend_pitch (dev, voice, value); |
voice | 1080 | drivers/sound/opl3.c | voices[voice].bender_range = value; |
voice | 1092 | drivers/sound/opl3.c | opl3_bender (int dev, int voice, int value) |
voice | 1094 | drivers/sound/opl3.c | if (voice < 0 || voice >= nr_voices) |
voice | 1097 | drivers/sound/opl3.c | bend_pitch (dev, voice, value - 8192); |
voice | 1168 | drivers/sound/opl3.c | opl3_setup_voice (int dev, int voice, int chn) |
voice | 1173 | drivers/sound/opl3.c | opl3_set_instr (dev, voice, |
voice | 1176 | drivers/sound/opl3.c | voices[voice].bender = info->bender_value; |
voice | 473 | drivers/sound/sequencer.c | int voice; |
voice | 477 | drivers/sound/sequencer.c | voice = synth_devs[dev]->alloc_voice (dev, chn, note, |
voice | 479 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.map[voice] = key; |
voice | 480 | drivers/sound/sequencer.c | synth_devs[dev]->alloc.alloc_times[voice] = |
voice | 482 | drivers/sound/sequencer.c | return voice; |
voice | 493 | drivers/sound/sequencer.c | int voice = -1; |
voice | 505 | drivers/sound/sequencer.c | voice = find_voice (dev, chn, note); |
voice | 520 | drivers/sound/sequencer.c | if (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice) |
voice | 522 | drivers/sound/sequencer.c | voice = alloc_voice (dev, chn, note); |
voice | 525 | drivers/sound/sequencer.c | if (voice == -1) |
voice | 526 | drivers/sound/sequencer.c | voice = chn; |
voice | 537 | drivers/sound/sequencer.c | synth_devs[dev]->set_instr (dev, voice, 128 + note); |
voice | 545 | drivers/sound/sequencer.c | synth_devs[dev]->setup_voice (dev, voice, chn); |
voice | 548 | drivers/sound/sequencer.c | synth_devs[dev]->start_note (dev, voice, note, parm); |
voice | 552 | drivers/sound/sequencer.c | if (voice == -1) |
voice | 553 | drivers/sound/sequencer.c | voice = chn; |
voice | 554 | drivers/sound/sequencer.c | synth_devs[dev]->kill_note (dev, voice, note, parm); |
voice | 558 | drivers/sound/sequencer.c | if (voice == -1) |
voice | 559 | drivers/sound/sequencer.c | voice = chn; |
voice | 560 | drivers/sound/sequencer.c | synth_devs[dev]->aftertouch (dev, voice, parm); |
voice | 984 | include/linux/soundcard.h | #define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\ |
voice | 988 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (voice);\ |
voice | 997 | include/linux/soundcard.h | #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) |
voice | 998 | include/linux/soundcard.h | #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value) |
voice | 999 | include/linux/soundcard.h | #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128) |
voice | 1000 | include/linux/soundcard.h | #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100) |
voice | 1001 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) |
voice | 1003 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) {_SEQ_NEEDBUF(8);\ |
voice | 1007 | 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, \ |