Skip to content

Commit 779d38f

Browse files
committed
Adding GStreamer test cases for Audio record and playback functionality, supports wav and flac codecs, added support in lib gstreamer sh function to handle pipelines
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
1 parent 11e32a9 commit 779d38f

4 files changed

Lines changed: 1318 additions & 20 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
metadata:
2+
name: gstreamer-audio-record-playback
3+
format: "Lava-Test Test Definition 1.0"
4+
description: >
5+
Audio record/playback validation using GStreamer (gst-launch-1.0).
6+
Tests 8 scenarios: 4 encode (2 audiotestsrc + 2 pulsesrc) + 4 decode (playback).
7+
Supports WAV and FLAC formats with both synthetic audio (audiotestsrc) and hardware capture (pulsesrc).
8+
Duration controlled via AUDIO_DURATION (default 10s): audiotestsrc uses num-buffers, pulsesrc uses timeout.
9+
os:
10+
- linux
11+
scope:
12+
- functional
13+
14+
params:
15+
AUDIO_TEST_MODE: "all"
16+
AUDIO_FORMATS: "wav,flac"
17+
AUDIO_DURATION: "10"
18+
AUDIO_GST_DEBUG: "2"
19+
20+
run:
21+
steps:
22+
- REPO_PATH="$PWD"
23+
- cd Runner/suites/Multimedia/GSTreamer/Audio/Audio_Record_Playback/
24+
- export AUDIO_TEST_MODE AUDIO_FORMATS AUDIO_DURATION AUDIO_GST_DEBUG
25+
- ./run.sh --mode "${AUDIO_TEST_MODE}" --formats "${AUDIO_FORMATS}" --duration "${AUDIO_DURATION}" --gst-debug "${AUDIO_GST_DEBUG}" || true
26+
- $REPO_PATH/Runner/utils/send-to-lava.sh Audio_Record_Playback.res || true

0 commit comments

Comments
 (0)