diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /sound/oss/midi_synth.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'sound/oss/midi_synth.h')
-rw-r--r-- | sound/oss/midi_synth.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sound/oss/midi_synth.h b/sound/oss/midi_synth.h new file mode 100644 index 000000000000..6bc9d00bc77c --- /dev/null +++ b/sound/oss/midi_synth.h | |||
@@ -0,0 +1,47 @@ | |||
1 | int midi_synth_ioctl (int dev, | ||
2 | unsigned int cmd, void __user * arg); | ||
3 | int midi_synth_kill_note (int dev, int channel, int note, int velocity); | ||
4 | int midi_synth_set_instr (int dev, int channel, int instr_no); | ||
5 | int midi_synth_start_note (int dev, int channel, int note, int volume); | ||
6 | void midi_synth_reset (int dev); | ||
7 | int midi_synth_open (int dev, int mode); | ||
8 | void midi_synth_close (int dev); | ||
9 | void midi_synth_hw_control (int dev, unsigned char *event); | ||
10 | int midi_synth_load_patch (int dev, int format, const char __user * addr, | ||
11 | int offs, int count, int pmgr_flag); | ||
12 | void midi_synth_panning (int dev, int channel, int pressure); | ||
13 | void midi_synth_aftertouch (int dev, int channel, int pressure); | ||
14 | void midi_synth_controller (int dev, int channel, int ctrl_num, int value); | ||
15 | void midi_synth_bender (int dev, int chn, int value); | ||
16 | void midi_synth_setup_voice (int dev, int voice, int chn); | ||
17 | int midi_synth_send_sysex(int dev, unsigned char *bytes,int len); | ||
18 | |||
19 | #ifndef _MIDI_SYNTH_C_ | ||
20 | static struct synth_info std_synth_info = | ||
21 | {MIDI_SYNTH_NAME, 0, SYNTH_TYPE_MIDI, 0, 0, 128, 0, 128, MIDI_SYNTH_CAPS}; | ||
22 | |||
23 | static struct synth_operations std_midi_synth = | ||
24 | { | ||
25 | .owner = THIS_MODULE, | ||
26 | .id = "MIDI", | ||
27 | .info = &std_synth_info, | ||
28 | .midi_dev = 0, | ||
29 | .synth_type = SYNTH_TYPE_MIDI, | ||
30 | .synth_subtype = 0, | ||
31 | .open = midi_synth_open, | ||
32 | .close = midi_synth_close, | ||
33 | .ioctl = midi_synth_ioctl, | ||
34 | .kill_note = midi_synth_kill_note, | ||
35 | .start_note = midi_synth_start_note, | ||
36 | .set_instr = midi_synth_set_instr, | ||
37 | .reset = midi_synth_reset, | ||
38 | .hw_control = midi_synth_hw_control, | ||
39 | .load_patch = midi_synth_load_patch, | ||
40 | .aftertouch = midi_synth_aftertouch, | ||
41 | .controller = midi_synth_controller, | ||
42 | .panning = midi_synth_panning, | ||
43 | .bender = midi_synth_bender, | ||
44 | .setup_voice = midi_synth_setup_voice, | ||
45 | .send_sysex = midi_synth_send_sysex | ||
46 | }; | ||
47 | #endif | ||