Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef __EMU8000_LOCAL_H
0003 #define __EMU8000_LOCAL_H
0004 /*
0005  *  Local defininitons for the emu8000 (AWE32/64)
0006  *
0007  *  Copyright (C) 1999 Steve Ratcliffe
0008  *  Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de>
0009  */
0010 
0011 #include <linux/wait.h>
0012 #include <linux/sched.h>
0013 #include <linux/slab.h>
0014 #include <sound/core.h>
0015 #include <sound/emu8000.h>
0016 #include <sound/emu8000_reg.h>
0017 
0018 /* emu8000_patch.c */
0019 int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
0020                struct snd_util_memhdr *hdr,
0021                const void __user *data, long count);
0022 int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
0023                 struct snd_util_memhdr *hdr);
0024 void snd_emu8000_sample_reset(struct snd_emux *rec);
0025 
0026 /* emu8000_callback.c */
0027 void snd_emu8000_ops_setup(struct snd_emu8000 *emu);
0028 
0029 /* emu8000_pcm.c */
0030 int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index);
0031 
0032 #endif  /* __EMU8000_LOCAL_H */