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 */
291da177e4SLinus Torvalds int snd_emu10k1_sample_new(snd_emux_t *private_data, snd_sf_sample_t *sp, snd_util_memhdr_t *hdr, const void __user *_data, long count);
301da177e4SLinus Torvalds int snd_emu10k1_sample_free(snd_emux_t *private_data, snd_sf_sample_t *sp, snd_util_memhdr_t *hdr);
311da177e4SLinus Torvalds int snd_emu10k1_memhdr_init(snd_emux_t *emu);
321da177e4SLinus Torvalds 
331da177e4SLinus Torvalds /* emu10k1_callback.c */
341da177e4SLinus Torvalds void snd_emu10k1_ops_setup(snd_emux_t *emu);
351da177e4SLinus Torvalds int snd_emu10k1_synth_get_voice(emu10k1_t *hw);
361da177e4SLinus Torvalds 
371da177e4SLinus Torvalds 
381da177e4SLinus Torvalds #endif	/* __EMU10K1_SYNTH_LOCAL_H */
39