]> git.tue.mpg.de Git - paraslash.git/commit
wmadec: Only decode one superframe at a time.
authorAndre Noll <maan@systemlinux.org>
Sat, 7 Apr 2012 01:02:33 +0000 (03:02 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 3 Jun 2012 11:04:01 +0000 (13:04 +0200)
commit97dbfe66e1697640edcb987f17faed84536528e4
tree5be9ee96e24011c3e8d2bb8bb82a9cce48ade6bb
parentd6e0177297fc95e508be8c40cdecd3be7397cc03
wmadec: Only decode one superframe at a time.

Similar to the previous commit for the flac decoder, this commit
removes the loop in wmadec_post_select(). This gives other tasks a
chance to run and simplifies the code.

Also, if the buffer was not filled completely, it is truncated to
the proper size to reduce memory usage of the decoder.
wmadec_filter.c