Date: Wed, 5 Nov 1997 09:38:45 +0100 (MET) From: Søren Schmidt <sos@FreeBSD.dk> To: current@freebsd.org (FreeBSD current) Subject: New sound code problems Message-ID: <199711050838.JAA15896@sos.freebsd.dk>
next in thread | raw e-mail | index | archive | help
It seems its only a partially job...
At leaset sequencer_poll & MIDIbuf_poll are not implemented
making a compile impossible. There might be other things
related to the select -> poll transition.
Soundcard.c has been hacked to get it to compile, this patch
corrects that, but the it fails to compile for the above
reason. Amancio is there a newer version of this, or are
we going to "invent" this ourselves ??
RCS file: /home/ncvs/src/sys/i386/isa/sound/soundcard.c,v
retrieving revision 1.56
diff -u -r1.56 soundcard.c
--- soundcard.c 1997/11/05 00:23:26 1.56
+++ soundcard.c 1997/11/05 08:30:19
@@ -230,14 +230,14 @@
/* printf ("snd_select(dev=%d, rw=%d, pid=%d)\n", dev, rw, p->p_pid);
*/
#ifdef ALLOW_SELECT
switch (dev & 0x0f) {
-#ifdef EXCLUDE_SEQUENCER
+#ifdef CONFIG_SEQUENCER
case SND_DEV_SEQ:
case SND_DEV_SEQ2:
return sequencer_poll(dev, &files[dev], events, p);
break;
#endif
-#ifdef EXCLUDE_MIDI
+#ifdef CONFIG_MIDI
case SND_DEV_MIDIN:
return MIDIbuf_poll(dev, &files[dev], events, p);
break;
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team
Even more code to hack -- will it ever end
..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711050838.JAA15896>
