Re: Patch for port naming, Re: [linux-audio-user] Any instructions about for running a Win VSTi under vstserver

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: Patch for port naming, Re: [linux-audio-user] Any instructions about for running a Win VSTi under vstserver
From: James Stone (stone1_AT_btinternet.com)
Date: Sat May 29 2004 - 00:53:22 EEST


On Fri, May 28, 2004 at 10:07:21PM +0200, Robert Jonsson wrote:
> Hi,
>
> I finally got it working by upgrading my Wine install. And it is working quite
> nicely at that, tried a bunch of synths fro kvr-vst that work pretty good.
>
> But this mail isn't about that.
>
> > >
> > > The problem is that seq24 will not start with vsti running.
> > >
> > > Another problem is in muse, if I have two vsti s running they are only
> > > selectable as one instrument...
>
> This happens since because vsti always exported them with the same port name,
> which MusE doesn't like.
>
> This vsti patch makes vsti add the client_name to the port name (it can be
> argued if the Input/Output prefix needs to be there but I guess some hosts
> like it).
>
> --- oldjc.c 2004-05-28 21:53:00.000000000 +0200
> +++ jackclient.c 2004-05-28 21:55:43.000000000 +0200
> @@ -66,7 +66,14 @@
>
> snd_seq_set_client_name (seq, client_name);
>
> - err = snd_seq_create_simple_port (seq, isinput==true?"Input":"Output",
> +
> + char portName[100];
> + if (isinput)
> + sprintf(portName,"Input/%s", client_name);
> + else
> + sprintf(portName,"Output/%s", client_name);
> +

Nice work.. will have to try this.

James


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat May 29 2004 - 00:41:06 EEST