18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci#ifndef __EMU10K1_SYNTH_LOCAL_H 38c2ecf20Sopenharmony_ci#define __EMU10K1_SYNTH_LOCAL_H 48c2ecf20Sopenharmony_ci/* 58c2ecf20Sopenharmony_ci * Local defininitons for Emu10k1 wavetable 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include <linux/time.h> 118c2ecf20Sopenharmony_ci#include <sound/core.h> 128c2ecf20Sopenharmony_ci#include <sound/emu10k1_synth.h> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* emu10k1_patch.c */ 158c2ecf20Sopenharmony_ciint snd_emu10k1_sample_new(struct snd_emux *private_data, 168c2ecf20Sopenharmony_ci struct snd_sf_sample *sp, 178c2ecf20Sopenharmony_ci struct snd_util_memhdr *hdr, 188c2ecf20Sopenharmony_ci const void __user *_data, long count); 198c2ecf20Sopenharmony_ciint snd_emu10k1_sample_free(struct snd_emux *private_data, 208c2ecf20Sopenharmony_ci struct snd_sf_sample *sp, 218c2ecf20Sopenharmony_ci struct snd_util_memhdr *hdr); 228c2ecf20Sopenharmony_ciint snd_emu10k1_memhdr_init(struct snd_emux *emu); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci/* emu10k1_callback.c */ 258c2ecf20Sopenharmony_civoid snd_emu10k1_ops_setup(struct snd_emux *emu); 268c2ecf20Sopenharmony_ciint snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#endif /* __EMU10K1_SYNTH_LOCAL_H */ 30