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
+40-19Lines changed: 40 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,25 @@
1
-
# Audio playback Validation Script for Qualcomm Linuxbased platform (Yocto)
1
+
# Audio Playback Validation Script for Qualcomm Linux-based Platform (Yocto)
2
2
3
3
## Overview
4
4
5
-
This script automates the validation of audio playback capabilities on the Qualcomm Linuxbased platform running a Yocto-based Linux system. It utilizes pulseaudio test app to decode wav file.
5
+
This script automates the validation of audio playback capabilities on the Qualcomm Linux-based platform running a Yocto-based Linux system. It supports both PulseAudio and PipeWire backends for audio playback.
6
6
7
7
## Features
8
8
9
-
- Decoding PCM clip
10
-
- Compatible with Yocto-based root filesystem
9
+
- Plays a test audio clip using either `paplay` or `pw-play`
10
+
- Supports configurable playback volume, timeout, and loop count
11
+
- Automatically downloads and extracts audio clip if not present
12
+
- Captures kernel logs before and after playback
13
+
- Scans dmesg logs for audio-related errors
14
+
- Validates presence of required daemons and binaries
11
15
12
16
## Prerequisites
13
17
14
18
Ensure the following components are present in the target Yocto build:
-`pulseaudio` or `pipewire` daemon must be running depending on backend
17
23
18
24
## Directory Structure
19
25
@@ -34,7 +40,7 @@ Instructions
34
40
35
41
1. Copy repo to Target Device: Use scp to transfer the scripts from the host to the target device. The scripts should be copied to any directory on the target device.
36
42
37
-
2. Verify Transfer: Ensure that the repo have been successfully copied to any directory on the target device.
43
+
2. Verify Transfer: Ensure that the repo has been successfully copied to any directory on the target device.
38
44
39
45
3. Run Scripts: Navigate to the directory where these files are copied on the target device and execute the scripts as needed.
40
46
@@ -46,22 +52,36 @@ git clone <this-repo>
46
52
cd <this-repo>
47
53
scp -r Runner user@target_device_ip:<Path in device>
48
54
ssh user@target_device_ip
49
-
cd <Path in device>/Runner && ./run-test.sh AudioPlayback
Copy file name to clipboardExpand all lines: Runner/suites/Multimedia/Audio/AudioRecord/Read_me.md
+38-17Lines changed: 38 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,28 @@
1
-
# Audio encode Validation Script for Qualcomm Linuxbased platform (Yocto)
1
+
# Audio Record Validation Script for Qualcomm Linux-based Platform (Yocto)
2
2
3
3
## Overview
4
4
5
-
This script automates the validation of audio encode capabilities on the Qualcomm Linuxbased platform running a Yocto-based Linux system. It utilizes pulseaudio test app to encode file.
5
+
This script automates the validation of audio recording capabilities on the Qualcomm Linux-based platform running a Yocto-based Linux system. It supports both PulseAudio and PipeWire backends for audio recording.
-`pulseaudio` or `pipewire` daemon must be running depending on backend
25
+
17
26
18
27
## Directory Structure
19
28
@@ -34,7 +43,7 @@ Instructions
34
43
35
44
1. Copy repo to Target Device: Use scp to transfer the scripts from the host to the target device. The scripts should be copied to any directory on the target device.
36
45
37
-
2. Verify Transfer: Ensure that the repo have been successfully copied to any directory on the target device.
46
+
2. Verify Transfer: Ensure that the repo has been successfully copied to any directory on the target device.
38
47
39
48
3. Run Scripts: Navigate to the directory where these files are copied on the target device and execute the scripts as needed.
40
49
@@ -46,22 +55,33 @@ git clone <this-repo>
46
55
cd <this-repo>
47
56
scp -r Runner user@target_device_ip:<Path in device>
48
57
ssh user@target_device_ip
49
-
cd <Path in device>Runner && ./run-test.sh AudioRecord
0 commit comments