Update of /cvsroot/alsa/alsa-tools/us428control
In directory sc8-pr-cvs1:/tmp/cvs-serv2860/us428control
Modified Files:
Cus428Midi.h
Log Message:
- don't use kernel stuff. use the values in alsa-lib instead.
Index: Cus428Midi.h
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/us428control/Cus428Midi.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Cus428Midi.h 28 Oct 2003 10:57:13 -0000 1.2
+++ Cus428Midi.h 25 Nov 2003 11:52:00 -0000 1.3
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sound/asequencer.h>
#include "Cus428State.h"
class Cus428Midi {
@@ -30,11 +29,11 @@
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);
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog