Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef __EMU10K1_SYNTH_H
0003 #define __EMU10K1_SYNTH_H
0004 /*
0005  *  Defines for the Emu10k1 WaveTable synth
0006  *
0007  *  Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
0008  */
0009 
0010 #include <sound/emu10k1.h>
0011 #include <sound/emux_synth.h>
0012 
0013 /* sequencer device id */
0014 #define SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH  "emu10k1-synth"
0015 
0016 /* argument for snd_seq_device_new */
0017 struct snd_emu10k1_synth_arg {
0018     struct snd_emu10k1 *hwptr;  /* chip */
0019     int index;      /* sequencer client index */
0020     int seq_ports;      /* number of sequencer ports to be created */
0021     int max_voices;     /* maximum number of voices for wavetable */
0022 };
0023 
0024 #define EMU10K1_MAX_MEMSIZE (32 * 1024 * 1024) /* 32MB */
0025 
0026 #endif