# HG changeset patch
# User Chris Cannam
# Date 1480007440 0
# Node ID ae68ebb5fbe83248f9dac9c3f54c14a39aadbe79
# Parent  d83afa20705fcb0936522de467c2f5f48fc7adb2
Fixes to mp3 decode in subrepo. Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames, fixing the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Both gleaned from madplay source code.

diff -r d83afa20705f -r ae68ebb5fbe8 .hgsubstate
--- a/.hgsubstate	Wed Nov 23 10:39:45 2016 +0000
+++ b/.hgsubstate	Thu Nov 24 17:10:40 2016 +0000
@@ -8,6 +8,6 @@
 3257ddb6fff110cc88f3ffeaeefa0f29d5eb3b6f piper-cpp
 e1712f7d74a455337591091a57beba2f0443b9dd sv-dependency-builds
 36aa947ec9629108da8abe39b37fb97c1e989514 svapp
-2f468f43c02c7c5689fae7c82832e3912dd79064 svcore
+fa574c909c3db7dc9ef6f2294e100315553b0498 svcore
 958e352919a587f0e9702b0d43f5667b8167e71c svgui
 0eebd22a081a824067bf3d5de65326696feab653 vamp-plugin-sdk