1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 #ifndef __EMU10K1_SYNTH_LOCAL_H 1 #ifndef __EMU10K1_SYNTH_LOCAL_H 3 #define __EMU10K1_SYNTH_LOCAL_H 2 #define __EMU10K1_SYNTH_LOCAL_H 4 /* 3 /* 5 * Local defininitons for Emu10k1 wavetable 4 * Local defininitons for Emu10k1 wavetable 6 * 5 * 7 * Copyright (C) 2000 Takashi Iwai <tiwai@sus 6 * Copyright (C) 2000 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 8 */ 21 */ 9 22 10 #include <linux/time.h> 23 #include <linux/time.h> 11 #include <sound/core.h> 24 #include <sound/core.h> 12 #include <sound/emu10k1_synth.h> 25 #include <sound/emu10k1_synth.h> 13 26 14 /* emu10k1_patch.c */ 27 /* emu10k1_patch.c */ 15 int snd_emu10k1_sample_new(struct snd_emux *pr 28 int snd_emu10k1_sample_new(struct snd_emux *private_data, 16 struct snd_sf_sampl 29 struct snd_sf_sample *sp, 17 struct snd_util_mem 30 struct snd_util_memhdr *hdr, 18 const void __user * 31 const void __user *_data, long count); 19 int snd_emu10k1_sample_free(struct snd_emux *p 32 int snd_emu10k1_sample_free(struct snd_emux *private_data, 20 struct snd_sf_samp 33 struct snd_sf_sample *sp, 21 struct snd_util_me 34 struct snd_util_memhdr *hdr); 22 int snd_emu10k1_memhdr_init(struct snd_emux *e 35 int snd_emu10k1_memhdr_init(struct snd_emux *emu); 23 36 24 /* emu10k1_callback.c */ 37 /* emu10k1_callback.c */ 25 void snd_emu10k1_ops_setup(struct snd_emux *em 38 void snd_emu10k1_ops_setup(struct snd_emux *emu); 26 int snd_emu10k1_synth_get_voice(struct snd_emu 39 int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw); 27 40 28 41 29 #endif /* __EMU10K1_SYNTH_LOCAL_H */ 42 #endif /* __EMU10K1_SYNTH_LOCAL_H */ 30 43
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.