From: Andre Noll Date: Sat, 7 Apr 2012 01:02:33 +0000 (+0200) Subject: wmadec: Only decode one superframe at a time. X-Git-Tag: v0.4.11~13^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=97dbfe66e1697640edcb987f17faed84536528e4;hp=97dbfe66e1697640edcb987f17faed84536528e4;p=paraslash.git 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. ---