search for: jfst_reserve_mem

Displaying 1 result from an estimated 1 matches for "jfst_reserve_mem".

2004 Oct 30
1
Quick fix for jack_fst?
...else, because these memory issues are beyond me. If somebody more knowledgeable wants to step in here... A quick fix for jack_fst seems to be to pre-reserve a chunk of memory, exactly like jack_activate does, but before wine_init gets called. I put 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); } }...