tag | line | file | source code |
voices | 122 | drivers/sound/gus_wave.c | struct voice_info voices[32]; |
voices | 447 | drivers/sound/gus_wave.c | voices[voice].panning = 0; |
voices | 448 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
voices | 449 | drivers/sound/gus_wave.c | voices[voice].orig_freq = 20000; |
voices | 450 | drivers/sound/gus_wave.c | voices[voice].current_freq = 20000; |
voices | 451 | drivers/sound/gus_wave.c | voices[voice].bender = 0; |
voices | 452 | drivers/sound/gus_wave.c | voices[voice].bender_range = 200; |
voices | 453 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 0; |
voices | 454 | drivers/sound/gus_wave.c | voices[voice].current_volume = 0; |
voices | 455 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voices | 456 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 0; |
voices | 457 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voices | 458 | drivers/sound/gus_wave.c | voices[voice].volume_irq_parm = 0; |
voices | 459 | drivers/sound/gus_wave.c | voices[voice].env_phase = 0; |
voices | 460 | drivers/sound/gus_wave.c | voices[voice].main_vol = 127; |
voices | 461 | drivers/sound/gus_wave.c | voices[voice].patch_vol = 127; |
voices | 462 | drivers/sound/gus_wave.c | voices[voice].expression_vol = 127; |
voices | 471 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
voices | 477 | drivers/sound/gus_wave.c | if (voices[voice].env_phase >= 5) |
voices | 487 | drivers/sound/gus_wave.c | prev_vol = voices[voice].current_volume; |
voices | 489 | drivers/sound/gus_wave.c | phase = ++voices[voice].env_phase; |
voices | 491 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voices | 493 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
voices | 494 | drivers/sound/gus_wave.c | rate = voices[voice].env_rate[phase]; |
voices | 497 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_ENVELOPE; |
voices | 519 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
voices | 525 | drivers/sound/gus_wave.c | voices[voice].env_phase = -1; |
voices | 526 | drivers/sound/gus_wave.c | voices[voice].current_volume = 64; |
voices | 537 | drivers/sound/gus_wave.c | voices[voice].env_phase = 2; /* Will be incremented by step_envelope */ |
voices | 539 | drivers/sound/gus_wave.c | voices[voice].current_volume = |
voices | 540 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voices | 543 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
voices | 561 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 581 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voices | 847 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
voices | 860 | drivers/sound/gus_wave.c | hi_limit = voices[voice].current_volume; |
voices | 882 | drivers/sound/gus_wave.c | voices[voice].panning = value; |
voices | 890 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voices | 895 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voices | 896 | drivers/sound/gus_wave.c | gus_adagio_vol (volume, voices[voice].main_vol, |
voices | 897 | drivers/sound/gus_wave.c | voices[voice].expression_vol, |
voices | 898 | drivers/sound/gus_wave.c | voices[voice].patch_vol); |
voices | 902 | drivers/sound/gus_wave.c | voices[voice].initial_volume = volume_base + (volume * volume_scale); |
voices | 906 | drivers/sound/gus_wave.c | if (voices[voice].initial_volume > 4095) |
voices | 907 | drivers/sound/gus_wave.c | voices[voice].initial_volume = 4095; |
voices | 916 | drivers/sound/gus_wave.c | voices[voice].current_volume = voices[voice].initial_volume; |
voices | 919 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
voices | 972 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
voices | 974 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voices | 989 | drivers/sound/gus_wave.c | compute_and_set_volume (voice, voices[voice].midi_volume, 1); |
voices | 993 | drivers/sound/gus_wave.c | if (voices[voice].env_phase < 0) |
voices | 996 | drivers/sound/gus_wave.c | compute_volume (voice, voices[voice].midi_volume); |
voices | 999 | drivers/sound/gus_wave.c | voices[voice].current_volume = |
voices | 1002 | drivers/sound/gus_wave.c | voices[voice].env_phase--; |
voices | 1019 | drivers/sound/gus_wave.c | voices[voice].bender = value; |
voices | 1020 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, value, voices[voice].bender_range); |
voices | 1021 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voices | 1030 | drivers/sound/gus_wave.c | voices[voice].bender_range = value; |
voices | 1035 | drivers/sound/gus_wave.c | voices[voice].expression_vol = value; |
voices | 1041 | drivers/sound/gus_wave.c | voices[voice].main_vol = value; |
voices | 1066 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1068 | drivers/sound/gus_wave.c | voices[voice].midi_volume = volume; |
voices | 1122 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
voices | 1123 | drivers/sound/gus_wave.c | voices[voice].patch_vol = samples[sample].volume; |
voices | 1125 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1131 | drivers/sound/gus_wave.c | voices[voice].env_rate[i] = samples[sample].env_rate[i]; |
voices | 1132 | drivers/sound/gus_wave.c | voices[voice].env_offset[i] = samples[sample].env_offset[i]; |
voices | 1143 | drivers/sound/gus_wave.c | voices[voice].orig_freq = freq; |
voices | 1150 | drivers/sound/gus_wave.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voices | 1151 | drivers/sound/gus_wave.c | voices[voice].current_freq = freq; |
voices | 1153 | drivers/sound/gus_wave.c | pan = (samples[sample].panning + voices[voice].panning) / 32; |
voices | 1176 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1209 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = LMODE_FINISH; /* Ramp it down at the |
voices | 1211 | drivers/sound/gus_wave.c | voices[voice].loop_irq_parm = 1; |
voices | 1585 | drivers/sound/gus_wave.c | voices[voice].initial_volume = |
voices | 1586 | drivers/sound/gus_wave.c | voices[voice].current_volume = p1; |
voices | 1590 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1599 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1608 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1618 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1628 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
voices | 1801 | drivers/sound/gus_wave.c | voices[chn].loop_irq_mode = LMODE_PCM; |
voices | 1871 | drivers/sound/gus_wave.c | voices[0].loop_irq_mode = LMODE_PCM_STOP; |
voices | 2374 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
voices | 2375 | drivers/sound/gus_wave.c | voices[voice].loop_irq_mode = 0; |
voices | 2376 | drivers/sound/gus_wave.c | parm = voices[voice].loop_irq_parm; |
voices | 2393 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = VMODE_HALT; |
voices | 2442 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
voices | 2443 | drivers/sound/gus_wave.c | voices[voice].volume_irq_mode = 0; |
voices | 2444 | drivers/sound/gus_wave.c | parm = voices[voice].volume_irq_parm; |
voices | 60 | drivers/sound/opl3.c | static struct voice_info voices[MAX_VOICE]; |
voices | 251 | drivers/sound/opl3.c | opl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20); |
voices | 253 | drivers/sound/opl3.c | voices[voice].keyon_byte = 0; |
voices | 254 | drivers/sound/opl3.c | voices[voice].bender = 0; |
voices | 255 | drivers/sound/opl3.c | voices[voice].bender_range = 200; /* 200 cents = 2 semitones */ |
voices | 256 | drivers/sound/opl3.c | voices[voice].orig_freq = 0; |
voices | 257 | drivers/sound/opl3.c | voices[voice].current_freq = 0; |
voices | 258 | drivers/sound/opl3.c | voices[voice].mode = 0; |
voices | 358 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
voices | 361 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
voices | 553 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
voices | 557 | drivers/sound/opl3.c | freq = voices[voice].orig_freq = note_to_freq (note) / 1000; |
voices | 564 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voices | 565 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voices | 575 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voices | 783 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
voices | 841 | drivers/sound/opl3.c | voices[voice].bender = value; |
voices | 844 | drivers/sound/opl3.c | if (!(voices[voice].keyon_byte & 0x20)) |
voices | 847 | drivers/sound/opl3.c | freq = compute_finetune (voices[voice].orig_freq, voices[voice].bender, voices[voice].bender_range); |
voices | 848 | drivers/sound/opl3.c | voices[voice].current_freq = freq; |
voices | 857 | drivers/sound/opl3.c | voices[voice].keyon_byte = data; |
voices | 862 | drivers/sound/opl3.c | voices[voice].bender_range = value; |