From alsa-devel-owner@alsa.jcu.cz  Sat Feb 20 21:41:46 1999
Received: from syrjala.pp.sci.fi (IDENT:villes@syrjala.pp.sci.fi [195.74.27.185])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id VAA10050
	for <alsa-devel@alsa.jcu.cz>; Sat, 20 Feb 1999 21:41:28 +0100
Received: from localhost (villes@localhost)
	by syrjala.pp.sci.fi (8.8.7/8.8.7) with ESMTP id WAA01468
	for <alsa-devel@alsa.jcu.cz>; Sat, 20 Feb 1999 22:43:38 +0200
Date: Sat, 20 Feb 1999 22:43:38 +0200 (EET)
From: Ville Syrjala <villes@syrjala.pp.sci.fi>
To: alsa-devel@alsa.jcu.cz
Subject: Re: Widi
In-Reply-To: <Pine.LNX.4.04.9902201241490.2325-100000@pluto.andeby>
Message-ID: <Pine.LNX.4.04.9902202239260.1466-100000@syrjala.pp.sci.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
Content-Transfer-Encoding: 8bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Sat, 20 Feb 1999, Anders Semb Hermansen wrote:

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

You should take a look at "http://www.foyer.se/downloads/pgcc_rpms.html".
There you'll find precompiled binaries of pgcc which is the same as egcs
with more optimization stuff. The best part is that they install under
/opt so your old gcc installation wont suffer. They seem to work without
problems.

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

---
Ville Syrjl
syrjala@sci.fi
http://www.sci.fi/~syrjala/


