summaryrefslogtreecommitdiff
path: root/units/audio
diff options
Diffstat (limited to 'units/audio')
-rw-r--r--units/audio/jobs.pxu4
-rw-r--r--units/audio/resource.pxu2
2 files changed, 3 insertions, 3 deletions
diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu
index 126209e..16edbaf 100644
--- a/units/audio/jobs.pxu
+++ b/units/audio/jobs.pxu
@@ -626,7 +626,7 @@ imports: from com.canonical.plainbox import manifest
requires:
manifest.has_audio_playback == 'True'
command:
- COUNT=$(alsa_pcm_info | grep Playback | wc -l)
+ COUNT=$(alsa_pcm_info.py | grep Playback | wc -l)
echo "Count: $COUNT"
if [ $COUNT -eq 0 ]; then
exit 1
@@ -642,7 +642,7 @@ imports: from com.canonical.plainbox import manifest
requires:
manifest.has_audio_capture == 'True'
command:
- COUNT=$(alsa_pcm_info | grep Capture | wc -l)
+ COUNT=$(alsa_pcm_info.py | grep Capture | wc -l)
echo "Count: $COUNT"
if [ $COUNT -eq 0 ]; then
exit 1
diff --git a/units/audio/resource.pxu b/units/audio/resource.pxu
index c7fd3b7..8e851c9 100644
--- a/units/audio/resource.pxu
+++ b/units/audio/resource.pxu
@@ -4,6 +4,6 @@ category_id: com.canonical.plainbox::audio
plugin: resource
_summary: Gather device info about alsa sound devices
_description: Gather device info about alsa sound devices
-command: alsa_pcm_info
+command: alsa_pcm_info.py
estimated_duration: 1s
flags: preserve-locale