From alsa-devel-owner@alsa.jcu.cz  Sat Feb 20 12:43:50 1999
Received: from pluto.andeby (IDENT:ahermans@t3o210p42.telia.com [195.204.224.162])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id MAA03427
	for <alsa-devel@alsa.jcu.cz>; Sat, 20 Feb 1999 12:43:42 +0100
Received: from localhost (ahermans@localhost)
	by pluto.andeby (8.8.7/8.8.7) with ESMTP id MAA02327;
	Sat, 20 Feb 1999 12:44:11 +0100
Date: Sat, 20 Feb 1999 12:44:11 +0100 (CET)
From: Anders Semb Hermansen <ahermans@vf.telia.no>
To: Steve Ratcliffe <steve@parabola.demon.co.uk>
cc: alsa-devel@alsa.jcu.cz
Subject: Re: Widi
In-Reply-To: <199902171208.MAA18335@ariel.sr.home>
Message-ID: <Pine.LNX.4.04.9902201241490.2325-100000@pluto.andeby>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hello

I understand that I need egcs-1.1.1 or newer to get widi to compile.
I don't have this and I don't want to compile the from the tar source.
Do you have egcs-1.1.1 as i386.rpm files or know where I can get
them?

And again: thanx for the great awe driver!


Thanx,
Anders

--
Anders Semb Hermansen
E-Mail: <ahermans@vf.telia.no>
Cellmail: <93802837@sms.netcom.no>

On Wed, 17 Feb 1999, Steve Ratcliffe wrote:
> 
> Hi,
> 
> I downloaded Widi by Yamahata Isaku from
> http://www.kusm.kyoto-u.ac.jp/%7Eyamahata/widi/ to try with the AWE midi
> Synth client.
> 
> And it works, excellent! A real app to use.
> 
> For my card I needed to set the following environment variables:
> 
> 	export WIDI_SEQUENCER_ALSA_DEST_QUEUE_A=1
> 	export WIDI_SEQUENCER_ALSA_DEST_CLIENT_A=65
> 	export WIDI_SEQUENCER_ALSA_DEST_PORT_A=0
> 	export WIDI_SEQUENCER_ALSA_DEST_QUEUE_B=1
> 	export WIDI_SEQUENCER_ALSA_DEST_CLIENT_B=65
> 	export WIDI_SEQUENCER_ALSA_DEST_PORT_B=1
> 
> You can even run another one against ports 2 and 3 at the same time
> if you should want to.
> 
> I also made the appended patch to Widi. (against widi-19990204-SNAP)
> 
> ..Steve
> 
> --
> --- ./src/Sequencer/ALSA/SequencerALSA.cc.orig	Wed Feb 17 11:20:31 1999
> +++ ./src/Sequencer/ALSA/SequencerALSA.cc	Wed Feb 17 11:50:30 1999
> @@ -205,7 +205,7 @@
>  	   << snd_strerror (ret) << endl;
>        return;
>      }
> -  if ((portInfo.capability & SND_SEQ_PORT_CAP_OUT) == 0)
> +  if ((portInfo.capability & SND_SEQ_PORT_CAP_IN) == 0)
>      {
>        cerr << "SequencerALSA::initializePort getPortInfo cliet="
>  	   << destClient << ":port=" << destPort
> --- ./src/Sequencer/ALSA/AlsaClient.cc.orig	Wed Feb 17 11:34:44 1999
> +++ ./src/Sequencer/ALSA/AlsaClient.cc	Wed Feb 17 11:50:24 1999
> @@ -1099,7 +1099,7 @@
>  
>  int AlsaClient::drainInput ()
>  {
> -  return snd_seq_drain_output (handle);
> +  return snd_seq_drain_input (handle);
>  }
>  
>  
> @@ -1121,7 +1121,9 @@
>  {
>    //send echo event to myself.
>    //DEBUG_MESSAGE ("AlsaClient::sync sending echo event");
> -  echoEvent (real, srcPort, destQueue, getClientId (), destPort, 0);
> +  // destPort should be myPort to go with getClientId(). ..sr
> +  echoEvent (real, srcPort, destQueue, getClientId (), 0/*XXX*/, 0);
> +  //echoEvent (real, srcPort, destQueue, getClientId (), destPort, 0);
>    //DEBUG_MESSAGE ("AlsaClient::sync flushing");
>    //flushing the buffer
>    int left = snd_seq_flush_output (handle);
> @@ -1144,7 +1146,7 @@
>        assert ((event->flags & SND_SEQ_TIME_STAMP_REAL) != 0);
>        assert (event->dest.client == getClientId ());
>        assert (event->dest.queue == destQueue);
> -      assert (event->dest.port == destPort);
> +      // myPort: assert (event->dest.port == destPort);
>        assert (event->dest.channel == 0);
>        if (compareTime (event->time.real, real) >= 0)
>  	{
> ------
> To unsubscribe from <alsa-devel@alsa.jcu.cz> mailing list send message
> 'unsubscribe' in the body of message to <alsa-devel-request@alsa.jcu.cz>.
> 


