Commit graph

52 commits

Author SHA1 Message Date
Jaroslav Kysela
ee3965f6fa nhlt: add nhlt-dmic-info utility
The microphone arrays for Intel platforms are described in the
ACPI NHLT table. This table is available in sysfs. Parse this
information and use a more common format (json) for output. This
information is usable for the further DSP processing.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-16 15:54:05 +02:00
Jaroslav Kysela
783c0579ad Makefile.am: add README.md to EXTRA_DIST
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-01-07 14:57:55 +01:00
Takashi Sakamoto
a452b98235 axfer: add an entry point for this command
This commit adds a new command, 'axfer' ('ALSA transfer'), to transfer data
frames described in asound.h. This command is intended to replace current
aplay. The most of features and command line parameters come from aplay as
much as possible, while it has more better feature and code to maintain.

This commit adds an entry point for this command. Current option system of
aplay is still available, while this command has a sub-command system like
commands in iproute2.

Currently, two sub-commands are supported; 'list' and 'transfer'. The
'list' sub-command has the same effect as '-l' and '-L' options of aplay.
The 'transfer' sub-command has the same effect as the main feature of
aplay. For the sub-command system, an option for stream direction is
required; '-P' for playback and '-C' for capture. If you create symbolic
links to this binary for aplay/arecord, please execute:
$ ln -s axfer aplay
$ ln -s axfer arecord

Actual code for each sub-command will be implemented in later commits.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-13 12:04:19 +01:00
Lu, Han
226ad884d2 BAT: Add Makefile and configures
Add Makefile and configures that enable BAT on alsa-utils

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Bernard Gautier <bernard.gautier@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-02 12:42:03 +02:00
Liam Girdwood
665d980aa5 topology: Add command line topology tool to build topology binaries
Add a command line tool that will parse topology text files and convert to the binary
topology data as used by the kernel.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-08-04 17:45:07 +02:00
Matthieu Crapet
554706585c configure: allow contitional compilation of alsaucm
If alsa-lib have been compiled with --disable-ucm, alsaucm can't be built.
Detection is dynamic, no configure command line option is available for now.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-14 16:09:21 +01:00
Takashi Iwai
5e5fe9e573 Add missing alsa-info entry to the root Makefile.am
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-08-12 16:19:06 +02:00
Jaroslav Kysela
0a6c9e80f7 Makefiles - use AM_CPPFLAGS instead INCLUDES
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2014-05-07 10:55:59 +02:00
Jaroslav Kysela
5f71d96a96 Merge branch 'ucm' 2011-01-24 15:00:26 +01:00
Lennart Poettering
81f015f5ab alsactl: Move asound.state location to /var/lib/alsa
.... and add configure switch for it.

/etc might be on a read-only partition which is not suitable for dynamic
data such as the mixer settings. Hence move the location of asound.state
to /var/lib.

This is based on a patch from Ubuntu/Debian which hardcoded the pah in
/var/lib.

Signed-off-by: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-11-23 15:48:50 +01:00
Lennart Poettering
de7c3eff0e alsactl: systemd and udev hookup
Add minimal systemd and udev support to alsactl so that mixer settings
are restored at boot, when sound cards are plugged in and saved on
shutdown.

This is similar to existing udev/init script solutions in various
distributions.

Note that alsactl is called both synchronously from the udev rules as
well as asynchronously at boot. This is intended, and to ensure two
things:

- At boot the asound.state file might not be readable, since it resides
  on a different file system. That means exclusively restoring sound card
  settings from udev rules will no suffice, since if the rule is
  executed at early boot (for example within udev settle) then the file
  will no be readable and cannot be restored.

- We need to ensure that applications monitoring sound cards coming and
  going (such as PA) must not get these events before the mixer settings
  have been restored. That means the mixer settings must be restored
  synchronously withing the udev rules, before the events are passed on
  to the apps.

That basically means we need to restore the settings once in udev, to
deal with sound cards becoming available during runtime. And once in
early boot to deal with coldplugged soundcards whose data files might
not have been available at time of plugging. Hence we call alsactl
twice: one from the udev rule, and once from he systemd unit file.

Signed-off-by: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-11-23 10:42:35 +01:00
Jaroslav Kysela
1e75673035 Introduce alsaloop utility
alsaloop allows create a PCM loopback between a PCM capture device
and a PCM playback device.

alsaloop supports multiple soundcards, adaptive clock synchronization,
adaptive rate resampling using the samplerate library (if available in
the system). Also, mixer controls can be redirected from one card to
another (for example Master and PCM).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-10-06 10:01:52 +02:00
Stefan Schmidt
a9d91614bb alsaucm: Add Use Case Manager utility
alsaucm is a command line tool that can be used to generate and debug UCM
configuration files. The alsaucm utility can fully use the UCM functionality
to query and configure all the UCM functionality in alsa-lib.

This work was sponsored by Slimlogic Ltd, Texas Instruments Inc and Wolfson
Microelectronics PLC.

CC: Ian Molton <ian@mnementh.co.uk>
CC: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Justin Xu <justinx@slimlogic.co.uk>
Signed-off-by: Stefan Schmidt <stefan@slimlogic.co.uk>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-08-22 22:04:00 +01:00
Takashi Iwai
d12fe105e3 Fix build with partially-installed alsa-lib
Fix build of alsa-utils package with a partially installed alsa-lib,
e.g. without ramwidi or sequencer support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-29 15:41:31 +01:00
Jaroslav Kysela
9f9ae68a9d Add --disable-alsaconf to configure script
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-09-23 08:10:19 +02:00
Takashi Iwai
cd66729939 Remove unneeded files from EXTRA_DIST in root Makefile.am
automake packages such filse automatically.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-08-25 08:07:56 +02:00
Jaroslav Kysela
6ccfd7bd85 hgcompile -> gitcompile 2008-06-03 10:14:56 +02:00
Takashi Iwai
10e3f81ef7 Add hgcompile script and fix INSTALL document
Added hgcompile script (just a copy of cvscompile), and
fixed INSTALL document about HG.
2006-05-12 15:34:22 +02:00
James Courtier-Dutton
8a2ce1908d update build tools.
It seems that running ./cvscompile changes all these files due to
an updates. So, sink CVS with build tools.
2005-08-13 16:27:59 +00:00
Takashi Iwai
6343f35202 i18nize some programs
i18nize some programs with gettext.
2005-06-23 10:38:06 +00:00
Takashi Iwai
2904d69713 Move m4 to the tail of SUBDIRS
Moved m4 to the tail of SUBDIRS list.
2005-01-03 11:55:04 +00:00
Takashi Iwai
0aa74e8d4d i18nize alsaconf
alsaconf is i18nized.  Only ja.po is provided, so far.
2004-12-29 16:10:47 +00:00
Takashi Iwai
25dba8a7f2 added speaker-test utility by James Courtier-Dutton <James@superbug.demon.co.uk>
imported version: 0.0.4.
2004-05-10 14:28:02 +00:00
Takashi Iwai
60f7debd00 added AUTOMAKE_OPTIONS. 2004-02-25 11:25:26 +00:00
Takashi Iwai
7152617a0e - added alsaconf script.
- fixed alsaconf script for the new module tools of 2.6 kernel.
2003-10-29 13:38:23 +00:00
Takashi Iwai
e90417e3fd - added amidi utility by Clemens Ladisch <clemens@ladisch.de>
- fixed .cvsignore and README
2003-10-28 10:53:43 +00:00
Takashi Iwai
5f8a137a7a - moved iecset from alsa-lib/test.
- added man page.
2003-10-23 16:54:32 +00:00
Jaroslav Kysela
6d7d5a362d Added --disable-alsamixer to configure script 2003-06-14 08:32:44 +00:00
Jaroslav Kysela
f875ef4889 Added depcomp 2002-10-24 12:10:53 +00:00
Jaroslav Kysela
001d825aec Removed --bzip2 option for older call 2002-10-24 11:44:18 +00:00
Jaroslav Kysela
c176bd92ec It seems that older tars are confused with --bzip2, use pipe instaed 2002-10-23 18:58:04 +00:00
Jaroslav Kysela
fc5bc911c3 Used long options for tar 2002-10-23 18:34:32 +00:00
Jaroslav Kysela
aebe10b34c Added check for AMTAR 2002-10-23 13:23:57 +00:00
Jaroslav Kysela
e85ff0f6d4 Use long option for bzip2 compression to make it work with new and older tar 2002-10-23 07:38:59 +00:00
Jaroslav Kysela
c64ae17af5 Returned old I flag for tar 2002-10-22 20:16:13 +00:00
Jaroslav Kysela
4101632da1 Changed AMTAR -> TAR 2002-10-22 19:23:54 +00:00
Takashi Iwai
b15bba05e4 - using $(AMTAR) instead or $(TAR) in the Makefile.am
- using -j instead of -I to compress using bzip2 rather than gzip
2002-10-07 10:41:57 +00:00
Jaroslav Kysela
c81835c7aa Removed unused pack target 2001-11-20 09:05:27 +00:00
Takashi Iwai
c2d2e5b3b9 - use tar options instead of actually changing owner when packing. 2000-05-26 14:37:27 +00:00
Abramo Bagnara
b625125728 Added TODO to dist 2000-05-09 17:25:41 +00:00
Jaroslav Kysela
168728fd2e Added dist-hook.. 2000-02-16 21:28:33 +00:00
Jaroslav Kysela
dd2a8b01e0 pack -> .bz2 2000-02-16 21:06:08 +00:00
Jaroslav Kysela
8e2b523a92 GTK mixer programs xamixer2 & gamix were removed.
The reason is the difficult maintaince.
2000-01-05 13:46:58 +00:00
Jaroslav Kysela
fa88a97078 Moved aconnect and aseqnet sequencer utilities into the alsa-utils package. 2000-01-04 12:39:00 +00:00
Jaroslav Kysela
501591bbe1 Added gamix... 1999-07-29 20:11:15 +00:00
Jaroslav Kysela
55708f7849 0.3.1; fix for pack 1999-06-05 09:38:26 +00:00
Jaroslav Kysela
d6efdc3310 pack fix 1999-06-04 15:03:55 +00:00
Jaroslav Kysela
7970fd23bc GTK build fixed... 1999-06-04 14:53:01 +00:00
Christopher Lansdown
b54cb637ba Attempting to integrate XAmixer2 into the alsa-utils autoconf system. 1999-06-03 20:28:05 +00:00
Jaroslav Kysela
a666670e6b Added extra dist.. 1999-01-31 13:25:02 +00:00