Changeset 0d50cca for multimedia


Ignore:
Timestamp:
09/12/2012 05:18:06 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7298aa7
Parents:
db248d06
Message:

ALSA 1.0.26.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10657 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
multimedia/libdriv
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/alsa-lib.xml

    rdb248d06 r0d50cca  
    77  <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
    88  <!ENTITY alsa-lib-download-ftp  "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
    9   <!ENTITY alsa-lib-md5sum        "06fe5819020c6684b991dcffc5471304">
    10   <!ENTITY alsa-lib-size          "820 KB">
    11   <!ENTITY alsa-lib-buildsize     "32 MB (additional 17 MB to build and install docs)">
    12   <!ENTITY alsa-lib-time          "0.3 SBU (less than 0.1 SBU to build and install docs)">
     9  <!ENTITY alsa-lib-md5sum        "2dfa35d28471d721e592b616beedf965">
     10  <!ENTITY alsa-lib-size          "864 KB">
     11  <!ENTITY alsa-lib-buildsize     "16 MB">
     12  <!ENTITY alsa-lib-time          "0.2 SBU">
    1313]>
    1414
     
    2424
    2525  <indexterm zone="alsa-lib">
    26     <primary sortas="a-ALSA-Library">ALSA Library</primary>
     26    <primary sortas="a-alsa-lib">alsa-lib</primary>
    2727  </indexterm>
    2828
     
    3030    <title>Introduction to ALSA Library</title>
    3131
    32     <para>The <application>ALSA Library</application> package contains
    33     the ALSA library.  This is used by programs (including <application>ALSA
    34     Utilities</application>) requiring access to the ALSA sound interface.</para>
     32    <para>
     33      The <application>ALSA Library</application> package contains
     34      the ALSA library used by programs (including <application>ALSA
     35      Utilities</application>) requiring access to the ALSA sound
     36      interface.
     37    </para>
    3538
    3639    &lfs72_checked;
     
    3942    <itemizedlist spacing="compact">
    4043      <listitem>
    41         <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
    42       </listitem>
    43       <listitem>
    44         <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download MD5 sum: &alsa-lib-md5sum;</para>
    48       </listitem>
    49       <listitem>
    50         <para>Download size: &alsa-lib-size;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Estimated disk space required: &alsa-lib-buildsize;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated build time: &alsa-lib-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &alsa-lib-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &alsa-lib-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &alsa-lib-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &alsa-lib-time;
     71        </para>
    5772      </listitem>
    5873    </itemizedlist>
     
    6176
    6277    <bridgehead renderas="sect4">Optional</bridgehead>
    63     <para role="optional"><xref linkend="doxygen"/> and
    64     <ulink url="ftp://ftp.lst.de/pub/people/okir/resmgr/">resmgr</ulink></para>
     78    <para role="optional">
     79      <xref linkend="doxygen"/> and
     80      <xref linkend="python2"/>
     81    </para>
    6582
    6683    <para condition="html" role="usernotes">User Notes:
    67     <ulink url="&blfs-wiki;/alsa-lib"/></para>
    68 
     84      <ulink url="&blfs-wiki;/alsa-lib"/>
     85    </para>
    6986  </sect2>
    7087
     
    7289    <title>Kernel Configuration</title>
    7390
    74     <para>In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
    75     Sound Architecture section of the kernel configuration, select the settings
    76     and drivers appropriate for your hardware.  Ensure that the deprecated Device
    77     Drivers &rArr; Sound card support &rArr; Open Sound System is
    78     <emphasis>not</emphasis> selected.  If necessary, recompile and install your
    79     new kernel.</para>
     91    <para>
     92      In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
     93      Sound Architecture section of the kernel configuration, select the settings
     94      and drivers appropriate for your hardware.  Ensure that the deprecated Device
     95      Drivers &rArr; Sound card support &rArr; Open Sound System is
     96      <emphasis>not</emphasis> selected.  If necessary, recompile and install your
     97      new kernel.
     98    </para>
    8099
    81100    <indexterm zone="alsa-lib alsa-lib-kernel">
     
    88107    <title>Installation of ALSA Library</title>
    89108
    90     <para>Install <application>ALSA Library</application> by
    91     running the following commands:</para>
     109    <para>
     110      Install <application>ALSA Library</application> by
     111      running the following commands:
     112    </para>
    92113
    93114<screen><userinput>./configure &amp;&amp;
    94115make</userinput></screen>
    95116
    96     <para>This package does not come with a test suite.</para>
    97 
    98     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    99 
    100 <screen role="root"><userinput>make install &amp;&amp;
    101 install -v -m644 -D doc/asoundrc.txt \
    102     /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt</userinput></screen>
    103 
    104    <para>If you have <application>Doxygen</application> installed and you wish to
    105     build the library API documentation, run the following
    106     commands from the top-level directory of the source tree:</para>
     117    <para>
     118      This package does not come with a test suite.
     119    </para>
     120
     121    <para>
     122      Now, as the <systemitem class="username">root</systemitem> user:
     123    </para>
     124
     125<screen role="root"><userinput>make install</userinput></screen>
     126
     127   <para>
     128     If you have <application>Doxygen</application> installed and you wish to
     129     build the library API documentation, run the following
     130     commands from the top-level directory of the source tree:
     131   </para>
    107132
    108133<screen><userinput>make doc</userinput></screen>
    109134
    110     <para>Now, to install the API documentation, as the <systemitem
    111     class="username">root</systemitem> user:</para>
     135    <para>
     136      To install the API documentation, run the following command as
     137      the <systemitem class="username">root</systemitem> user:
     138    </para>
    112139
    113140<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
    114141install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
    115142
    116     <para>Due to bug in libtool script it is no longer possible to build
    117     shared and static libraries together. If you need static alsa library,
    118     issue following commands:</para>
    119 
    120     <screen><userinput>make clean &amp;&amp;
    121 ./configure --disable-shared --enable-static  &amp;&amp;
    122 make</userinput></screen>
    123 
    124    <para>Now, as the <systemitem class="username">root</systemitem> user
    125    run: </para>
    126 
    127    <screen role="root"><userinput>install -m644 src/.libs/libasound.a /usr/lib</userinput></screen>
    128 
    129   </sect2>
    130 
    131   <sect2 role="commands">
    132     <title>Command Explanations</title>
    133 
    134     <para><parameter>--enable-static</parameter>: This switch is used to enable
    135     building the static library as some programs link against it.</para>
    136 
    137143  </sect2>
    138144
     
    143149      <title>Config Files</title>
    144150
    145       <para><filename>~/.asoundrc</filename>,
    146       <filename>/etc/asound.conf</filename>,
    147       <filename>/usr/share/alsa/alsa.conf</filename>, and
    148       <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
     151      <para>
     152        <filename>~/.asoundrc</filename> and
     153        <filename>/etc/asound.conf</filename>
     154      </para>
    149155
    150156      <indexterm zone="alsa-lib alsa-lib-config">
     
    156162      </indexterm>
    157163
    158       <indexterm zone="alsa-lib alsa-lib-config">
    159         <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
    160       </indexterm>
    161 
    162       <indexterm zone="alsa-lib alsa-lib-config">
    163         <primary sortas="e-usr-share-alsa-alsa1">/usr/share/alsa/{cards,pcm}/*.conf</primary>
    164       </indexterm>
    165 
    166164    </sect3>
    167165
     
    169167      <title>Configuration Information</title>
    170168
    171       <para>The default <filename>alsa.conf</filename> is adequate for most
    172       installations. For extra functionality and/or advanced control of your sound
    173       device, you may need to create additional configuration files. For
    174       information on the available configuration parameters, visit <ulink
    175       url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
     169      <para>
     170        The default <filename>alsa.conf</filename> is adequate for most
     171        installations. For extra functionality and/or advanced control of your
     172        sound device, you may need to create additional configuration files.
     173        For information on the available configuration parameters, visit
     174        <ulink url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.
     175      </para>
    176176
    177177    </sect3>
     
    184184    <segmentedlist>
    185185      <segtitle>Installed Program</segtitle>
    186       <segtitle>Installed Libraries</segtitle>
     186      <segtitle>Installed Library</segtitle>
    187187      <segtitle>Installed Directories</segtitle>
    188188
    189189      <seglistitem>
    190         <seg>aserver</seg>
    191         <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
    192         <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
    193         /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
     190        <seg>
     191          aserver
     192        </seg>
     193        <seg>
     194          libasound.so
     195        </seg>
     196        <seg>
     197          /usr/include/alsa,
     198          /usr/lib/alsa-lib,
     199          /usr/share/alsa and
     200          /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
    194201      </seglistitem>
    195202    </segmentedlist>
     
    203210        <term><command>aserver</command></term>
    204211        <listitem>
    205           <para>provides the ALSA server.</para>
     212          <para>
     213            is the ALSA server.
     214          </para>
    206215          <indexterm zone="alsa-lib aserver">
    207216            <primary sortas="b-aserver">aserver</primary>
     
    211220
    212221      <varlistentry id="libasound">
    213         <term><filename class='libraryfile'>libasound.{so,a}</filename></term>
     222        <term><filename class="libraryfile">libasound.so</filename></term>
    214223        <listitem>
    215           <para>provides ALSA functions for application programs.</para>
     224          <para>
     225            contains the ALSA API functions.
     226          </para>
    216227          <indexterm zone="alsa-lib libasound">
    217             <primary sortas="c-libasound">libasound.{so,a}</primary>
     228            <primary sortas="c-libasound">libasound.so</primary>
    218229          </indexterm>
    219230        </listitem>
    220231      </varlistentry>
    221232
    222       <varlistentry id="smixer">
    223         <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
    224         <listitem>
    225           <para>provides hardware dependent ALSA mixer functions.</para>
    226           <indexterm zone="alsa-lib smixer">
    227             <primary sortas="c-smixer">smixer-*.{so,a}</primary>
    228           </indexterm>
    229         </listitem>
    230       </varlistentry>
    231 
    232233    </variablelist>
    233234
  • multimedia/libdriv/alsa-plugins.xml

    rdb248d06 r0d50cca  
    77  <!ENTITY alsa-plugins-download-http "&alsa-download-http;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
    88  <!ENTITY alsa-plugins-download-ftp  "&alsa-download-ftp;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
    9   <!ENTITY alsa-plugins-md5sum        "038c023eaa51171f018fbf7141255185">
    10   <!ENTITY alsa-plugins-size          "328 KB">
    11   <!ENTITY alsa-plugins-buildsize     "4 MB">
     9  <!ENTITY alsa-plugins-md5sum        "4facd408326ef5567a7d4ceb6589e6b0">
     10  <!ENTITY alsa-plugins-size          "356 KB">
     11  <!ENTITY alsa-plugins-buildsize     "5.0 MB">
    1212  <!ENTITY alsa-plugins-time          "less than 0.1 SBU">
    1313]>
    14 
    15   <!--
    16   Editors: please examine the output from the configure command to see if
    17   there are any new dependencies. There has been a bunch of work on the
    18   plugins the last couple of releases, and that trend may continue.
    19   -->
    2014
    2115<sect1 id="alsa-plugins" xreflabel="alsa-plugins-&alsa-plugins-version;">
     
    3024
    3125  <indexterm zone="alsa-plugins">
    32     <primary sortas="a-ALSA-Plugins">ALSA Plugins</primary>
     26    <primary sortas="a-alsa-plugins">alsa-plugins</primary>
    3327  </indexterm>
    3428
     
    3630    <title>Introduction to ALSA Plugins</title>
    3731
    38     <para>The <application>ALSA Plugins</application> package contains
    39     plugins for various audio libraries and sound servers.</para>
     32    <para>
     33      The <application>ALSA Plugins</application> package contains
     34      plugins for various audio libraries and sound servers.
     35    </para>
    4036
    4137    &lfs72_checked;
     
    4440    <itemizedlist spacing="compact">
    4541      <listitem>
    46         <para>Download (HTTP): <ulink url="&alsa-plugins-download-http;"/></para>
    47       </listitem>
    48       <listitem>
    49         <para>Download (FTP): <ulink url="&alsa-plugins-download-ftp;"/></para>
    50       </listitem>
    51       <listitem>
    52         <para>Download MD5 sum: &alsa-plugins-md5sum;</para>
    53       </listitem>
    54       <listitem>
    55         <para>Download size: &alsa-plugins-size;</para>
    56       </listitem>
    57       <listitem>
    58         <para>Estimated disk space required: &alsa-plugins-buildsize;</para>
    59       </listitem>
    60       <listitem>
    61         <para>Estimated build time: &alsa-plugins-time;</para>
     42        <para>
     43          Download (HTTP): <ulink url="&alsa-plugins-download-http;"/>
     44        </para>
     45      </listitem>
     46      <listitem>
     47        <para>
     48          Download (FTP): <ulink url="&alsa-plugins-download-ftp;"/>
     49        </para>
     50      </listitem>
     51      <listitem>
     52        <para>
     53          Download MD5 sum: &alsa-plugins-md5sum;
     54        </para>
     55      </listitem>
     56      <listitem>
     57        <para>
     58          Download size: &alsa-plugins-size;
     59        </para>
     60      </listitem>
     61      <listitem>
     62        <para>
     63          Estimated disk space required: &alsa-plugins-buildsize;
     64        </para>
     65      </listitem>
     66      <listitem>
     67        <para>
     68          Estimated build time: &alsa-plugins-time;
     69        </para>
    6270      </listitem>
    6371    </itemizedlist>
     
    9098
    9199    <para condition="html" role="usernotes">User Notes:
    92     <ulink url="&blfs-wiki;/alsa-plugins"/></para>
    93 
     100      <ulink url="&blfs-wiki;/alsa-plugins"/>
     101    </para>
    94102  </sect2>
    95103
     
    97105    <title>Installation of ALSA Plugins</title>
    98106
    99     <para>Install <application>ALSA Plugins</application> by
    100     running the following commands:</para>
     107    <para>
     108      Install <application>ALSA Plugins</application> by
     109      running the following commands:
     110    </para>
    101111
    102112<screen><userinput>patch -Np1 -i ../alsa-plugins-&alsa-plugins-version;-ffmpeg-1.patch &amp;&amp;
    103 CFLAGS="-D_GNU_SOURCE" ./configure &amp;&amp;
     113./configure &amp;&amp;
    104114make</userinput></screen>
    105115
    106     <para>This package does not come with a test suite.</para>
    107 
    108     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    109 
    110 <screen role="root"><userinput>make install &amp;&amp;
    111 install -v -m755 -d /usr/share/doc/alsa-plugins-&alsa-plugins-version; &amp;&amp;
    112 install -v -m644 doc/{README*,*.txt} \
    113                     /usr/share/doc/alsa-plugins-&alsa-plugins-version;</userinput></screen>
     116    <para>
     117      This package does not come with a test suite.
     118    </para>
     119
     120    <para>
     121      Now, as the <systemitem class="username">root</systemitem> user:
     122    </para>
     123
     124<screen role="root"><userinput>make install</userinput></screen>
    114125
    115126  </sect2>
     
    119130
    120131    <segmentedlist>
    121       <segtitle>Installed Programs</segtitle>
    122132      <segtitle>Installed Libraries</segtitle>
    123       <segtitle>Installed Directory</segtitle>
    124133
    125134      <seglistitem>
    126         <seg>None</seg>
    127         <seg>Numerous libasound_module_<replaceable>&lt;module&gt;</replaceable>.so
    128         modules including ctl_oss, pcm_oss, pcm_upmix, pcm_usb_stream, pcm_vdownmix,
    129         rate_speexrate, rate_speexrate_best, rate_speexrate_medium, and optionally
    130         ctl_pulse, pcm_pulse, pcm_a52, pcm_jack and
    131         rate_samplerate*</seg>
    132         <seg>/usr/share/doc/alsa-plugins-&alsa-plugins-version;</seg>
     135        <seg>
     136          Numerous libasound_module_<replaceable>&lt;module&gt;</replaceable>.so
     137          modules including ctl_oss, ctl_pulse, pcm_a52, pcm_jack, pcm_oss,
     138          pcm_pulse, pcm_upmix, pcm_usb_stream, pcm_vdownmix,
     139          rate_samplerate* and rate_speexrate*
     140        </seg>
    133141      </seglistitem>
    134142    </segmentedlist>
     
    140148
    141149      <varlistentry id="libasound_module_pcm_oss.so">
    142         <term><filename class='libraryfile'>libasound_module_pcm_oss.so</filename></term>
    143         <listitem>
    144           <para>Allows native <application>ALSA</application> applications to
    145           run on <application>OSS</application>.</para>
     150        <term><filename class="libraryfile">libasound_module_pcm_oss.so</filename></term>
     151        <listitem>
     152          <para>
     153            Allows native <application>ALSA</application> applications to
     154            run on <application>OSS</application>.
     155          </para>
    146156          <indexterm zone="alsa-plugins libasound_module_pcm_oss.so">
    147157            <primary sortas="c-libasound_module_pcm_oss">libasound_module_pcm_oss.so</primary>
     
    151161
    152162      <varlistentry id="libasound_module_pcm_upmix.so">
    153         <term><filename class='libraryfile'>libasound_module_pcm_upmix.so</filename></term>
    154         <listitem>
    155           <para>Allows upmixing sound to 4 or 6 channels.</para>
     163        <term><filename class="libraryfile">libasound_module_pcm_upmix.so</filename></term>
     164        <listitem>
     165          <para>
     166            Allows upmixing sound to 4 or 6 channels.
     167          </para>
    156168          <indexterm zone="alsa-plugins libasound_module_pcm_upmix.so">
    157169            <primary sortas="c-libasound_module_pcm_upmix">libasound_module_pcm_upmix.so</primary>
     
    161173
    162174      <varlistentry id="libasound_module_pcm_vdownmix.so">
    163         <term><filename class='libraryfile'>libasound_module_pcm_vdownmix.so</filename></term>
    164         <listitem>
    165           <para>Allows downmixing sound from 4-6 channels to 2
    166           channel stereo output.</para>
     175        <term><filename class="libraryfile">libasound_module_pcm_vdownmix.so</filename></term>
     176        <listitem>
     177          <para>
     178            Allows downmixing sound from 4-6 channels to 2
     179            channel stereo output.
     180          </para>
    167181          <indexterm zone="alsa-plugins libasound_module_pcm_vdownmix.so">
    168182            <primary sortas="c-libasound_module_pcm_vdownmix">libasound_module_pcm_vdownmix.so</primary>
     
    172186
    173187      <varlistentry id="libasound_module_pcm_jack.so">
    174         <term><filename class='libraryfile'>libasound_module_pcm_jack.so</filename></term>
    175         <listitem>
    176           <para>Allows native <application>ALSA</application> applications to
    177           work with <command>jackd</command>.</para>
     188        <term><filename class="libraryfile">libasound_module_pcm_jack.so</filename></term>
     189        <listitem>
     190          <para>
     191            Allows native <application>ALSA</application> applications to
     192            work with <command>jackd</command>.
     193          </para>
    178194          <indexterm zone="alsa-plugins libasound_module_pcm_jack.so">
    179195            <primary sortas="c-libasound_module_pcm_jack">libasound_module_pcm_jack.so</primary>
     
    183199
    184200      <varlistentry id="libasound_module_pcm_pulse.so">
    185         <term><filename class='libraryfile'>libasound_module_pcm_pulse.so</filename></term>
    186         <listitem>
    187           <para>Allows native <application>ALSA</application> applications
    188           to access a <application>PulseAudio</application> sound
    189           daemon.</para>
     201        <term><filename class="libraryfile">libasound_module_pcm_pulse.so</filename></term>
     202        <listitem>
     203          <para>
     204            Allows native <application>ALSA</application> applications
     205            to access a <application>PulseAudio</application> sound
     206            daemon.
     207          </para>
    190208          <indexterm zone="alsa-plugins libasound_module_pcm_pulse.so">
    191209            <primary sortas="c-libasound_module_pcm_pulse">libasound_module_pcm_pulse.so</primary>
     
    195213
    196214      <varlistentry id="libasound_module_pcm_a52.so">
    197         <term><filename class='libraryfile'>libasound_module_pcm_a52.so</filename></term>
    198         <listitem>
    199           <para>Converts S16 linear sound format to A52 compressed format
    200           and sends it to an SPDIF output.</para>
     215        <term><filename class="libraryfile">libasound_module_pcm_a52.so</filename></term>
     216        <listitem>
     217          <para>
     218            Converts S16 linear sound format to A52 compressed format
     219            and sends it to an SPDIF output.
     220          </para>
    201221          <indexterm zone="alsa-plugins libasound_module_pcm_a52.so">
    202222            <primary sortas="c-libasound_module_pcm_a52">libasound_module_pcm_a52.so</primary>
     
    206226
    207227      <varlistentry id="libasound_module_rate_samplerate.so">
    208         <term><filename class='libraryfile'>libasound_module_rate_samplerate.so</filename></term>
    209         <listitem>
    210           <para>Provides an external rate converter through
    211           <filename class='libraryfile'>libsamplerate</filename>.</para>
     228        <term><filename class="libraryfile">libasound_module_rate_samplerate.so</filename></term>
     229        <listitem>
     230          <para>
     231            Provides an external rate converter through
     232            <filename class="libraryfile">libsamplerate</filename>.
     233          </para>
    212234          <indexterm zone="alsa-plugins libasound_module_rate_samplerate.so">
    213235            <primary sortas="c-libasound_module_rate_samplerate">libasound_module_rate_samplerate.so</primary>
  • multimedia/libdriv/alsa-utils.xml

    rdb248d06 r0d50cca  
    77  <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
    88  <!ENTITY alsa-utils-download-ftp  "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
    9   <!ENTITY alsa-utils-md5sum        "f81f9dcb9a014fd32cb3a70066a5b9a9">
     9  <!ENTITY alsa-utils-md5sum        "4dcf1017fafc91603af96705c073eca9">
    1010  <!ENTITY alsa-utils-size          "1.1 MB">
    1111  <!ENTITY alsa-utils-buildsize     "11 MB">
     
    2525
    2626  <indexterm zone="alsa-utils">
    27     <primary sortas="a-ALSA-Utilities">ALSA Utilities</primary>
     27    <primary sortas="a-alsa-utils">alsa-utils</primary>
    2828  </indexterm>
    2929
     
    3131    <title>Introduction to ALSA Utilities</title>
    3232
    33     <para>The <application>ALSA Utilities</application> package contains
    34     various utilities which are useful for controlling your sound card.</para>
     33    <para>
     34      The <application>ALSA Utilities</application> package contains
     35      various utilities which are useful for controlling your sound
     36      card.
     37    </para>
    3538
    3639    &lfs72_checked;
     
    3942    <itemizedlist spacing="compact">
    4043      <listitem>
    41         <para>Download (HTTP): <ulink url="&alsa-utils-download-http;"/></para>
    42       </listitem>
    43       <listitem>
    44         <para>Download (FTP): <ulink url="&alsa-utils-download-ftp;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download MD5 sum: &alsa-utils-md5sum;</para>
    48       </listitem>
    49       <listitem>
    50         <para>Download size: &alsa-utils-size;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Estimated disk space required: &alsa-utils-buildsize;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated build time: &alsa-utils-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&alsa-utils-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&alsa-utils-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &alsa-utils-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &alsa-utils-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &alsa-utils-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &alsa-utils-time;
     71        </para>
    5772      </listitem>
    5873    </itemizedlist>
     
    6782    <bridgehead renderas="sect4">Optional</bridgehead>
    6883    <para role="optional">
    69       <xref linkend="xmlto"/>,
    70       <ulink url="http://hightek.org/dialog/">dialog</ulink> (for alsaconf)
     84      <ulink url="http://hightek.org/dialog/">Dialog</ulink> and
     85      <xref linkend="xmlto"/>
    7186    </para>
    7287
    7388    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    74        <itemizedlist spacing="compact">
    75          <listitem>
    76            <para>Optional patch: <ulink
    77             url="&patch-root;/&alsa-utils-patch;"/></para>
    78          </listitem>
    79        </itemizedlist>
    80 
     89    <itemizedlist spacing="compact">
     90      <listitem>
     91        <para>
     92          Optional patch:
     93          <ulink url="&patch-root;/&alsa-utils-patch;"/>
     94        </para>
     95      </listitem>
     96    </itemizedlist>
    8197
    8298    <para condition="html" role="usernotes">User Notes:
    83     <ulink url="&blfs-wiki;/alsa-utils"/></para>
    84 
     99      <ulink url="&blfs-wiki;/alsa-utils"/>
     100    </para>
    85101  </sect2>
    86102
     
    88104    <title>Installation of ALSA Utilities</title>
    89105
    90     <para>If you have not installed the optional dependency <xref linkend='xmlto'/>,
    91     apply the following patch:</para>
     106    <para>
     107      If you have not installed the optional dependency <xref linkend="xmlto"/>,
     108      apply the following patch:
     109    </para>
    92110
    93111<screen><userinput>patch -Np1 -i ../&alsa-utils-patch;</userinput></screen>
    94112
    95     <para>Install <application>ALSA Utilities</application> by
    96     running the following commands:</para>
     113    <para>
     114      Install <application>ALSA Utilities</application> by
     115      running the following commands:
     116    </para>
    97117
    98118<screen><userinput>./configure --without-systemdsystemunitdir &amp;&amp;
    99119make</userinput></screen>
    100120
    101     <para>This package does not come with a test suite.</para>
    102 
    103     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     121    <para>
     122      This package does not come with a test suite.
     123    </para>
     124
     125    <para>
     126      Now, as the <systemitem class="username">root</systemitem> user:
     127    </para>
    104128
    105129<screen role="root"><userinput>make install</userinput></screen>
     
    110134    <title>Command Explanations</title>
    111135
    112     <para><option>--without-systemdsystemunitdir</option>:
    113     Do not install systemd units.</para>
     136    <para>
     137      <option>--without-systemdsystemunitdir</option>:
     138      This switch disables instalation of
     139      <application>Systemd</application> units which are
     140      not necesary for BLFS.
     141    </para>
    114142
    115143  </sect2>
     
    121149      <title>Config Files</title>
    122150
    123       <para><filename>/var/lib/alsa/asound.state</filename></para>
     151      <para>
     152        <filename>/var/lib/alsa/asound.state</filename>
     153      </para>
    124154
    125155      <indexterm zone="alsa-utils alsa-utils-config">
     
    132162      <title>Configuration Information</title>
    133163
    134       <para> Use a bootscript to store the values at shutdown.</para>
     164      <para>
     165        Use a bootscript to store the values at shutdown.
     166      </para>
    135167
    136168      <indexterm zone="alsa-utils alsa-utils-init">
     
    138170      </indexterm>
    139171
    140       <para>As the <systemitem class="username">root</systemitem> user,
    141       install the init script <filename>/etc/rc.d/init.d/alsa</filename> included
    142       in the <xref linkend="bootscripts"/> package.</para>
     172      <para>
     173        As the <systemitem class="username">root</systemitem> user,
     174        install the init script <filename>/etc/rc.d/init.d/alsa</filename> included
     175        in the <xref linkend="bootscripts"/> package.
     176      </para>
    143177
    144178<screen role="root"><userinput>make install-alsa</userinput></screen>
    145179
    146       <para>Note that all channels of your sound card are muted by default.
    147       You can use the <command>alsamixer</command> program from the
    148       <application>ALSA Utilities</application> to change this. Use
    149       <command>speaker-test</command> to check that your settings have
    150       been applied correctly. You should hear <quote>pink noise</quote> on your
    151       speakers.</para>
    152 
    153       <para>The <filename>alsactl</filename> program is normally run from a
    154       standard <application>udev</application> rule.   The first time it is
    155       run, it will complain that there is no state in
    156       <filename>/var/lib/alsa/asound.state</filename>. You can prevent this by
    157       running the following commands as the <systemitem
    158       class="username">root</systemitem> user:</para>
     180      <para>
     181        Note that all channels of your sound card are muted by default.
     182        You can use the <command>alsamixer</command> program to change
     183        this. Use <command>speaker-test</command> to check that your
     184        settings have been applied correctly. You should hear
     185        <quote>pink noise</quote> on your speakers.
     186      </para>
     187
     188      <para>
     189        The <filename>alsactl</filename> program is normally run from a
     190        standard <application>udev</application> rule. The first time it
     191        is run, it will complain that there is no state in
     192        <filename>/var/lib/alsa/asound.state</filename>. You can prevent
     193        this by running the following commands as the
     194        <systemitem class="username">root</systemitem> user:
     195      </para>
    159196
    160197<screen role="root"><userinput>touch /var/lib/alsa/asound.state &amp;&amp;
    161198alsactl store</userinput></screen>
    162199
    163       <para>The volume settings will be restored from the saved state by
    164       <application>Udev</application> when the device is detected (during boot
    165       or when plugged in for USB devices).</para>
    166 
    167       <para>All sound devices are not accessible for any user except
    168       <systemitem class="username">root</systemitem> and members of the
    169       <systemitem class="groupname">audio</systemitem> group. Add any users
    170       that might use the sound devices to that group:</para>
     200      <para>
     201        The volume settings will be restored from the saved state by
     202        <application>Udev</application> when the device is detected
     203        (during boot or when plugged in for USB devices).
     204      </para>
     205
     206      <para>
     207        All sound devices are not accessible for any user except
     208        <systemitem class="username">root</systemitem> and members of the
     209        <systemitem class="groupname">audio</systemitem> group. Add any
     210        users that might use the sound devices to that group:
     211      </para>
    171212
    172213<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
    173214
    174215      <note>
    175         <para>You may need to log out and back in again to refresh your group
    176         memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
    177         should work as well.</para>
     216        <para>
     217          You may need to log out and back in again to refresh your group
     218          memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
     219          should work as well.
     220        </para>
    178221      </note>
    179222
     
    190233
    191234      <seglistitem>
    192         <seg>aconnect, alsaconf, alsactl, alsamixer, amidi,
    193         amixer, aplay, aplaymidi, arecord, arecordmidi, aseqdump,
    194         aseqnet, iecset, and speaker-test</seg>
    195         <seg>/var/lib/alsa and /usr/share/sounds/alsa</seg>
     235        <seg>
     236          aconnect, alsaconf, alsactl, alsaloop, alsamixer,
     237          alsaucm, amidi, amixer, aplay, aplaymidi, arecord,
     238          arecordmidi, aseqdump, aseqnet, iecset and
     239          speaker-test
     240        </seg>
     241        <seg>
     242          /usr/share/sounds/alsa and /var/lib/alsa
     243        </seg>
    196244      </seglistitem>
    197245    </segmentedlist>
     
    205253        <term><command>aconnect</command></term>
    206254        <listitem>
    207           <para>is a utility for connecting and disconnecting two existing
    208           ports in the ALSA sequencer system.</para>
     255          <para>
     256            is a utility for connecting and disconnecting two
     257            existing ports in the ALSA sequencer system.
     258          </para>
    209259          <indexterm zone="alsa-utils aconnect">
    210260            <primary sortas="b-aconnect">aconnect</primary>
     
    216266        <term><command>alsaconf</command></term>
    217267        <listitem>
    218           <para>is a configuration tool which tries to detect the sound cards
    219           on your system and write a suitable configuration file for ALSA.
    220           This program is incompatible with udev and hotplug.</para>
     268          <para>
     269            is a configuration tool which tries to detect the sound cards
     270            on your system and write a suitable configuration file for ALSA.
     271            This program is incompatible with Udev.
     272          </para>
    221273          <indexterm zone="alsa-utils alsaconf">
    222274            <primary sortas="b-alsaconf">alsaconf</primary>
     
    228280        <term><command>alsactl</command></term>
    229281        <listitem>
    230           <para>is used to control advanced settings for the
    231           ALSA sound card drivers.</para>
     282          <para>
     283            is used to control advanced settings for the
     284            ALSA sound card drivers.
     285          </para>
    232286          <indexterm zone="alsa-utils alsactl">
    233287            <primary sortas="b-alsactl">alsactl</primary>
     
    236290      </varlistentry>
    237291
     292      <varlistentry id="alsaloop">
     293        <term><command>alsaloop</command></term>
     294        <listitem>
     295          <para>
     296            allows create a PCM loopback between a PCM capture
     297            device and a PCM playback device.
     298          </para>
     299          <indexterm zone="alsa-utils alsaloop">
     300            <primary sortas="b-alsaloop">alsaloop</primary>
     301          </indexterm>
     302        </listitem>
     303      </varlistentry>
     304
    238305      <varlistentry id="alsamixer">
    239306        <term><command>alsamixer</command></term>
    240307        <listitem>
    241           <para>is an ncurses-based mixer program for use with the
    242           ALSA sound card drivers.</para>
     308          <para>
     309            is an Ncurses based mixer program for use with
     310            the ALSA sound card drivers.
     311          </para>
    243312          <indexterm zone="alsa-utils alsamixer">
    244313            <primary sortas="b-alsamixer">alsamixer</primary>
     
    250319        <term><command>amidi</command></term>
    251320        <listitem>
    252           <para>is used to read from and write to ALSA
    253           RawMIDI ports.</para>
     321          <para>
     322            is used to read from and write to ALSA
     323            RawMIDI ports.
     324          </para>
    254325          <indexterm zone="alsa-utils amidi">
    255326            <primary sortas="b-amidi">amidi</primary>
     
    272343        <term><command>aplay</command></term>
    273344        <listitem>
    274           <para>is a command-line soundfile player for the
    275           ALSA sound card drivers.</para>
     345          <para>
     346            is a command-line soundfile player for the
     347            ALSA sound card drivers.
     348          </para>
    276349          <indexterm zone="alsa-utils aplay">
    277350            <primary sortas="b-aplay">aplay</primary>
     
    283356        <term><command>aplaymidi</command></term>
    284357        <listitem>
    285           <para>is a command-line utility that plays the specified
    286           MIDI file(s) to one or more ALSA sequencer ports.</para>
     358          <para>
     359            is a command-line utility that plays the specified
     360            MIDI file(s) to one or more ALSA sequencer ports.
     361          </para>
    287362          <indexterm zone="alsa-utils aplaymidi">
    288363            <primary sortas="b-aplaymidi">aplaymidi</primary>
     
    294369        <term><command>arecord</command></term>
    295370        <listitem>
    296           <para>is a command-line soundfile recorder for the
    297           ALSA sound card drivers.</para>
     371          <para>
     372            is a command-line soundfile recorder for the
     373            ALSA sound card drivers.
     374          </para>
    298375          <indexterm zone="alsa-utils arecord">
    299376            <primary sortas="b-arecord">arecord</primary>
     
    305382        <term><command>arecordmidi</command></term>
    306383        <listitem>
    307           <para>is a command-line utility that records a standard
    308           MIDI file from one or more ALSA sequencer ports.</para>
     384          <para>
     385            is a command-line utility that records a standard
     386            MIDI file from one or more ALSA sequencer ports.
     387          </para>
    309388          <indexterm zone="alsa-utils arecordmidi">
    310389            <primary sortas="b-arecordmidi">arecordmidi</primary>
     
    316395        <term><command>aseqdump</command></term>
    317396        <listitem>
    318           <para>is a command-line utility that prints the sequencer events it
    319           receives as text.</para>
     397          <para>
     398            is a command-line utility that prints the sequencer events it
     399            receives as text.
     400          </para>
    320401          <indexterm zone="alsa-utils aseqdump">
    321402            <primary sortas="b-aseqdump">aseqdump</primary>
     
    327408        <term><command>aseqnet</command></term>
    328409        <listitem>
    329           <para>is an ALSA sequencer client which sends
    330           and receives event packets over a network.</para>
     410          <para>
     411            is an ALSA sequencer client which sends and
     412            receives event packets over a network.
     413          </para>
    331414          <indexterm zone="alsa-utils aseqnet">
    332415            <primary sortas="b-aseqnet">aseqnet</primary>
     
    338421        <term><command>iecset</command></term>
    339422        <listitem>
    340           <para>is a small utility to set or dump the IEC958 (or so-called
    341           <quote>S/PDIF</quote>) status bits of the specified sound
    342           card via the ALSA control API.</para>
     423          <para>
     424            is a small utility to set or dump the IEC958 (or so-called
     425            <quote>S/PDIF</quote>) status bits of the specified sound
     426            card via the ALSA control API.
     427          </para>
    343428          <indexterm zone="alsa-utils iecset">
    344429            <primary sortas="b-iecset">iecset</primary>
     
    350435        <term><command>speaker-test</command></term>
    351436        <listitem>
    352           <para>is a command-line speaker test tone generator for ALSA.</para>
     437          <para>
     438            is a command-line speaker test tone generator for ALSA.
     439          </para>
    353440          <indexterm zone="alsa-utils speaker-test">
    354441            <primary sortas="b-speaker-test">speaker-test</primary>
Note: See TracChangeset for help on using the changeset viewer.