emu10k1_synth.h 693 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #ifndef __EMU10K1_SYNTH_H
  3. #define __EMU10K1_SYNTH_H
  4. /*
  5. * Defines for the Emu10k1 WaveTable synth
  6. *
  7. * Copyright (C) 2000 Takashi Iwai <[email protected]>
  8. */
  9. #include <sound/emu10k1.h>
  10. #include <sound/emux_synth.h>
  11. /* sequencer device id */
  12. #define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10k1-synth"
  13. /* argument for snd_seq_device_new */
  14. struct snd_emu10k1_synth_arg {
  15. struct snd_emu10k1 *hwptr; /* chip */
  16. int index; /* sequencer client index */
  17. int seq_ports; /* number of sequencer ports to be created */
  18. int max_voices; /* maximum number of voices for wavetable */
  19. };
  20. #define EMU10K1_MAX_MEMSIZE (32 * 1024 * 1024) /* 32MB */
  21. #endif