PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
4b996e2a by guest271314 at 2022-01-26T17:13:53+00:00
pacat: Include the special default device names in documentation

Part-of: 
<https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/684>

- - - - -


2 changed files:

- man/pacat.1.xml.in
- src/utils/pacat.c


Changes:

=====================================
man/pacat.1.xml.in
=====================================
@@ -79,7 +79,7 @@ License along with PulseAudio; if not, see 
<http://www.gnu.org/licenses/>.
     <option>
       <p><opt>-d | --device</opt><arg>=SINKORSOURCE</arg></p>
 
-      <optdesc><p>Specify the symbolic name of the sink/source to play/record 
this stream on/from.</p></optdesc>
+      <optdesc><p>Specify the symbolic name of the sink/source to play/record 
this stream on/from. The special names @DEFAULT_SINK@, @DEFAULT_SOURCE@ and 
@DEFAULT_MONITOR@ can be used to specify the default sink, source and monitor 
respectively.</p></optdesc>
     </option>
 
     <option>


=====================================
src/utils/pacat.c
=====================================
@@ -681,7 +681,7 @@ static void help(const char *argv0) {
              "  -p, --playback                        Create a connection for 
playback\n\n"
              "  -v, --verbose                         Enable verbose 
operations\n\n"
              "  -s, --server=SERVER                   The name of the server 
to connect to\n"
-             "  -d, --device=DEVICE                   The name of the 
sink/source to connect to\n"
+             "  -d, --device=DEVICE                   The name of the 
sink/source to connect to. The special names @DEFAULT_SINK@, @DEFAULT_SOURCE@ 
and @DEFAULT_MONITOR@ can be used to specify the default sink, source and 
monitor respectively.\n"
              "  -n, --client-name=NAME                How to call this client 
on the server\n"
              "      --stream-name=NAME                How to call this stream 
on the server\n"
              "      --volume=VOLUME                   Specify the initial 
(linear) volume in range 0...65536\n"



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/4b996e2a7b92d7183a70ec32f6ef74c522bfcde7

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/4b996e2a7b92d7183a70ec32f6ef74c522bfcde7
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to