aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenjamin gaignard <benjamin.gaignard@linaro.org>2012-01-24 16:30:11 +0100
committerbenjamin gaignard <benjamin.gaignard@linaro.org>2012-01-24 16:30:11 +0100
commitfc2ccb6cfc6e1cdecaaf0ffb6ca595a0154a2201 (patch)
tree73912d3b546795b35781d3c6526cb2c464142b32
parent0c84715c69b22cdf958333dd4a149d2f45af5bb2 (diff)
downloade2eaudiotest-fc2ccb6cfc6e1cdecaaf0ffb6ca595a0154a2201.tar.gz
set amixer parameters
Signed-off-by: benjamin gaignard <benjamin.gaignard@linaro.org>
-rwxr-xr-xe2eaudiotest.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/e2eaudiotest.sh b/e2eaudiotest.sh
index 2b5a87d..4c7534d 100755
--- a/e2eaudiotest.sh
+++ b/e2eaudiotest.sh
@@ -1,6 +1,9 @@
#play a sine wave at A 440 hz
-speaker-test -t sine -f 440 -l 1 &
+amixer sset Headset 10
+amixer sset 'Headset Left Playback' 'HS DAC'
+amixer sset 'Headset Right Playback' 'HS DAC'
+speaker-test -D hw:0,8 -c 2 -F S32_LE -r 96000 -t sine -f 440 -l 1 &
# check the loopback frequency
if ./testfreq ; then