multimedia/audio: improve minimal-build handling for playback and record - #334
Merged
Merged
Conversation
Introduce shared helpers for backend management detection and ALSA playback/capture probing. Improve audio fallback behavior for images without pipewire/pulseaudio services. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
requested review from
abbajaj806,
Bhargav-qcom (bhargav0610),
Teja Swaroop (tmoida) and
vnarapar
March 8, 2026 01:10
vnarapar
reviewed
Mar 13, 2026
vnarapar
reviewed
Mar 13, 2026
Srikanth Muppandam (smuppand)
force-pushed
the
audio
branch
6 times, most recently
from
March 15, 2026 02:15
c188be1 to
739ed38
Compare
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>
Try direct ALSA capture on minimal images and report a clear SKIP when no usable capture profile is available. Preserve existing full-build backend flow and logging. Add a dedicated AudioRecord LAVA YAML for minimal images using ALSA capture probing and clear skip behavior. Fixed shellcheck reported lint issues. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
force-pushed
the
audio
branch
from
March 15, 2026 08:30
739ed38 to
5a27b00
Compare
Contributor
|
Can you check the shell check? |
Contributor
Author
These issues are not related to this PR. They need to be checked and resolved separately. |
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 audio test behavior on minimal builds where systemctl may exist but managed audio services such as PipeWire/PulseAudio are not available.
Changes
Expected behavior