@@ -101,10 +101,10 @@ Variable Description Default
101101AUDIO_BACKEND Selects backend: pipewire or pulseaudio auto-detect
102102SOURCE_CHOICE Recording source: mic or null mic
103103DURATIONS Recording durations: short, medium, long short
104- RECORD_SECONDS Number of seconds to record (numeric or mapped) 5
104+ RECORD_SECONDS Number of seconds to record (numeric or mapped), default: 30s 30
105105LOOPS Number of recording loops 1
106106TIMEOUT Recording timeout per loop (e.g., 15s, 0=none) 0
107- STRICT Enable strict mode (fail on any error) 0
107+ STRICT Strict mode (0=disabled, 1=enabled, fail on any error) 0
108108DMESG_SCAN Scan dmesg for errors after recording 1
109109VERBOSE Enable verbose logging 0
110110JUNIT_OUT Path to write JUnit XML output unset
@@ -118,7 +118,7 @@ Option Description
118118--record-seconds Number of seconds to record (numeric or mapped)
119119--loops Number of recording loops
120120--timeout Recording timeout per loop (e.g., 15s)
121- --strict Enable strict mode
121+ --strict [0|1] Enable strict mode (0=disabled, 1=enabled)
122122--no-dmesg Disable dmesg scan
123123--junit<file.xml> Write JUnit XML output
124124--verbose Enable verbose logging
@@ -130,7 +130,7 @@ Sample Output:
130130sh-5.2# ./run.sh --backend pipewire
131131[INFO] 2025-09-12 06:06:04 - ---------------- Starting AudioRecord ----------------
132132[INFO] 2025-09-12 06:06:04 - SoC: 498
133- [INFO] 2025-09-12 06:06:04 - Args: backend=pipewire source=mic loops=1 durations='short' rec_secs =30s timeout=0 strict=0 dmesg=1
133+ [INFO] 2025-09-12 06:06:04 - Args: backend=pipewire source=mic loops=1 durations='short' record_seconds =30s timeout=0 strict=0 dmesg=1
134134[INFO] 2025-09-12 06:06:04 - Using backend: pipewire
135135[INFO] 2025-09-12 06:06:04 - Routing to source: id/name=48 label='pal source handset mic' choice=mic
136136[INFO] 2025-09-12 06:06:04 - Watchdog/timeout: 0
@@ -162,5 +162,4 @@ Results:
162162## License
163163
164164SPDX-License-Identifier: BSD-3-Clause-Clear
165- (C) Qualcomm Technologies, Inc. and/or its subsidiaries.
166-
165+ (C) Qualcomm Technologies, Inc. and/or its subsidiaries.
0 commit comments