1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23#ifndef __SEQ_OSS_SYNTH_H
24#define __SEQ_OSS_SYNTH_H
25
26#include "seq_oss_device.h"
27#include <sound/seq_oss_legacy.h>
28#include <sound/seq_device.h>
29
30void snd_seq_oss_synth_init(void);
31int snd_seq_oss_synth_register(struct snd_seq_device *dev);
32int snd_seq_oss_synth_unregister(struct snd_seq_device *dev);
33void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp);
34void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp);
35void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp);
36
37void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev);
38int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt,
39 const char __user *buf, int p, int c);
40int snd_seq_oss_synth_is_valid(struct seq_oss_devinfo *dp, int dev);
41int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf,
42 struct snd_seq_event *ev);
43int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev);
44int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd,
45 unsigned long addr);
46int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev,
47 unsigned char *data, struct snd_seq_event *ev);
48
49int snd_seq_oss_synth_make_info(struct seq_oss_devinfo *dp, int dev, struct synth_info *inf);
50
51#endif
52