summaryrefslogtreecommitdiff
path: root/units/codecs
diff options
authorPMR <pmr@pmr-lander>2020-12-09 06:35:41 +0000
committerPMR <pmr@pmr-lander>2020-12-09 06:35:41 +0000
commita845e464ce2d04d3a35b70a68977cf6fb835ca5b (patch)
tree7045c2a4a611a99f773c44cfd19e192830c8bad7 /units/codecs
parent51d8b78d9ea9974a5aab7b63a055e2e2c09bfd24 (diff)
parent0c40bef41322e77fbef365270f9bfc3dcf2a1d94 (diff)
Merge #394448 from ~zongminl/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:audio-detect-sinks-sources
audio/jobs: Fix audio/alsa_record_playback_automated always returns passed result even when there's no valid PulseAudio element Fix: Use a new job audio/detect_sinks_sources as depends job to audio/alsa_record_playback_automated, when there is no valid PulseAudio element exists, make audio/alsa_record_playback_automated skipped. Symptom before this fix: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1902201 audio/alsa_record_playback_automated show pass incorrectly on a machine audio function not work Behavior after this fix: audio/alsa_record_playback_automated now depends on a new job audio/detect_sinks_sources, it checks if both valid PulseAudio source and sink exist, if not, audio/detect_sinks_sources will fail and skip audio/alsa_record_playback_automated. What's returned: - When both sink and source are available, audio/detect_sinks_sources passed and returns 0 - When no available source exists, audio/detect_sinks_sources failed and returns 1 - When no available sink exists, audio/detect_sinks_sources failed and returns 2 - When both no sink and source available, audio/detect_sinks_sources failed and returns 3
Diffstat (limited to 'units/codecs')
0 files changed, 0 insertions, 0 deletions