comparison src/filewriter/wav.c @ 2873:31d6c44ffef2

most of encoder backends require GINT16_NE; this is a temporary solution, it works for Icecast, but breaks FileWriter's WAV output on Big Endian systems; also, 8-bit data may be handled wrong; needs to be re-written with libSAD usage
author Andrew O. Shadoura <bugzilla@tut.by>
date Wed, 16 Jul 2008 23:09:38 +0300
parents f1b6f1b2cdb3
children dcd8d93ba781
comparison
equal deleted inserted replaced
2835:f1b6f1b2cdb3 2873:31d6c44ffef2
38 wav_write, 38 wav_write,
39 wav_flush, 39 wav_flush,
40 wav_close, 40 wav_close,
41 wav_free, 41 wav_free,
42 wav_playing, 42 wav_playing,
43 wav_get_written_time 43 wav_get_written_time,
44 FMT_S16_LE
44 }; 45 };
45 46
46 47
47 struct wavhead 48 struct wavhead
48 { 49 {