diff --git a/providers/base/units/audio/jobs.pxu b/providers/base/units/audio/jobs.pxu index adf099d45..d5b1ae0ba 100644 --- a/providers/base/units/audio/jobs.pxu +++ b/providers/base/units/audio/jobs.pxu @@ -337,9 +337,9 @@ estimated_duration: 20.0 depends: audio/playback_auto imports: from com.canonical.plainbox import manifest requires: - (manifest.has_line_in == 'True' or manifest.has_headset == 'True') manifest.has_audio_playback == 'True' manifest.has_audio_capture == 'True' + manifest.has_internal_microphone == 'True' package.name == 'alsa-base' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' package.name in ['pulseaudio-utils', 'pipewire'] diff --git a/providers/base/units/audio/manifest.pxu b/providers/base/units/audio/manifest.pxu index 3b59fd93c..9b173ef96 100644 --- a/providers/base/units/audio/manifest.pxu +++ b/providers/base/units/audio/manifest.pxu @@ -1,8 +1,9 @@ -# Copyright 2017 Canonical Ltd. +# Copyright 2017-2024 Canonical Ltd. # All rights reserved. # # Written by: -# Sylvain Pineau +# Sylvain Pineau +# Pierre Equoy unit: manifest entry id: has_audio_playback @@ -45,3 +46,9 @@ id: has_internal_speakers _name: Internal speakers _prompt: Does this machine have the following audio features? value-type: bool + +unit: manifest entry +id: has_internal_microphone +_name: Internal microphone +_prompt: Does this machine have the following audio features? +value-type: bool