patch-1.3.34 linux/drivers/sound/midi_synth.h
Next file: linux/drivers/sound/midibuf.c
Previous file: linux/drivers/sound/midi_synth.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Wed Oct 11 07:55:36 1995
- Orig file:
v1.3.33/linux/drivers/sound/midi_synth.h
- Orig date:
Tue Jul 11 10:02:53 1995
diff -u --recursive --new-file v1.3.33/linux/drivers/sound/midi_synth.h linux/drivers/sound/midi_synth.h
@@ -1,5 +1,5 @@
int midi_synth_ioctl (int dev,
- unsigned int cmd, unsigned int arg);
+ unsigned int cmd, ioctl_arg arg);
int midi_synth_kill_note (int dev, int channel, int note, int velocity);
int midi_synth_set_instr (int dev, int channel, int instr_no);
int midi_synth_start_note (int dev, int channel, int note, int volume);
@@ -7,7 +7,7 @@
int midi_synth_open (int dev, int mode);
void midi_synth_close (int dev);
void midi_synth_hw_control (int dev, unsigned char *event);
-int midi_synth_load_patch (int dev, int format, snd_rw_buf * addr,
+int midi_synth_load_patch (int dev, int format, const snd_rw_buf * addr,
int offs, int count, int pmgr_flag);
void midi_synth_panning (int dev, int channel, int pressure);
void midi_synth_aftertouch (int dev, int channel, int pressure);
@@ -16,7 +16,7 @@
void midi_synth_bender (int dev, int chn, int value);
void midi_synth_setup_voice (int dev, int voice, int chn);
void do_midi_msg (int synthno, unsigned char *msg, int mlen);
-
+int midi_synth_send_sysex(int dev, unsigned char *bytes,int len);
#ifndef _MIDI_SYNTH_C_
static struct synth_info std_synth_info =
@@ -44,6 +44,7 @@
midi_synth_patchmgr,
midi_synth_bender,
NULL, /* alloc_voice */
- midi_synth_setup_voice
+ midi_synth_setup_voice,
+ midi_synth_send_sysex
};
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this