Vincent Penquerc'h a16cd5d2a5 vorbisenc: push an updated segment stop time when we know it
When encoding, libvorbis will tell us how many samples are encoded
in the buffer it returns. This number may be less than the maximum
of samples in the block, if this is the last packet. In we have no
segment end time, we set it to the end time of that last sample to
tell downstream that the buffer contains less samples.
2014-10-30 14:28:39 +00:00
..
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00
2012-11-03 23:05:09 +00:00

oggvorbisenc : encodes to vorbis inside an ogg stream. This is not the
               GStreamer way of doing things and should be removed for 
	       0.9. It is still called "vorbisenc" for backward compatibility
	       reasons. It also takes integer audio as input.
vorbisenc :    Encodes to a raw vorbis stream and should be used together
 	       with an ogg muxer such as "oggmux" it is called "rawvorbisenc".
	       It also takes raw float samples as input.

TODO for 0.9:

- remove oggvorbisenc.c and oggvorbisenc.h
- remove references to oggvorbisenc.[ch] in the Makefile and in vorbis.c
- remove the element vorbisenc.
- rename the element rawvorbisenc to vorbisenc.