From owner-freebsd-current Wed Nov 5 08:30:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19559 for current-outgoing; Wed, 5 Nov 1997 08:30:50 -0800 (PST) (envelope-from owner-freebsd-current) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19553 for ; Wed, 5 Nov 1997 08:30:48 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id IAA02192; Wed, 5 Nov 1997 08:30:27 -0800 (PST) Message-Id: <199711051630.IAA02192@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: sos@FreeBSD.dk cc: current@FreeBSD.ORG (FreeBSD current) Subject: Re: New sound code problems In-reply-to: Your message of "Wed, 05 Nov 1997 09:38:45 +0100." <199711050838.JAA15896@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 05 Nov 1997 08:30:26 -0800 From: Amancio Hasty Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id IAA19554 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, You guys can invent the calls if you like 8) Will look into it tonite when I get home from work. Cheers, Amancio > > 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 > ..