mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
test/test_seeking.sh : Fix detection of Ogg support.
This commit is contained in:
@@ -78,15 +78,13 @@ run_test_seeking ()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Checking for --ogg support in flac..."
|
echo -n "Checking for --ogg support in flac ... "
|
||||||
if flac --ogg --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then
|
if flac --ogg --no-error-on-compression-fail --silent --force-raw-format --endian=little --sign=signed --channels=1 --bps=8 --sample-rate=44100 -c $0 1>/dev/null 2>&1 ; then
|
||||||
has_ogg=yes;
|
has_ogg=yes;
|
||||||
echo "flac --ogg works"
|
|
||||||
else
|
else
|
||||||
has_ogg=no;
|
has_ogg=no;
|
||||||
echo "flac --ogg doesn't work"
|
|
||||||
fi
|
fi
|
||||||
|
echo ${has_ogg}
|
||||||
|
|
||||||
echo "Generating streams..."
|
echo "Generating streams..."
|
||||||
if [ ! -f noise.raw ] ; then
|
if [ ! -f noise.raw ] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user