Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 1997 08:30:26 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        sos@FreeBSD.dk
Cc:        current@FreeBSD.ORG (FreeBSD current)
Subject:   Re: New sound code problems 
Message-ID:  <199711051630.IAA02192@rah.star-gate.com>
In-Reply-To: Your message of "Wed, 05 Nov 1997 09:38:45 %2B0100." <199711050838.JAA15896@sos.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help

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
> ..





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711051630.IAA02192>