glfs/multimedia/libdriv/alsa-tools.xml
Douglas R. Reno c1c6b2e472 Fix the build of HDSPMixer in alsa-tools
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22608 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-01-28 05:58:26 +00:00

503 lines
17 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY alsa-tools-download-http "&alsa-download-http;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
<!ENTITY alsa-tools-download-ftp "&alsa-download-ftp;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
<!ENTITY alsa-tools-md5sum "475bdf6457bcf55c8c895d653ee56a54">
<!ENTITY alsa-tools-size "1.7 MB">
<!ENTITY alsa-tools-buildsize "25 MB">
<!ENTITY alsa-tools-time "0.5 SBU">
]>
<sect1 id="alsa-tools" xreflabel="alsa-tools-&alsa-tools-version;">
<?dbhtml filename="alsa-tools.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>alsa-tools-&alsa-tools-version;</title>
<indexterm zone="alsa-tools">
<primary sortas="a-alsa-tools">alsa-tools</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to ALSA Tools</title>
<para>
The <application>ALSA Tools</application> package
contains advanced tools for certain sound cards.
</para>
&lfs90_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&alsa-tools-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&alsa-tools-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &alsa-tools-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &alsa-tools-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &alsa-tools-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &alsa-tools-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">ALSA Tools Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="alsa-lib"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk2"/>
(to build <command>echomixer</command>,
<command>envy24control</command> and
<command>rmedigicontrol</command>),
<xref linkend="gtk3"/>
(to build <command>hdajackretask</command>) and
<xref linkend="fltk"/>
(to build <command>hdspconf</command> and
<command>hdspmixer</command>)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/alsa-tools"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of ALSA Tools</title>
&as_root;
<para>First, start a subshell that will exit on error:</para>
<screen><userinput>bash -e</userinput></screen>
<para>
Now, remove a tool that needs <application>Qt2 or 3</application> and two
unneed files (for the BLFS instructions below):
</para>
<!-- Re-evaluate this at the next alsa-lib release (or before freeze,
whichever comes first. ld10k1 and sb16_csp should be with 9.1. -->
<screen><userinput>rm -rf qlo10k1 Makefile gitcompile sb16_csp ld10k1</userinput></screen>
<para>
Next, adapt some of the <application>ALSA Tools</application> to
alsa-lib-1.2.1.2 and Linux-5.4+:
</para>
<screen><userinput>sed -i -e "/#include/i #define __user" \
hdspconf/src/*.cxx \
hdspmixer/src/*.cxx \
hdsploader/hdsploader.c &amp;&amp;
sed -i -e '39 s/uint32_t/__u32/' hdspmixer/src/HDSPMixerWindow.cxx &amp;&amp;
sed -i -e '40 s/uint64_t/__u64/' hdspmixer/src/HDSPMixerWindow.cxx</userinput></screen>
<para>
The <application>ALSA Tools</application> package is only needed by those
with advanced requirements for their sound card. The tools can be built
all together at once, but if only a subset is needed, you need to
<command>cd</command> into the directory of each tool you wish to compile
and run the commands. Here, we present instructions to build all tools.
</para>
<para>
Install all <application>ALSA Tools</application> by running the
following commands:
</para>
<screen><userinput>for tool in *
do
case $tool in
seq )
tool_dir=seq/sbiload
;;
* )
tool_dir=$tool
;;
esac
pushd $tool_dir
./configure --prefix=/usr
make
as_root make install
as_root /sbin/ldconfig
popd
done
unset tool tool_dir</userinput></screen>
<para>Finally, exit the shell that was started earlier:</para>
<screen><userinput>exit</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
as10k1, cspctl, dl10k1, echomixer, envy24control, hda-verb, hdajackretask,
hdajacksensetest, hdspconf, hdsploader, hdspmixer, hwmixvolume,
init_audigy, init_audigy_eq10, init_live, lo10k1, ld10k1, ld10k1d,
mixartloader, pcxhrloader,
rmedigicontrol, sbiload, sscape_ctl, us428control,
usx2yloader, and vxloader
</seg>
<seg>
liblo10k1.so
</seg>
<seg>
/etc/hotplug,
/usr/include/lo10k1,
/usr/share/ld10k1, and
/usr/share/sounds
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="as10k1">
<term><command>as10k1</command></term>
<listitem>
<para>is an assembler for the emu10k1 DSP chip present in the
Creative SB Live, PCI 512, and emu APS sound cards. It is used
to make audio effects such as a flanger, chorus or reverb.</para>
<indexterm zone="alsa-tools as10k1">
<primary sortas="b-as10k1">as10k1</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cspctl">
<term><command>cspctl</command></term>
<listitem>
<para>is an SB16/AWE32 Creative Signal Processor
(ASP/CSP) control program.</para>
<indexterm zone="alsa-tools cspctl">
<primary sortas="b-cspctl">cspctl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="echomixer">
<term><command>echomixer</command></term>
<listitem>
<para>is the Linux equivalent of the Echoaudio console application
from Echoaudio. It is a tool to control all the features of any Echoaudio
soundcard. This includes clock sources, input and output gains, mixers,
etc.</para>
<indexterm zone="alsa-tools echomixer">
<primary sortas="b-echomixer">echomixer</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="envy24control">
<term><command>envy24control</command></term>
<listitem>
<para>is a control tool for Envy24 (ice1712) based sound cards.</para>
<indexterm zone="alsa-tools envy24control">
<primary sortas="b-envy24control">envy24control</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hdajackretask">
<term><command>hdajackretask</command></term>
<listitem>
<para>
is a GUI to make it easy to retask your jacks - e g, turn your Mic
jack into an extra Headphone, or why not make them both line outs
and connect them to your surround receiver.
</para>
<indexterm zone="alsa-tools hdajackretask">
<primary sortas="b-hdajackretask">hdajackretask</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hda-verb">
<term><command>hda-verb</command></term>
<listitem>
<para>
is a small program to send HD-audio commands to the given
ALSA hwdep device on the hd-audio interface.
</para>
<indexterm zone="alsa-tools hda-verb">
<primary sortas="b-hda-verb">hda-verb</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hdspconf">
<term><command>hdspconf</command></term>
<listitem>
<para>is a GUI to control the Hammerfall
HDSP Alsa Settings. Up to four hdsp cards are supported.</para>
<indexterm zone="alsa-tools hdspconf">
<primary sortas="b-hdspconf">hdspconf</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hdsploader">
<term><command>hdsploader</command></term>
<listitem>
<para>is used to load the firmware required by the Hammerfall
HDSP sound cards.</para>
<indexterm zone="alsa-tools hdsploader">
<primary sortas="b-hdsploader">hdsploader</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hdspmixer">
<term><command>hdspmixer</command></term>
<listitem>
<para>is the Linux equivalent of the Totalmix application from RME.
It is a tool to control the advanced routing features of the RME
Hammerfall DSP soundcard series.</para>
<indexterm zone="alsa-tools hdspmixer">
<primary sortas="b-hdspmixer">hdspmixer</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="hwmixvolume">
<term><command>hwmixvolume</command></term>
<listitem>
<para>
allows you to control the volume of individual streams on sound
cards that use hardware mixing
</para>
<indexterm zone="alsa-tools hwmixvolume">
<primary sortas="b-hwmixvolume">hwmixvolume</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="init_audigy_progs">
<term><command>init_audigy*</command></term>
<listitem>
<para>
are tools used to initialize Creative Sound Blaster Audigy-series cards.
</para>
<indexterm zone="alsa-tools init_audigy_progs">
<primary sortas="b-init_audigy_progs">init_audigy*</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="init_live">
<term><command>init_live</command></term>
<listitem>
<para>
is a tool used to initialize Creative Sound Blaster Live cards.
</para>
<indexterm zone="alsa-tools init_live">
<primary sortas="b-init_live">init_live</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="ld10k1">
<term><command>ld10k1</command></term>
<listitem>
<para>is the server of a EMU10K{1,2} patch loader for ALSA.</para>
<indexterm zone="alsa-tools ld10k1">
<primary sortas="b-ld10k1">ld10k1</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="lo10k1">
<term><command>lo10k1</command></term>
<listitem>
<para>is the client of a EMU10K{1,2} patch loader for ALSA.</para>
<indexterm zone="alsa-tools lo10k1">
<primary sortas="b-lo10k1">lo10k1</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="dl10k1">
<term><command>dl10k1</command></term>
<listitem>
<para>loads config dumps generated by <command>lo10k1</command>
and <command>ld10k1</command>.</para>
<indexterm zone="alsa-tools dl10k1">
<primary sortas="b-dl10k1">dl10k1</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="ld10k1d">
<term><command>ld10k1d</command></term>
<listitem>
<para>is an init script for the <command>ld10k1</command>
patch loader.</para>
<indexterm zone="alsa-tools ld10k1d">
<primary sortas="b-ld10k1d">ld10k1d</primary>
</indexterm>
</listitem>
</varlistentry>
<!-- No longer installed due to Qt2/3 dependency.
<varlistentry id="qlo10k1">
<term><command>qlo10k1</command></term>
<listitem>
<para>is a <application>Qt</application> GUI for the
<command>ld10k1</command> patch loader.</para>
<indexterm zone="alsa-tools qlo10k1">
<primary sortas="b-qlo10k1">qlo10k1</primary>
</indexterm>
</listitem>
</varlistentry>
-->
<varlistentry id="mixartloader">
<term><command>mixartloader</command></term>
<listitem>
<para>is a helper program to load the firmware binaries onto the
Digigram's miXart board sound drivers. The following modules require this
program: snd-mixart. These drivers don't work properly at all until the
certain firmwares are loaded, i.e. no PCM nor mixer devices will
appear.</para>
<indexterm zone="alsa-tools mixartloader">
<primary sortas="b-mixartloader">mixartloader</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pcxhrloader">
<term><command>pcxhrloader</command></term>
<listitem>
<para>is a helper program to load the firmware binaries onto
Digigram's pcxhr compatible board sound drivers. The following modules
require this program: snd-pcxhr. These drivers don't work properly at all
until the certain firmwares are loaded, i.e. no PCM nor mixer devices will
appear.</para>
<indexterm zone="alsa-tools pcxhrloader">
<primary sortas="b-pcxhrloader">pcxhrloader</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rmedigicontrol">
<term><command>rmedigicontrol</command></term>
<listitem>
<para>is a control tool for RME Digi32 and RME Digi96 sound cards.
It provides a graphical frontend for all the sound card controls and
switches.</para>
<indexterm zone="alsa-tools rmedigicontrol">
<primary sortas="b-rmedigicontrol">rmedigicontrol</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="sbiload">
<term><command>sbiload</command></term>
<listitem>
<para>is an OPL2/3 FM instrument loader for the
ALSA sequencer.</para>
<indexterm zone="alsa-tools sbiload">
<primary sortas="b-sbiload">sbiload</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="sscape_ctl">
<term><command>sscape_ctl</command></term>
<listitem>
<para>is an ALSA SoundScape control utility.</para>
<indexterm zone="alsa-tools sscape_ctl">
<primary sortas="b-sscape_ctl">sscape_ctl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="us428control">
<term><command>us428control</command></term>
<listitem>
<para>is a Tascam US-428 control program.</para>
<indexterm zone="alsa-tools us428control">
<primary sortas="b-us428control">us428control</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="usx2yloader">
<term><command>usx2yloader</command></term>
<listitem>
<para>is a helper program to load the 2nd Phase firmware binaries
onto the Tascam USX2Y USB sound cards. It has proven to work so far for the
US122, US224 and US428. The snd-usb-usx2y module requires this program.</para>
<indexterm zone="alsa-tools usx2yloader">
<primary sortas="b-usx2yloader">usx2yloader</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vxloader">
<term><command>vxloader</command></term>
<listitem>
<para>is a helper program to load the firmware binaries onto the
Digigram's VX-board sound drivers. The following modules require this program:
snd-vx222, snd-vxpocket, snd-vxp440. These drivers don't work properly at all
until the certain firmwares are loaded, i.e. no PCM nor mixer devices will
appear.</para>
<indexterm zone="alsa-tools vxloader">
<primary sortas="b-vxloader">vxloader</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>