summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/hsmicro2
-rwxr-xr-xtest/hsplay2
-rw-r--r--test/hstest.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/hsmicro b/test/hsmicro
index 8aec68f2..c254226b 100755
--- a/test/hsmicro
+++ b/test/hsmicro
@@ -17,4 +17,4 @@ fi
BDADDR=$1
CHANNEL=$2
-$HSTEST record - $BDADDR $CHANNEL | $SOX -t raw -r 8000 -c 1 -s -b - -t ossdsp -r 44100 -c 2 -s -w /dev/dsp polyphase vol 5.0 2> /dev/null
+$HSTEST record - $BDADDR $CHANNEL | $SOX -t raw -r 8000 -c 1 -s -w - -t ossdsp -r 44100 -c 2 -s -w /dev/dsp polyphase vol 5.0 2> /dev/null
diff --git a/test/hsplay b/test/hsplay
index 8a676459..5f53562b 100755
--- a/test/hsplay
+++ b/test/hsplay
@@ -19,4 +19,4 @@ FILE=$1
BDADDR=$2
CHANNEL=$3
-$MPG123 -q -s "$FILE" | $SOX -t raw -r 44100 -c 2 -s -w - -t raw -r 8000 -c 1 -s -b - | $HSTEST play - $BDADDR $CHANNEL
+$MPG123 -q -s "$FILE" | $SOX -t raw -r 44100 -c 2 -s -w - -t raw -r 8000 -c 1 -s -w - | $HSTEST play - $BDADDR $CHANNEL
diff --git a/test/hstest.c b/test/hstest.c
index 8b47a10a..23bbf089 100644
--- a/test/hstest.c
+++ b/test/hstest.c
@@ -189,8 +189,8 @@ int main(int argc, char *argv[])
vs = htobs(vs);
fprintf(stderr, "Voice setting: 0x%04x\n", vs);
close(dd);
- if (vs != 0x0040) {
- fprintf(stderr, "The voice setting must be 0x0040\n");
+ if (vs != 0x0060) {
+ fprintf(stderr, "The voice setting must be 0x0060\n");
return -1;
}