You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Runner/suites/Multimedia/Audio/AudioPlayback/Read_me.md
+56-31Lines changed: 56 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ This suite automates the validation of audio playback capabilities on Qualcomm L
9
9
10
10
- Supports **PipeWire** and **PulseAudio** backends
11
11
- Plays audio clips with configurable format, duration, and loop count
12
+
-**Network operations are optional**: By default, no network connection is attempted. Use `--enable-network-download` to enable downloading missing audio files
12
13
- Automatically downloads and extracts audio assets if missing
13
14
- Validates playback using multiple evidence sources:
--audio-clips-path <path> Custom location for audio clips (for CI with pre-staged clips)
166
+
--junit <file.xml> Write JUnit XML output
167
+
--verbose Enable verbose logging
168
+
--help Show usage instructions
147
169
148
170
```
149
171
@@ -178,8 +200,10 @@ Diagnostic logs: dmesg snapshots, mixer dumps, playback logs per test case
178
200
- The script validates the presence of required tools before executing tests; missing tools result in SKIP.
179
201
- If any critical tool is missing, the script exits with an error message.
180
202
- Logs include dmesg snapshots, mixer dumps, and playback logs.
181
-
- Asset download requires network connectivity.
182
-
- Pass Wi-Fi credentials via SSID and PASSWORD environment variables to enable network access for asset downloads and playback validation.
203
+
-**Network operations are disabled by default**. Use `--enable-network-download` to download missing audio files.
204
+
- Pass Wi-Fi credentials via `--ssid` and `--password` CLI flags (or SSID/PASSWORD environment variables) to auto-enable network download.
205
+
- If audio clips are present locally, the test runs without any network operations (offline-capable).
206
+
- If clips are missing and network download is disabled, the test will SKIP with a helpful message.
183
207
- You can override default network probe targets using NET_PROBE_ROUTE_IP and NET_PING_HOST to avoid connectivity-related failures in restricted environments.
184
208
- Evidence-based PASS/FAIL logic ensures reliability even if backend quirks occur.
185
209
@@ -188,3 +212,4 @@ Diagnostic logs: dmesg snapshots, mixer dumps, playback logs per test case
188
212
SPDX-License-Identifier: BSD-3-Clause-Clear
189
213
(C) Qualcomm Technologies, Inc. and/or its subsidiaries.
0 commit comments