Mercurial > audlegacy-plugins
comparison src/filewriter/vorbis.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 |
---|---|
45 vorbis_write, | 45 vorbis_write, |
46 vorbis_flush, | 46 vorbis_flush, |
47 vorbis_close, | 47 vorbis_close, |
48 vorbis_free, | 48 vorbis_free, |
49 vorbis_playing, | 49 vorbis_playing, |
50 vorbis_get_written_time | 50 vorbis_get_written_time, |
51 FMT_S16_NE | |
51 }; | 52 }; |
52 | 53 |
53 static float v_base_quality = 0.5; | 54 static float v_base_quality = 0.5; |
54 | 55 |
55 static ogg_stream_state os; | 56 static ogg_stream_state os; |