Home
last modified time | relevance | path

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

/Linux-v5.15/sound/core/seq/
Dseq_midi_emul.c339 chan->drum_channel = 1; in do_control()
341 chan->drum_channel = 0; in do_control()
399 chan->drum_channel = 1; in snd_midi_channel_set_clear()
401 chan->drum_channel = 0; in snd_midi_channel_set_clear()
537 chset->channels[p].drum_channel = 1; in sysex()
539 chset->channels[p].drum_channel = 0; in sysex()
546 ! chset->channels[p].drum_channel) { in sysex()
577 if (chset->channels[i].drum_channel) in sysex()
642 p->drum_channel = 1; /* Default ch 10 as drums */ in snd_midi_channel_init()
677 chan->drum_channel = 1; in reset_all_channels()
[all …]
/Linux-v5.15/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-v5.15/include/sound/
Dseq_midi_emul.h26 drum_channel:1, /* Drum channel */ member
/Linux-v5.15/sound/drivers/opl3/
Dopl3_midi.c313 if (chan->drum_channel) { in snd_opl3_note_on()
669 if (chan->drum_channel && use_internal_drums) { in snd_opl3_note_off_unsafe()
/Linux-v5.15/sound/synth/emux/
Demux_seq.c230 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in snd_emux_reset_port()
Demux_synth.c872 if (chan->drum_channel) in get_bank()
878 if (chan->drum_channel) in get_bank()
Demux_oss.c390 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in emuspec_control()