From owner-freebsd-current Wed Nov 5 00:38:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA24195 for current-outgoing; Wed, 5 Nov 1997 00:38:57 -0800 (PST) (envelope-from owner-freebsd-current) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA24190 for ; Wed, 5 Nov 1997 00:38:54 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.7/8.7.3) id JAA15896 for current@freebsd.org; Wed, 5 Nov 1997 09:38:45 +0100 (MET) Message-Id: <199711050838.JAA15896@sos.freebsd.dk> Subject: New sound code problems To: current@freebsd.org (FreeBSD current) Date: Wed, 5 Nov 1997 09:38:45 +0100 (MET) From: Søren Schmidt Reply-to: sos@FreeBSD.dk X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ..