Skip to content

Commit 00350e4

Browse files
committed
AudioPlayback: add clean minimal-build ALSA fallback
Handle minimal images without managed audio services by falling back to direct ALSA playback. Keep full-build behavior unchanged while improving minimal-build execution and logging. Add a dedicated AudioPlayback LAVA YAML for minimal images using direct ALSA playback and custom clip path support. Fixed shellcheck errors. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent b0e3f87 commit 00350e4

2 files changed

Lines changed: 461 additions & 214 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
metadata:
2+
name: AudioPlayback minimal build
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "AudioPlayback on minimal build using direct ALSA path"
5+
maintainer:
6+
- srikanth kumar
7+
os:
8+
- linux
9+
scope:
10+
- functional
11+
12+
params:
13+
CLIPS_PATH: "/home/AudioClips"
14+
BACKEND: "alsa"
15+
SINK: "speakers"
16+
LOOPS: "1"
17+
TIMEOUT: "0"
18+
19+
run:
20+
steps:
21+
- REPO_PATH=$PWD
22+
- cd Runner/suites/Multimedia/Audio/AudioPlayback/
23+
- ./run.sh --backend "${BACKEND}" --sink "${SINK}" --audio-clips-path "${CLIPS_PATH}" --loops "${LOOPS}" --timeout "${TIMEOUT}" --audio-bootstrap false || true
24+
- ./send-to-lava.sh AudioPlayback.res

0 commit comments

Comments
 (0)