well, not that simple, as this applies to PCM (format 1) wave files only. But to handle other formats there would need to be much more code patching anyway.
Krzysztof
I wrote:
yes... I agree that it is basically as simple as putting some
while (strncmp(((t_wave*)buf)->w_datachunkid, "data", 4))...
...