[vorbis-dev] how do I flush the encoder's buffers

Monty xiphmont at xiph.org
Thu Mar 14 21:02:34 PST 2002



On Thu, Mar 14, 2002 at 09:10:45AM -0500, Kendal wrote:
> What I am attempting to do is implement silence suppression. I need a means 
> to flush all linear audio samples that have preceded a silence break. Do 
> you have any recommendations on how I should implement flushing in this 
> senario?

feed the encoder zeroes; Vorbis also implements silence suppression.
The bitrate of digital silence in the current encoder for 44.1kHz
stereo is about 75bytes/s.  Theoretically, it can be as low as
~15bytes/sec.

You can't flush the stream without ending it; this is inherent in the
stream format.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list