2005-04-16 16:20:36 -06:00
|
|
|
#ifndef __EMU10K1_SYNTH_LOCAL_H
|
|
|
|
#define __EMU10K1_SYNTH_LOCAL_H
|
|
|
|
/*
|
|
|
|
* Local defininitons for Emu10k1 wavetable
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/time.h>
|
|
|
|
#include <sound/core.h>
|
|
|
|
#include <sound/emu10k1_synth.h>
|
|
|
|
|
|
|
|
/* emu10k1_patch.c */
|
2005-11-17 06:50:13 -07:00
|
|
|
int snd_emu10k1_sample_new(struct snd_emux *private_data,
|
|
|
|
struct snd_sf_sample *sp,
|
|
|
|
struct snd_util_memhdr *hdr,
|
|
|
|
const void __user *_data, long count);
|
|
|
|
int snd_emu10k1_sample_free(struct snd_emux *private_data,
|
|
|
|
struct snd_sf_sample *sp,
|
|
|
|
struct snd_util_memhdr *hdr);
|
|
|
|
int snd_emu10k1_memhdr_init(struct snd_emux *emu);
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
/* emu10k1_callback.c */
|
2005-11-17 06:50:13 -07:00
|
|
|
void snd_emu10k1_ops_setup(struct snd_emux *emu);
|
|
|
|
int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __EMU10K1_SYNTH_LOCAL_H */
|