Mercurial > hg > sonic-visualiser
view misc/update-i18n.sh @ 1354:ae68ebb5fbe8 3.0-integration
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.
author | Chris Cannam |
---|---|
date | Thu, 24 Nov 2016 17:10:40 +0000 |
parents | bd3cb9d6db66 |
children |
line wrap: on
line source
#!/bin/sh LUPDATE="lupdate" LRELEASE="lrelease" if lupdate-qt5 -version >/dev/null 2>&1; then LUPDATE="lupdate-qt5" LRELEASE="lrelease-qt5" fi LANGUAGES="ru en_GB en_US cs_CZ" for LANG in $LANGUAGES; do $LUPDATE \ svcore/*/*.h svcore/*/*.cpp \ svcore/*/*/*.h svcore/*/*/*.cpp \ svgui/*/*.h svgui/*/*.cpp \ svapp/*/*.h svapp/*/*.cpp \ */*.h */*.cpp \ -ts i18n/sonic-visualiser_$LANG.ts done for LANG in $LANGUAGES; do $LRELEASE i18n/sonic-visualiser_$LANG.ts done