mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-27 14:12:34 +02:00
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
* Added an rdalsaconfig(1) man page.
This commit is contained in:
parent
a658fda4fc
commit
ffe62e4c88
@ -18965,3 +18965,5 @@
|
||||
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Reimplemented the '--autogen' directive in rdalsaconfig(8).
|
||||
* Added a '--rewrite' directive in rdalsaconfig(8).
|
||||
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an rdalsaconfig(1) man page.
|
||||
|
@ -32,6 +32,7 @@
|
||||
xsltproc $(DOCBOOK_STYLESHEETS)/manpages/docbook.xsl $<
|
||||
|
||||
all-local: rdairplay.1\
|
||||
rdalsaconfig.1\
|
||||
rdclilogedit.1\
|
||||
rdconvert.1\
|
||||
rddbmgr.8\
|
||||
@ -45,6 +46,7 @@ all-local: rdairplay.1\
|
||||
rdservice.8
|
||||
|
||||
man_MANS = rdairplay.1\
|
||||
rdalsaconfig.1\
|
||||
rdclilogedit.1\
|
||||
rdconvert.1\
|
||||
rddbmgr.8\
|
||||
@ -59,6 +61,8 @@ man_MANS = rdairplay.1\
|
||||
|
||||
EXTRA_DIST = rdairplay.1\
|
||||
rdairplay.xml\
|
||||
rdalsaconfig.1\
|
||||
rdalsaconfig.xml\
|
||||
rdclilogedit.1\
|
||||
rdclilogedit.xml\
|
||||
rdconvert.1\
|
||||
|
106
docs/manpages/rdalsaconfig.xml
Normal file
106
docs/manpages/rdalsaconfig.xml
Normal file
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<refentry id="stdin" xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||
<!--
|
||||
Header
|
||||
-->
|
||||
<refmeta>
|
||||
<refentrytitle>rdalsaconfig</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
<refmiscinfo class='source'>August 2019</refmiscinfo>
|
||||
<refmiscinfo class='manual'>Linux Audio Manual</refmiscinfo>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>rdalsaconfig</refname>
|
||||
<refpurpose>
|
||||
Utility for managing Rivendell ALSA configuration
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<info>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Fred</firstname>
|
||||
<surname>Gleason</surname>
|
||||
<email>fredg@paravelsystems.com</email>
|
||||
</personname>
|
||||
<contrib>Application Author</contrib>
|
||||
</author>
|
||||
</info>
|
||||
|
||||
<!--
|
||||
Body
|
||||
-->
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command>rdalsaconfig</command>
|
||||
<arg choice='opt'><replaceable>options</replaceable></arg>
|
||||
<sbr/>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para>
|
||||
When invoked with no options,
|
||||
<command>rdalsaconfig</command><manvolnum>1</manvolnum> will
|
||||
query the system for the list of available ALSA PCM devices and
|
||||
display the results in a GUI applet, with the device(s) currently
|
||||
configured for use by Rivendell highlighted. The user may select and/or
|
||||
deselect devices for Rivendell and save the result.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'><title>Options</title>
|
||||
<variablelist remap='TP'>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--asoundrc-file=<replaceable>filename</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Load and save the Rivendell configuration file from
|
||||
<replaceable>filename</replaceable>. Default value is
|
||||
<userinput>/etc/asound.conf</userinput>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--autogen</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Generate and save a Rivendell configuration containing all
|
||||
available ALSA PCM devices, then exit. This option is mutually
|
||||
exclusive with the <command>--rewrite</command> option (see below).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--manage-daemons</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Restart the Rivendell service as necessary to make configuration
|
||||
changes active (requires root permission).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--rewrite</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Load the current Rivendell configuration, save it back to the
|
||||
same location, then exit (useful for upgrading an existing v2.x
|
||||
configuration to the enhanced v3.x format). This option is mutually
|
||||
exclusive with the <command>--autogen</command> option (see above).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
@ -389,6 +389,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/etc/pam.d/rivendell
|
||||
/lib/systemd/system/rivendell.service
|
||||
%{_mandir}/man1/rdairplay.1.gz
|
||||
%{_mandir}/man1/rdalsaconfig.1.gz
|
||||
%{_mandir}/man1/rdclilogedit.1.gz
|
||||
%{_mandir}/man1/rdconvert.1.gz
|
||||
%{_mandir}/man1/rdexport.1.gz
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <rd.h>
|
||||
#include "rdalsamodel.h"
|
||||
|
||||
#define RDALSACONFIG_USAGE "[--asoundrc-file=<filename>] [--autogen] [--manage-daemons]\n\nGenerate an ALSA sound card configuration for Rivendell.\n\nThe following options are available:\n\n --asoundrc-file=<filename>\n Read and write configuration from <filename> (default value \n \"/etc/asound.conf\").\n\n --autogen\n Generate and save a configuration containing all available PCM devices\n and then exit.\n\n --manage-daemons\n Restart the Rivendell daemons as necessary to make configuration\n changes active (requires root permission).\n\n"
|
||||
#define RDALSACONFIG_USAGE "[options]\n"
|
||||
|
||||
void StopDaemons();
|
||||
void StartDaemons();
|
||||
|
Loading…
x
Reference in New Issue
Block a user