[Stk] WvIn problem on Linux
Ge Wang
gewang@CS.Princeton.EDU
Fri, 18 Mar 2005 22:54:32 -0500 (EST)
Hi Matthew,
As Perry said, this sounds like endian issue. try adding:
-D__LITTLE_ENDIAN__
to CXXFLAGS in your makefile. Unless you are running linux on a big
endian machine (such as macs/ppc), you should set this flag.
Best,
Ge!
On Fri, 18 Mar 2005, Perry R Cook wrote:
> Matthew,
>
> Looks like a byte-swap/configuration issue. 16 bits per
> sample is normal. If we swap the bytes, then 16 * 256
> becomes 4096. That at least is the clue as to what's
> wrong. How to fix might involve a config, or #define
> that isn't getting invoked correctly somewhere.
>
> PRC
>
> _______________________________________________
> Stk mailing list
> Stk@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>