Searched refs:ossev (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_midi.c547 union evrec ossev; send_synth_event() local
549 memset(&ossev, 0, sizeof(ossev)); send_synth_event()
553 ossev.v.cmd = MIDI_NOTEON; break; send_synth_event()
555 ossev.v.cmd = MIDI_NOTEOFF; break; send_synth_event()
557 ossev.v.cmd = MIDI_KEY_PRESSURE; break; send_synth_event()
559 ossev.l.cmd = MIDI_CTL_CHANGE; break; send_synth_event()
561 ossev.l.cmd = MIDI_PGM_CHANGE; break; send_synth_event()
563 ossev.l.cmd = MIDI_CHN_PRESSURE; break; send_synth_event()
565 ossev.l.cmd = MIDI_PITCH_BEND; break; send_synth_event()
570 ossev.v.dev = dev; send_synth_event()
576 ossev.v.code = EV_CHN_VOICE; send_synth_event()
577 ossev.v.note = ev->data.note.note; send_synth_event()
578 ossev.v.parm = ev->data.note.velocity; send_synth_event()
579 ossev.v.chn = ev->data.note.channel; send_synth_event()
584 ossev.l.code = EV_CHN_COMMON; send_synth_event()
585 ossev.l.p1 = ev->data.control.param; send_synth_event()
586 ossev.l.val = ev->data.control.value; send_synth_event()
587 ossev.l.chn = ev->data.control.channel; send_synth_event()
590 ossev.l.code = EV_CHN_COMMON; send_synth_event()
591 ossev.l.val = ev->data.control.value + 8192; send_synth_event()
592 ossev.l.chn = ev->data.control.channel; send_synth_event()
597 snd_seq_oss_readq_put_event(dp->readq, &ossev); send_synth_event()

Completed in 72 milliseconds