Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/seq/
H A 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 …]
/openbmc/linux/sound/drivers/opl4/
H A 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()
/openbmc/linux/include/sound/
H A Dseq_midi_emul.h26 drum_channel:1, /* Drum channel */ member
/openbmc/linux/sound/drivers/opl3/
H A 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()
/openbmc/linux/sound/synth/emux/
H A Demux_seq.c230 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in snd_emux_reset_port()
H A Demux_synth.c873 if (chan->drum_channel) in get_bank()
879 if (chan->drum_channel) in get_bank()
H A Demux_oss.c390 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in emuspec_control()