Multimedia/GStreamer: Audio_Playback: LAVA env defaults + shared caps/timeout/evidence helpers #245
Merged
abbajaj806 merged 4 commits intoqualcomm-linux:mainfrom Jan 19, 2026
Merged
Conversation
…d lib runners - Audio_Playback run.sh now supports LAVA-provided environment defaults and reduces inline duplication by using shared helpers from lib_gstreamer.sh. - Add env-to-default mapping for all CLI params (AUDIO_* and AUDIO_PLAYBACK_*) - Keep CLI as highest priority override - Use shared gst-launch timeout runner and shared evidence sampling wrapper - Use shared caps inference + caps forcing policy (user-requested or inferred only) - Improve logging: prints normalized duration, backend chain, sink selection and pipeline Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
…ce/timeout/evidence Refactor lib_gstreamer.sh to provide reusable building blocks for all Audio_* GST tests (Playback) and remove duplicate/unused implementations. Changes: - Centralize gst-discoverer capture + audio caps inference (rate/channels) - Provide a single gst-launch runner with timeout fallback (audio_timeout_run/timeout/direct) - Consolidate backend evidence sampling with optional ASoC path_on fallback - Keep backend-aware sink/source selection helpers for reuse by other audio runners - Remove duplicated function variants and align naming/behavior to one canonical set Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
- Backend/stack selection examples (pipewire/pulseaudio/alsa; base/overlay/auto) - Assets provisioning (local directory, local tarball, optional URL fetch) - Caps inference vs forced caps behavior (--rate/--channels) - GST debug controls (GST_DEBUG level) and where logs are written - Typical CI usage patterns (null sink, non-interactive runs) Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
… runner - Maps YAML params to run.sh CLI (only passes args when non-empty) - Supports backend/stack/format/duration/clipdur/clip overrides - Supports assets and clips-dir provisioning inputs - Supports optional caps enforcement, sink selection, null sink and GST debug level - Publishes Audio_Playback.res via send-to-lava.sh Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the GStreamer-based Audio_Playback runner and lib_gstreamer.sh
What’s included