Path: blob/master/sound/pci/emu10k1/emu10k1_synth_local.h
10817 views
#ifndef __EMU10K1_SYNTH_LOCAL_H1#define __EMU10K1_SYNTH_LOCAL_H2/*3* Local defininitons for Emu10k1 wavetable4*5* Copyright (C) 2000 Takashi Iwai <[email protected]>6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA20*/2122#include <linux/time.h>23#include <sound/core.h>24#include <sound/emu10k1_synth.h>2526/* emu10k1_patch.c */27int snd_emu10k1_sample_new(struct snd_emux *private_data,28struct snd_sf_sample *sp,29struct snd_util_memhdr *hdr,30const void __user *_data, long count);31int snd_emu10k1_sample_free(struct snd_emux *private_data,32struct snd_sf_sample *sp,33struct snd_util_memhdr *hdr);34int snd_emu10k1_memhdr_init(struct snd_emux *emu);3536/* emu10k1_callback.c */37void snd_emu10k1_ops_setup(struct snd_emux *emu);38int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);394041#endif /* __EMU10K1_SYNTH_LOCAL_H */424344