Bug 51939

Summary: there's no way to 'pacmd suspend false' the server, and check if it was successful
Product: PulseAudio Reporter: Anton Novikov <an146>
Component: toolsAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Anton Novikov 2012-07-10 10:03:56 UTC
If pacmd fails, there's no way to check that:

$ pacmd suspend false; echo $?
Welcome to PulseAudio! Use "help" for usage information.
>>> Failed to resume/suspend all sinks: Input/Output error
>>> 0
Comment 1 Felipe Sateler 2014-05-07 15:19:55 UTC
With pa 5 it is still impossible to tell wether pacmd succeeded:

% pacmd load-module imaginary-module ; echo $?
Module load failed.
0
Comment 2 Tanu Kaskinen 2014-05-07 20:17:46 UTC
It's generally better to use pactl rather than pacmd.
Comment 3 GitLab Migration User 2018-07-30 10:05:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/206.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.