diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-05-20 23:01:31 +0000 |
---|---|---|
committer | Daniel Manrique <> | 2015-05-20 23:01:31 +0000 |
commit | 0126f5cdb6aed6f7552ffc8d32ad27e47fc2172b (patch) | |
tree | a1488eb4ffa9e9cee5087762505affb9a178672b /jobs | |
parent | 2c1bb4dbd4c8f301c975a75584aa26036f3a4e1e (diff) | |
parent | dd054710d61215b001e29855509f47879f86760d (diff) |
"automatic merge of lp:~cypressyew/checkbox/bt-a2dp-fix/ by tarmac [r=zyga][bug=1326746][author=cypressyew]"
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/bluetooth.txt.in | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/jobs/bluetooth.txt.in b/jobs/bluetooth.txt.in index 093177a..a9eb508 100644 --- a/jobs/bluetooth.txt.in +++ b/jobs/bluetooth.txt.in @@ -62,23 +62,24 @@ depends: bluetooth/detect-output estimated_duration: 120.0 command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + idx=`pactl list cards short | awk '/bluez/{print $1}'` + bt_sink=`pactl list sinks short | awk '/bluez/{print $2}'` + pactl set-card-profile $idx a2dp + pactl set-default-sink $bt_sink gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: - This test will check that you can record and hear audio using a bluetooth audio device + This test will check the High Fidelity Playback (A2DP) capability of your Bluetooth device, + to see if you can hear audio from it. STEPS: - 1. Enable the bluetooth headset - 2. Click on the sound icon - 3. Click "Sound Settings" - 4. Look for the device in the list and select it - 5. Set Quality to A2DP - 6. Click "Test" to record for five seconds and reproduce in the bluetooth device + 1. Enable and pair the bluetooth headset + 2. Click "Test" to play a brief tone on your Bluetooth device, if it failed to set the Mode to A2DP, + please select the device and change it manually in the "Sound Settings" VERIFICATION: - Did you hear the sound? + Did you hear the tone? plugin: user-interact-verify id: bluetooth/audio |