mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add new switch --start to the PA binary which allows starting PA if it is not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2513 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c33db3ce68
commit
ac0f5275c5
5 changed files with 72 additions and 7 deletions
|
|
@ -33,6 +33,7 @@ USA.
|
|||
<cmd>pulseaudio <opt>--dump-modules</opt></cmd>
|
||||
<cmd>pulseaudio <opt>--dump-resample-methods</opt></cmd>
|
||||
<cmd>pulseaudio <opt>--cleanup-shm</opt></cmd>
|
||||
<cmd>pulseaudio <opt>--start</opt></cmd>
|
||||
<cmd>pulseaudio <opt>--kill</opt></cmd>
|
||||
<cmd>pulseaudio <opt>--check</opt></cmd>
|
||||
</synopsis>
|
||||
|
|
@ -90,6 +91,16 @@ USA.
|
|||
(e.g. Linux).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>--start</opt></p>
|
||||
|
||||
<optdesc><p>Start PulseAudio if it is not running yet. This is
|
||||
different from starting PulseAudio without <opt>--start</opt>
|
||||
which would fail if PA is already running. PulseAudio is
|
||||
guaranteed to be fully initialized when this call
|
||||
returns. Implies <opt>--daemon</p>.</optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>-k | --kill</opt></p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue