summaryrefslogtreecommitdiffstats
path: root/tools/audio_channels_diff
diff options
context:
space:
mode:
authorOle Kristian Lien <ole.k.lien@gmail.com>2010-01-14 16:11:10 +0000
committerOle Kristian Lien <ole.k.lien@gmail.com>2010-01-14 16:11:10 +0000
commite26329e5436e451e5e521688487e1037f5400204 (patch)
treec0048b22e653b69e816f1020cf88892fe34fa067 /tools/audio_channels_diff
parent8ffa8a6fa01940bdfb370fce49d86141f88ec292 (diff)
fiks for at audio:merge scriptene skal funke
Diffstat (limited to 'tools/audio_channels_diff')
-rwxr-xr-xtools/audio_channels_diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/audio_channels_diff b/tools/audio_channels_diff
index aba08cc..076bf74 100755
--- a/tools/audio_channels_diff
+++ b/tools/audio_channels_diff
@@ -18,10 +18,10 @@ if [ -z "$1" ]; then
exit 1
fi
-echo "Checking $1 audio channels..."
+echo " * Checking $1 for different audio channels:"
if [ ! -f "$NAME.$FORMAT" ]; then
- echo "File $NAME.$FORMAT does not exists."
+ echo " * File $NAME.$FORMAT does not exists:"
./audio_extract $1 0 60 # øke til feks 2?
fi
@@ -34,11 +34,11 @@ LEFT=`grep Mean $NAME-left.stat | md5sum`
RIGHT=`grep Mean $NAME-right.stat | md5sum`
if [ "$LEFT" == "$RIGHT" ]; then
- echo "Audio channels is equal."
+ echo " * Audio channels is equal!"
rm $NAME.$FORMAT $NAME-left* $NAME-right*
exit
else
- echo "Audio channels is not equal."
+ echo " * Audio channels is not equal!"
rm $NAME.$FORMAT $NAME-left* $NAME-right*
exit 3
fi