Displaying 1 result from an estimated 1 matches for "riffxxxxwav".
Did you mean:
riffxxxxwave
2004 Sep 10
2
Re: : flac and pipes problems (was: Possible bug)
...ing to put the
> -fw in
> there, on these:
>
> $ flac -fw - mj.flac < mj.wav
> $ cat mj.wav | flac -fw - mj.flac
>
> For that matter it should be able to detect wav input and fall back
> to raw
> samples if not detected? The chances of a raw file starting:
>
> RIFFxxxxWAVEfmt
>
> Are not worth caring about.
This is an old thread, but I have implemented a crude form of
autodetection that should be sufficient. Basically, since the
case we really care about is pipe input and ungetc only guarantees
you 4 characters, it just checks for 'RIFF'. This shou...