Home
last modified time | relevance | path

Searched refs:drum_channel (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/sound/core/seq/
Dseq_midi_emul.c347 chan->drum_channel = 1; in do_control()
349 chan->drum_channel = 0; in do_control()
407 chan->drum_channel = 1; in snd_midi_channel_set_clear()
409 chan->drum_channel = 0; in snd_midi_channel_set_clear()
544 chset->channels[p].drum_channel = 1; in sysex()
546 chset->channels[p].drum_channel = 0; in sysex()
553 ! chset->channels[p].drum_channel) { in sysex()
584 if (chset->channels[i].drum_channel) in sysex()
647 p->drum_channel = 1; /* Default ch 10 as drums */ in snd_midi_channel_init()
682 chan->drum_channel = 1; in reset_all_channels()
[all …]
/linux-4.4.14/sound/drivers/opl4/
Dopl4_synth.c392 if (!voice->chan->drum_channel) in snd_opl4_update_pan()
408 if (voice->chan->drum_channel) in snd_opl4_update_vibrato_depth()
425 note = chan->drum_channel ? 60 : voice->note; in snd_opl4_update_pitch()
432 if (!chan->drum_channel) in snd_opl4_update_pitch()
492 i = chan->drum_channel ? 0x80 : (chan->midi_program & 0x7f); in snd_opl4_note_on()
/linux-4.4.14/include/sound/
Dseq_midi_emul.h40 drum_channel:1, /* Drum channel */ member
/linux-4.4.14/sound/drivers/opl3/
Dopl3_midi.c332 if (chan->drum_channel) { in snd_opl3_note_on()
687 if (chan->drum_channel && use_internal_drums) { in snd_opl3_note_off_unsafe()
/linux-4.4.14/sound/synth/emux/
Demux_seq.c243 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in snd_emux_reset_port()
Demux_synth.c886 if (chan->drum_channel) in get_bank()
892 if (chan->drum_channel) in get_bank()
Demux_oss.c405 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in emuspec_control()