]> git.tuebingen.mpg.de Git - paraslash.git/commit
Reduce decoder latency.
authorAndre Noll <maan@systemlinux.org>
Fri, 18 Jun 2010 20:46:22 +0000 (22:46 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 18 Jun 2010 20:46:22 +0000 (22:46 +0200)
commitd3af91481ef4a00c26530b7238552666424f0b6f
treea8cfe0fcd9355e77ec4b5446ec1c51ec7a1ff85f
parentf7feafeef70ad8f4e8c6fff715a2287f3240e759
Reduce decoder latency.

If large/many FEC slices are used, the decoder gets large amounts of
data in one chunk. Currently it decodes as much as it can which may
take several 100 milliseconds on slow machines -- enough to cause
buffer underruns for the alsa writer.

This patch teaches the decoders to convert only a small amount of data
in one go in order to give the other buffer tree nodes a chance to run.
aacdec_filter.c
buffer_tree.c
mp3dec_filter.c
oggdec_filter.c
wmadec_filter.c