Minor correction in generate_assets script
This commit is contained in:
parent
e4f2d0b1d5
commit
e11641cd43
@ -203,8 +203,8 @@ convert_sound()
|
|||||||
OGG_RATE=`ogginfo "$FILE" | grep "Rate: " | cut -f 2 -d " " \
|
OGG_RATE=`ogginfo "$FILE" | grep "Rate: " | cut -f 2 -d " " \
|
||||||
| grep -o '[0-9]*'`
|
| grep -o '[0-9]*'`
|
||||||
|
|
||||||
if [ ! -z "$OGG_RATE" ] && [ "$OGG_RATE" -gt "32000" ]; then
|
if [ ! -z "$OGG_RATE" ] && [ "$OGG_RATE" -gt "$SOUND_SAMPLE" ]; then
|
||||||
OGGENC_CMD="$OGGENC_CMD --resample 32000"
|
OGGENC_CMD="$OGGENC_CMD --resample $SOUND_SAMPLE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OGGENC_CMD="$OGGENC_CMD -b $SOUND_QUALITY"
|
OGGENC_CMD="$OGGENC_CMD -b $SOUND_QUALITY"
|
||||||
|
Loading…
Reference in New Issue
Block a user