swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] os x: wav2swf static problem


From: Dan Friedman
Subject: Re: [Swftools-common] os x: wav2swf static problem
Date: 10 Nov 2004 13:26:20 -0500

> Date: Wed, 10 Nov 2004 18:14:27 +0100
> From: Matthias Kramm <address@hidden>
>
<...>
>
> 2.) Add the code
>
> #ifdef WORDS_BIGENDIAN
>     /* swap bytes */
>     for(t=0;t<numsamples;t++) {
>         samples[t] = (samples[t]>>8)&0xff | (samples[t]<<8)&0xff00;
>     }
> #endif
>
>     to wav2swf.c, below the line
>
>       numsamples = wav2.size/2;
>
>     (around line 239), and then run it with and without the -d option.
>
> Thanks,
>
> Matthias

Solution #2 appears to work (with no -d option).

I get a 'strange error flushing buffer' when I run wav2swf, but the resulting
swf file does sound correct.

Thanks very much!

Dan Friedman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]