Infile problem with saolc (?)

From: Richard Dobson (rwd@cableinet.co.uk)
Date: Mon Aug 30 1999 - 19:08:51 EDT


I have reached the stage of needing to test my WAV file input routines,
only to hit an unexpected problem; it does not ~seem~ to be related to
my Win32 build, as I have not changed anything other than to add WAV
support.

I used a watered-down version of in.saol (without the flange), and have
hit an error which suggests that the infile properties are not getting
written to the context structure. I get the message:
"Not that many input channels to instrument..."
[saol_interp.c]

reporting channels = 0, whereas I am inputting a stereo file. This also
happens with aif input, which I have not touched. Under the debugger,
the context seems to be missing most information about it.

Is this a known saolc bug/feature, or is it likely to be specific to my
build?

I had hoped to run saolc on Linux, but my attempts to defeat the
objections of gcc (specifically to the line:

FILE *yyin = {stdin}, *yyout = {stdout};

in saol.yy.c, which throws an error about not initializing with a
constant)

have so far been unsuccessful, so I can't run saolc on my Linux system
as a reference. I am an expert neither on gcc nor on make; if anyone has
a magic makefile which is RedHat-6 friendly, I will be very glad to see
it!

Richard Dobson

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 23rd August 1999)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 14th June 1999)



This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:32 EDT