11da177e4SLinus Torvalds #ifndef __EMU10K1_SYNTH_LOCAL_H 21da177e4SLinus Torvalds #define __EMU10K1_SYNTH_LOCAL_H 31da177e4SLinus Torvalds /* 41da177e4SLinus Torvalds * Local defininitons for Emu10k1 wavetable 51da177e4SLinus Torvalds * 61da177e4SLinus Torvalds * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> 71da177e4SLinus Torvalds * 81da177e4SLinus Torvalds * This program is free software; you can redistribute it and/or modify 91da177e4SLinus Torvalds * it under the terms of the GNU General Public License as published by 101da177e4SLinus Torvalds * the Free Software Foundation; either version 2 of the License, or 111da177e4SLinus Torvalds * (at your option) any later version. 121da177e4SLinus Torvalds * 131da177e4SLinus Torvalds * This program is distributed in the hope that it will be useful, 141da177e4SLinus Torvalds * but WITHOUT ANY WARRANTY; without even the implied warranty of 151da177e4SLinus Torvalds * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 161da177e4SLinus Torvalds * GNU General Public License for more details. 171da177e4SLinus Torvalds * 181da177e4SLinus Torvalds * You should have received a copy of the GNU General Public License 191da177e4SLinus Torvalds * along with this program; if not, write to the Free Software 201da177e4SLinus Torvalds * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 211da177e4SLinus Torvalds */ 221da177e4SLinus Torvalds 231da177e4SLinus Torvalds #include <sound/driver.h> 241da177e4SLinus Torvalds #include <linux/time.h> 251da177e4SLinus Torvalds #include <sound/core.h> 261da177e4SLinus Torvalds #include <sound/emu10k1_synth.h> 271da177e4SLinus Torvalds 281da177e4SLinus Torvalds /* emu10k1_patch.c */ 29eb4698f3STakashi Iwai int snd_emu10k1_sample_new(struct snd_emux *private_data, 30eb4698f3STakashi Iwai struct snd_sf_sample *sp, 31eb4698f3STakashi Iwai struct snd_util_memhdr *hdr, 32eb4698f3STakashi Iwai const void __user *_data, long count); 33eb4698f3STakashi Iwai int snd_emu10k1_sample_free(struct snd_emux *private_data, 34eb4698f3STakashi Iwai struct snd_sf_sample *sp, 35eb4698f3STakashi Iwai struct snd_util_memhdr *hdr); 36eb4698f3STakashi Iwai int snd_emu10k1_memhdr_init(struct snd_emux *emu); 371da177e4SLinus Torvalds 381da177e4SLinus Torvalds /* emu10k1_callback.c */ 39eb4698f3STakashi Iwai void snd_emu10k1_ops_setup(struct snd_emux *emu); 40eb4698f3STakashi Iwai int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw); 411da177e4SLinus Torvalds 421da177e4SLinus Torvalds 431da177e4SLinus Torvalds #endif /* __EMU10K1_SYNTH_LOCAL_H */ 44