Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef __EMU10K1_SYNTH_LOCAL_H
0003 #define __EMU10K1_SYNTH_LOCAL_H
0004 /*
0005  *  Local defininitons for Emu10k1 wavetable
0006  *
0007  *  Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
0008  */
0009 
0010 #include <linux/time.h>
0011 #include <sound/core.h>
0012 #include <sound/emu10k1_synth.h>
0013 
0014 /* emu10k1_patch.c */
0015 int snd_emu10k1_sample_new(struct snd_emux *private_data,
0016                struct snd_sf_sample *sp,
0017                struct snd_util_memhdr *hdr,
0018                const void __user *_data, long count);
0019 int snd_emu10k1_sample_free(struct snd_emux *private_data,
0020                 struct snd_sf_sample *sp,
0021                 struct snd_util_memhdr *hdr);
0022 int snd_emu10k1_memhdr_init(struct snd_emux *emu);
0023 
0024 /* emu10k1_callback.c */
0025 void snd_emu10k1_ops_setup(struct snd_emux *emu);
0026 int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
0027 
0028 
0029 #endif  /* __EMU10K1_SYNTH_LOCAL_H */