Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / sound / pci / emu10k1 / emu10k1_synth_local.h
blob7f50b01ddb76017d3e4108e79f778128aba70f30
1 #ifndef __EMU10K1_SYNTH_LOCAL_H
2 #define __EMU10K1_SYNTH_LOCAL_H
3 /*
4 * Local defininitons for Emu10k1 wavetable
6 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
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.
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.
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
23 #include <sound/driver.h>
24 #include <linux/time.h>
25 #include <sound/core.h>
26 #include <sound/emu10k1_synth.h>
28 /* emu10k1_patch.c */
29 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);
30 int snd_emu10k1_sample_free(snd_emux_t *private_data, snd_sf_sample_t *sp, snd_util_memhdr_t *hdr);
31 int snd_emu10k1_memhdr_init(snd_emux_t *emu);
33 /* emu10k1_callback.c */
34 void snd_emu10k1_ops_setup(snd_emux_t *emu);
35 int snd_emu10k1_synth_get_voice(emu10k1_t *hw);
38 #endif /* __EMU10K1_SYNTH_LOCAL_H */