Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * OSS compatible sequencer driver |
| 3 | * |
| 4 | * synth device information |
| 5 | * |
| 6 | * Copyright (C) 1998,99 Takashi Iwai <tiwai@suse.de> |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | void snd_seq_oss_synth_init(void); |
Takashi Iwai | 0566220 | 2015-02-12 13:43:22 +0100 | [diff] [blame] | 31 | int snd_seq_oss_synth_probe(struct device *dev); |
| 32 | int snd_seq_oss_synth_remove(struct device *dev); |
Takashi Iwai | 080dece | 2005-11-17 14:05:16 +0100 | [diff] [blame] | 33 | void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp); |
| 34 | void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp); |
| 35 | void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
Takashi Iwai | 080dece | 2005-11-17 14:05:16 +0100 | [diff] [blame] | 37 | void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev); |
| 38 | int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, |
| 39 | const char __user *buf, int p, int c); |
Takashi Iwai | 1e0130b | 2018-04-24 07:31:54 +0200 | [diff] [blame] | 40 | struct seq_oss_synthinfo *snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, |
| 41 | int dev); |
Takashi Iwai | 080dece | 2005-11-17 14:05:16 +0100 | [diff] [blame] | 42 | int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, |
| 43 | struct snd_seq_event *ev); |
| 44 | int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev); |
| 45 | int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd, |
| 46 | unsigned long addr); |
| 47 | int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev, |
| 48 | unsigned char *data, struct snd_seq_event *ev); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
Takashi Iwai | 080dece | 2005-11-17 14:05:16 +0100 | [diff] [blame] | 50 | int snd_seq_oss_synth_make_info(struct seq_oss_devinfo *dp, int dev, struct synth_info *inf); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | |
| 52 | #endif |