2019-05-27 08:55:05 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 00:20:36 +02:00
|
|
|
#ifndef __EMU8000_LOCAL_H
|
|
|
|
#define __EMU8000_LOCAL_H
|
|
|
|
/*
|
|
|
|
* Local defininitons for the emu8000 (AWE32/64)
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Steve Ratcliffe
|
|
|
|
* Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/wait.h>
|
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <sound/core.h>
|
|
|
|
#include <sound/emu8000.h>
|
|
|
|
#include <sound/emu8000_reg.h>
|
|
|
|
|
|
|
|
/* emu8000_patch.c */
|
2005-11-17 14:34:36 +01:00
|
|
|
int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
|
|
|
|
struct snd_util_memhdr *hdr,
|
|
|
|
const void __user *data, long count);
|
|
|
|
int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
|
|
|
|
struct snd_util_memhdr *hdr);
|
|
|
|
void snd_emu8000_sample_reset(struct snd_emux *rec);
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
/* emu8000_callback.c */
|
2005-11-17 14:34:36 +01:00
|
|
|
void snd_emu8000_ops_setup(struct snd_emu8000 *emu);
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
/* emu8000_pcm.c */
|
2005-11-17 14:34:36 +01:00
|
|
|
int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index);
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
#endif /* __EMU8000_LOCAL_H */
|