xref: /kernel/linux/linux-6.6/include/sound/emu10k1_synth.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/sound/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci#ifndef __EMU10K1_SYNTH_H
362306a36Sopenharmony_ci#define __EMU10K1_SYNTH_H
462306a36Sopenharmony_ci/*
562306a36Sopenharmony_ci *  Defines for the Emu10k1 WaveTable synth
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci *  Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include <sound/emu10k1.h>
1162306a36Sopenharmony_ci#include <sound/emux_synth.h>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci/* sequencer device id */
1462306a36Sopenharmony_ci#define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH	"emu10k1-synth"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci/* argument for snd_seq_device_new */
1762306a36Sopenharmony_cistruct snd_emu10k1_synth_arg {
1862306a36Sopenharmony_ci	struct snd_emu10k1 *hwptr;	/* chip */
1962306a36Sopenharmony_ci	int index;		/* sequencer client index */
2062306a36Sopenharmony_ci	int seq_ports;		/* number of sequencer ports to be created */
2162306a36Sopenharmony_ci	int max_voices;		/* maximum number of voices for wavetable */
2262306a36Sopenharmony_ci};
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define EMU10K1_MAX_MEMSIZE	(32 * 1024 * 1024) /* 32MB */
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci#endif
27

Indexes created Thu Nov 07 10:32:03 CST 2024