Mercurial > audlegacy-plugins
diff src/filewriter/vorbis.c @ 2774:f1f7ee810de8
add metadata to stream + flush() should do a real flush at least with mp3
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Fri, 13 Jun 2008 04:58:39 +0300 |
parents | 6d08e3120615 |
children | 5df83337516f |
line wrap: on
line diff
--- a/src/filewriter/vorbis.c Tue Jun 10 21:14:28 2008 +0300 +++ b/src/filewriter/vorbis.c Fri Jun 13 04:58:39 2008 +0300 @@ -30,6 +30,7 @@ static void vorbis_configure(void); static gint vorbis_open(void); static void vorbis_write(gpointer data, gint length); +static void vorbis_flush(void); static void vorbis_close(void); static gint vorbis_free(void); static gint vorbis_playing(void); @@ -42,6 +43,7 @@ vorbis_configure, vorbis_open, vorbis_write, + vorbis_flush, vorbis_close, vorbis_free, vorbis_playing, @@ -207,6 +209,11 @@ olen += length; } +static void vorbis_flush(void) +{ + //nothing to do here yet. --AOS +} + static void vorbis_close(void) { ogg_stream_clear(&os);