From dffbf3c8e4111241de52446c05ab14779ca3d3ef Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 25 Nov 2003 11:52:00 +0000 Subject: [PATCH] - don't use kernel stuff. use the values in alsa-lib instead. --- us428control/Cus428Midi.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/us428control/Cus428Midi.h b/us428control/Cus428Midi.h index 7169092..d3b08eb 100644 --- a/us428control/Cus428Midi.h +++ b/us428control/Cus428Midi.h @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include #include "Cus428State.h" class Cus428Midi { @@ -30,11 +29,11 @@ class Cus428Midi { if (0 <= (Err = snd_seq_open(&Seq, "default", SND_SEQ_OPEN_DUPLEX, SND_SEQ_NONBLOCK))) { snd_seq_set_client_name(Seq, "US-428"); Err = snd_seq_create_simple_port(Seq, "Controls", - SNDRV_SEQ_PORT_CAP_READ - //|SNDRV_SEQ_PORT_CAP_WRITE FIXME: Next Step is to make Lights switchable - |SNDRV_SEQ_PORT_CAP_SUBS_READ - /*|SNDRV_SEQ_PORT_CAP_SUBS_WRITE*/, - SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC); + SND_SEQ_PORT_CAP_READ + //|SND_SEQ_PORT_CAP_WRITE FIXME: Next Step is to make Lights switchable + |SND_SEQ_PORT_CAP_SUBS_READ + /*|SND_SEQ_PORT_CAP_SUBS_WRITE*/, + SND_SEQ_PORT_TYPE_MIDI_GENERIC); if (Err >= 0) { Port = Err; snd_seq_ev_clear(&Ev); -- 2.47.1