[PlanetCCRMA] Re: jack_fst - Library requirements

Mark Knecht Mark Knecht <markknecht@gmail.com>
Sat Oct 30 18:02:01 2004


------=_Part_1976_17553437.1099184491187
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Certainly. I should have just done this earlier but I hate to flood
the list. Since it's just a single file it shouldn't be much of an
issue I hope.

Please replace this file in your jack_fst-1.2 directory, then make
clean, make, make install.

- Mark


On Sun, 31 Oct 2004 08:44:01 +0800, Timo Sivula <timo.sivula@luukku.com> wrote:
> Mark,
> 
> could you send us the corrected source files as I am not convinced I
> would correct them correctly my self without adding new problems...
> 
> bt, Timo
> 
> 
> 
> On Sun, 2004-10-31 at 07:07, Mark Knecht wrote:
> > Andres,
> >    Hi. Working with a couple of really great guys on the Wine-Users
> > list we have come up with a quick fix that allows jack_fst to work on
> > my system and on both of theirs. It is by no means tested, and it's
> > probably not the way things should really be fixed, but I was
> > wondering if you and/or Timo would do a quick test and see if it works
> > for you?
> >
> >    The problem appears to be when and how jack_fst allocates memory.
> > There are some new rules that Wine has about allocating memory and it
> > appears that jack_fst probably doesn't know about them. The fix is to
> > ensure that memory is allocated early in the process of bringing
> > jack_fst up. If you are willing to try, then first add the following
> > function into jfst.c:
> >
> > void jfst_reserve_mem (int bufsize)
> > {
> >        char buf [bufsize];
> >        int i;
> >
> >        fprintf (stderr, "Reserving memory: base=%p, size=%d, end=%p\n",
> >        buf, sizeof(buf), buf+sizeof(buf));
> >        for (i=0; i<bufsize; i++)
> >           {
> >            buf[i] = (char) (i % 256);
> >        }
> > }
> >
> > Once this is in place then we need to tell the main function to use
> > it, so it needs to be added before the call to fst_init(). I did it
> > like this:
> >
> >
> >         jfst_reserve_mem(1000000); //NEW FIX FOR WINE-20041019
> >
> >         if (fst_init (fst_signal_handler)) {
> >                 return 1;
> >         }
> >
> > With that in place I am now able to run VST's with wine-20041019.
> > However, so far I have only tested a few VSTs so I don't know if this
> > is a global fix. Also, with this fix I am only able to load two VSTs
> > at the same time. One the third I get an error message, most probably
> > because this simple fix overlooks something obvious.
> >
> >    Anyway, I look forward to hearing how it works for you guys.
> >
> > Cheers,
> > Mark
> >
> >
> >
> >
> > On Mon, 25 Oct 2004 10:08:54 -0400, Andres Cabrera
> > <acabrera@teleset.com.co> wrote:
> > > Hi Mark,
> > > I'm wondering what you did to get jack_fst working. On my system
> > > jack_fst has built fine, but when run, the VST gui pops up for a second,
> > > and jack_fst quits with a segmentation fault (I've tried about five
> > > different plugins with the same result). When the plugin doesn't have a
> > > gui, there is no segmentation fault, but jack_fst doesn't show up as
> > > ports on qjackctl.
> > > I'm using wine-20040813 and Fedora Core 1 Planet CCRMA.
> > >
> > > Any ideas here?
> > >
> > > Thanks,
> > > Andres
> > >
> > > _______________________________________________
> > > PlanetCCRMA mailing list
> > > PlanetCCRMA@ccrma.stanford.edu
> > > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> > >
> 
>

------=_Part_1976_17553437.1099184491187
Content-Type: application/x-gzip; name="jfst.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="jfst.tar.gz"

H4sICNk4hEEAA2pmc3QudGFyAO1Z+2/bRhLOr9ZfMedDYkmWZcmXuLg6Nqo6dqNeHoYttwjSQFiR
K2kbilS5SyVu6//9vtlditTDdhwUdzicCSQi9zHzzXt2rU2SipHcDYURuz9d9HZ/7Bz/q3+Kl19F
8LE/1Gan3dzb/RUvzeDR1z0tPPtPn/Jv+5tnLfvddt/8tv+03XrUxgj+tff2249ae639vWePqPWV
/O71ZNqIlOjRRKQfb18nU33LvBOmNf/9H3l26xXCc5xMr1I1GhuqHtdor9V6Smcii+iFmClNz6d4
/y5ScfZZZKFK9JU2cqKbQTI5Irt/zdNL0oGM6WUyjum5sR/j71Q8TNKJMOpjM4vVziCVExk3Q3lU
sWR6Y3CbpskoFRPC6zCVknQyNJ9EKg/oKskoEDGlMlTapGqQGUnKkIjD3SSlSRKq4ZUlhMEsDmVK
ZizJyHSiKRnajx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