emu8000_local.h 971 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #ifndef __EMU8000_LOCAL_H
  3. #define __EMU8000_LOCAL_H
  4. /*
  5. * Local defininitons for the emu8000 (AWE32/64)
  6. *
  7. * Copyright (C) 1999 Steve Ratcliffe
  8. * Copyright (C) 1999-2000 Takashi Iwai <[email protected]>
  9. */
  10. #include <linux/wait.h>
  11. #include <linux/sched.h>
  12. #include <linux/slab.h>
  13. #include <sound/core.h>
  14. #include <sound/emu8000.h>
  15. #include <sound/emu8000_reg.h>
  16. /* emu8000_patch.c */
  17. int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
  18. struct snd_util_memhdr *hdr,
  19. const void __user *data, long count);
  20. int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
  21. struct snd_util_memhdr *hdr);
  22. void snd_emu8000_sample_reset(struct snd_emux *rec);
  23. /* emu8000_callback.c */
  24. void snd_emu8000_ops_setup(struct snd_emu8000 *emu);
  25. /* emu8000_pcm.c */
  26. int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index);
  27. #endif /* __EMU8000_LOCAL_H */