blob: 11373695344b1512dbcf1b6008c8bf1741619a1b [file] [log] [blame]
Thomas Gleixner1a59d1b82019-05-27 08:55:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef __EMU10K1_SYNTH_LOCAL_H
3#define __EMU10K1_SYNTH_LOCAL_H
4/*
5 * Local defininitons for Emu10k1 wavetable
6 *
7 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 */
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <linux/time.h>
11#include <sound/core.h>
12#include <sound/emu10k1_synth.h>
13
14/* emu10k1_patch.c */
Takashi Iwaieb4698f2005-11-17 14:50:13 +010015int snd_emu10k1_sample_new(struct snd_emux *private_data,
16 struct snd_sf_sample *sp,
17 struct snd_util_memhdr *hdr,
18 const void __user *_data, long count);
19int snd_emu10k1_sample_free(struct snd_emux *private_data,
20 struct snd_sf_sample *sp,
21 struct snd_util_memhdr *hdr);
22int snd_emu10k1_memhdr_init(struct snd_emux *emu);
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
24/* emu10k1_callback.c */
Takashi Iwaieb4698f2005-11-17 14:50:13 +010025void snd_emu10k1_ops_setup(struct snd_emux *emu);
26int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
28
29#endif /* __EMU10K1_SYNTH_LOCAL_H */