Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 <tiwai@suse.de> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | */ |
| 9 | |
David Howells | a1ce392 | 2012-10-02 18:01:25 +0100 | [diff] [blame] | 10 | #include <sound/emu10k1.h> |
| 11 | #include <sound/emux_synth.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | /* sequencer device id */ |
| 14 | #define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10k1-synth" |
| 15 | |
| 16 | /* argument for snd_seq_device_new */ |
Takashi Iwai | eb4698f | 2005-11-17 14:50:13 +0100 | [diff] [blame] | 17 | struct snd_emu10k1_synth_arg { |
| 18 | struct snd_emu10k1 *hwptr; /* chip */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | int index; /* sequencer client index */ |
| 20 | int seq_ports; /* number of sequencer ports to be created */ |
| 21 | int max_voices; /* maximum number of voices for wavetable */ |
Takashi Iwai | eb4698f | 2005-11-17 14:50:13 +0100 | [diff] [blame] | 22 | }; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
| 24 | #define EMU10K1_MAX_MEMSIZE (32 * 1024 * 1024) /* 32MB */ |
| 25 | |
| 26 | #endif |