1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 #ifndef __EMU10K1_SYNTH_H 2 #ifndef __EMU10K1_SYNTH_H 3 #define __EMU10K1_SYNTH_H 3 #define __EMU10K1_SYNTH_H 4 /* 4 /* 5 * Defines for the Emu10k1 WaveTable synth 5 * Defines for the Emu10k1 WaveTable synth 6 * 6 * 7 * Copyright (C) 2000 Takashi Iwai <tiwai@sus 7 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> 8 */ 8 */ 9 9 10 #include <sound/emu10k1.h> 10 #include <sound/emu10k1.h> 11 #include <sound/emux_synth.h> 11 #include <sound/emux_synth.h> 12 12 13 /* sequencer device id */ 13 /* sequencer device id */ 14 #define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10 14 #define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH "emu10k1-synth" 15 15 16 /* argument for snd_seq_device_new */ 16 /* argument for snd_seq_device_new */ 17 struct snd_emu10k1_synth_arg { 17 struct snd_emu10k1_synth_arg { 18 struct snd_emu10k1 *hwptr; /* chi 18 struct snd_emu10k1 *hwptr; /* chip */ 19 int index; /* sequencer c 19 int index; /* sequencer client index */ 20 int seq_ports; /* number of s 20 int seq_ports; /* number of sequencer ports to be created */ 21 int max_voices; /* maximum num 21 int max_voices; /* maximum number of voices for wavetable */ 22 }; 22 }; 23 23 24 #define EMU10K1_MAX_MEMSIZE (32 * 1024 * 1 24 #define EMU10K1_MAX_MEMSIZE (32 * 1024 * 1024) /* 32MB */ 25 25 26 #endif 26 #endif 27 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.