0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __SEQ_OSS_SYNTH_H
0011 #define __SEQ_OSS_SYNTH_H
0012
0013 #include "seq_oss_device.h"
0014 #include <sound/seq_oss_legacy.h>
0015 #include <sound/seq_device.h>
0016
0017 void snd_seq_oss_synth_init(void);
0018 int snd_seq_oss_synth_probe(struct device *dev);
0019 int snd_seq_oss_synth_remove(struct device *dev);
0020 void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp);
0021 void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp);
0022 void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp);
0023
0024 void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev);
0025 int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt,
0026 const char __user *buf, int p, int c);
0027 struct seq_oss_synthinfo *snd_seq_oss_synth_info(struct seq_oss_devinfo *dp,
0028 int dev);
0029 int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf,
0030 struct snd_seq_event *ev);
0031 int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev);
0032 int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd,
0033 unsigned long addr);
0034 int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev,
0035 unsigned char *data, struct snd_seq_event *ev);
0036
0037 int snd_seq_oss_synth_make_info(struct seq_oss_devinfo *dp, int dev, struct synth_info *inf);
0038
0039 #endif