emu10k1_synth_local.h 846 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #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 <[email protected]>
  8. */
  9. #include <linux/time.h>
  10. #include <sound/core.h>
  11. #include <sound/emu10k1_synth.h>
  12. /* emu10k1_patch.c */
  13. int snd_emu10k1_sample_new(struct snd_emux *private_data,
  14. struct snd_sf_sample *sp,
  15. struct snd_util_memhdr *hdr,
  16. const void __user *_data, long count);
  17. int snd_emu10k1_sample_free(struct snd_emux *private_data,
  18. struct snd_sf_sample *sp,
  19. struct snd_util_memhdr *hdr);
  20. int snd_emu10k1_memhdr_init(struct snd_emux *emu);
  21. /* emu10k1_callback.c */
  22. void snd_emu10k1_ops_setup(struct snd_emux *emu);
  23. int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
  24. #endif /* __EMU10K1_SYNTH_LOCAL_H */