18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci#ifndef __EMU10K1_SYNTH_H
38c2ecf20Sopenharmony_ci#define __EMU10K1_SYNTH_H
48c2ecf20Sopenharmony_ci/*
58c2ecf20Sopenharmony_ci *  Defines for the Emu10k1 WaveTable synth
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *  Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <sound/emu10k1.h>
118c2ecf20Sopenharmony_ci#include <sound/emux_synth.h>
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/* sequencer device id */
148c2ecf20Sopenharmony_ci#define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH	"emu10k1-synth"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/* argument for snd_seq_device_new */
178c2ecf20Sopenharmony_cistruct snd_emu10k1_synth_arg {
188c2ecf20Sopenharmony_ci	struct snd_emu10k1 *hwptr;	/* chip */
198c2ecf20Sopenharmony_ci	int index;		/* sequencer client index */
208c2ecf20Sopenharmony_ci	int seq_ports;		/* number of sequencer ports to be created */
218c2ecf20Sopenharmony_ci	int max_voices;		/* maximum number of voices for wavetable */
228c2ecf20Sopenharmony_ci};
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#define EMU10K1_MAX_MEMSIZE	(32 * 1024 * 1024) /* 32MB */
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#endif
27