Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __EMU8000_LOCAL_H |
| 2 | #define __EMU8000_LOCAL_H |
| 3 | /* |
| 4 | * Local defininitons for the emu8000 (AWE32/64) |
| 5 | * |
| 6 | * Copyright (C) 1999 Steve Ratcliffe |
| 7 | * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License as published by |
| 11 | * the Free Software Foundation; either version 2 of the License, or |
| 12 | * (at your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU General Public License |
| 20 | * along with this program; if not, write to the Free Software |
| 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 22 | */ |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #include <linux/wait.h> |
| 25 | #include <linux/sched.h> |
| 26 | #include <linux/slab.h> |
| 27 | #include <sound/core.h> |
| 28 | #include <sound/emu8000.h> |
| 29 | #include <sound/emu8000_reg.h> |
| 30 | |
| 31 | /* emu8000_patch.c */ |
Takashi Iwai | 029d64b | 2005-11-17 14:34:36 +0100 | [diff] [blame] | 32 | int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, |
| 33 | struct snd_util_memhdr *hdr, |
| 34 | const void __user *data, long count); |
| 35 | int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp, |
| 36 | struct snd_util_memhdr *hdr); |
| 37 | void snd_emu8000_sample_reset(struct snd_emux *rec); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
| 39 | /* emu8000_callback.c */ |
Takashi Iwai | 029d64b | 2005-11-17 14:34:36 +0100 | [diff] [blame] | 40 | void snd_emu8000_ops_setup(struct snd_emu8000 *emu); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | |
| 42 | /* emu8000_pcm.c */ |
Takashi Iwai | 029d64b | 2005-11-17 14:34:36 +0100 | [diff] [blame] | 43 | int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | |
| 45 | #endif /* __EMU8000_LOCAL_H */ |