0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __SEQ_OSS_MIDI_H
0011 #define __SEQ_OSS_MIDI_H
0012
0013 #include "seq_oss_device.h"
0014 #include <sound/seq_oss_legacy.h>
0015
0016 int snd_seq_oss_midi_lookup_ports(int client);
0017 int snd_seq_oss_midi_check_new_port(struct snd_seq_port_info *pinfo);
0018 int snd_seq_oss_midi_check_exit_port(int client, int port);
0019 void snd_seq_oss_midi_clear_all(void);
0020
0021 void snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp);
0022 void snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp);
0023
0024 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode);
0025 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode);
0026 int snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev);
0027 void snd_seq_oss_midi_reset(struct seq_oss_devinfo *dp, int dev);
0028 int snd_seq_oss_midi_putc(struct seq_oss_devinfo *dp, int dev, unsigned char c,
0029 struct snd_seq_event *ev);
0030 int snd_seq_oss_midi_input(struct snd_seq_event *ev, int direct, void *private);
0031 int snd_seq_oss_midi_filemode(struct seq_oss_devinfo *dp, int dev);
0032 int snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf);
0033 void snd_seq_oss_midi_get_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_addr *addr);
0034
0035 #endif