Displaying 6 results from an estimated 6 matches for "last_k".
Did you mean:
last_t
2014 Dec 03
2
[PATCH] test_compression.sh
...22:53:11 2014
+++ test_compression.sh Wed Dec 3 23:01:16 2014
@@ -23,24 +23,22 @@ PATH=`pwd`/../src/flac:$PATH
echo "Using FLAC binary :" $(which flac)
-date=`date "+%Y%m%dT%H%M%S"`
-fname="comp${date}.flac"
+ofile=`mktemp`.$$
+ifile="noisy-sine.wav"
-last_k=0
-last_size=$(wc -c < noisy-sine.wav)
+prevcomp=0
+prevsize=`wc -c < $ifile`
+echo "Original file size $prevsize bytes."
-echo "Original file size ${last_size} bytes."
+for comp in 0 1 2 3 4 5 6 7 8 ; do
+ flac${EXE} -f -$comp --silent $ifile -o $ofile
+ size=`wc -c <...
2014 Oct 22
0
[PATCH] Make test_compression a little more forgiving
...h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_compression.sh b/test/test_compression.sh
index 11bd6c3..504bf55 100755
--- a/test/test_compression.sh
+++ b/test/test_compression.sh
@@ -39,7 +39,7 @@ for k in 0 1 2 3 4 5 6 7 8 ; do
echo "Error : Compression ${last_k} size $last_size >= compression $k size $size."
exit 1
fi
- last_size=${size}
+ let last_size=${size}+10
last_k=${k}
rm -f ${fname}
done
--
1.9.1
--------------040506080301050601050900--
2014 Nov 26
1
flac-1.3.1pre1
...t (C) 2012 Xiph.Org Foundation
@@ -17,7 +17,7 @@
# restrictive of those mentioned above. See the file COPYING.Xiph in this
# distribution.
-source common.sh
+. ./common.sh
PATH=`pwd`/../src/flac:$PATH
@@ -39,7 +39,7 @@ for k in 0 1 2 3 4 5 6 7 8 ; do
echo "Error : Compression ${last_k} size $last_size >= compression $k size $size."
exit 1
fi
- let last_size=${size}+10
+ last_size=$((${size}+10))
last_k=${k}
rm -f ${fname}
done
--- test_flac.sh.orig Wed Nov 26 21:53:30 2014
+++ test_flac.sh Wed Nov 26 21:53:39 2014
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e...
2014 Nov 25
2
flac-1.3.1pre1
Op 25-11-14 om 23:39 schreef Jan Stary:
> Is there a reason the test scripts are calling bash?
The change from sh to bash was made a little more than a year
ago. The mailing list thread accompanying this change can be
found here:
http://lists.xiph.org/pipermail/flac-dev/2013-September/004374.html
2014 Nov 25
0
flac-1.3.1pre1
...t (C) 2012 Xiph.Org Foundation
@@ -17,7 +17,7 @@
# restrictive of those mentioned above. See the file COPYING.Xiph in this
# distribution.
-source common.sh
+. ./common.sh
PATH=`pwd`/../src/flac:$PATH
@@ -39,7 +39,7 @@ for k in 0 1 2 3 4 5 6 7 8 ; do
echo "Error : Compression ${last_k} size $last_size >= compression $k size $size."
exit 1
fi
- let last_size=${size}+10
+ last_size=$((${size}+10))
last_k=${k}
rm -f ${fname}
done
--- test_flac.sh Tue Nov 25 04:42:25 2014
+++ /home/hans/src/flac-1.3.1pre1/test/test_flac.sh Tue Nov 25 23:00:35 2014
@@ -1,4 +1,4 @@...
2014 Nov 25
19
flac-1.3.1pre1
Hi all,
As people may have seen there's a pre-release here:
http://downloads.xiph.org/releases/flac/beta/
Specifically:
flac-1.3.1pre1.tar.xz : The source code
flac-1.3.1pre1-win.zip : Windows 32 and 64 bit binaries
Please test.
I'm particularly interested in hearing about the windows binaries
which were cross compiled from Linux to Windows. Unfortunately
there is a bug