]> git.alsa-project.org Git - alsa-lib.git/log
alsa-lib.git
18 years agoFix plugin directory
Takashi Iwai [Fri, 8 Jun 2007 09:35:03 +0000 (11:35 +0200)]
Fix plugin directory

Fix a typo in configure script that results in a wrong plugin directory.
ALSA bug#3148
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3148

18 years agoProperly disable -Bsymbolic-functions if ld doesn't support
Takashi Iwai [Mon, 4 Jun 2007 13:22:04 +0000 (15:22 +0200)]
Properly disable -Bsymbolic-functions if ld doesn't support

Disable -Bsymbolic-functions option properly if the ld on the system
doesn't support it.

18 years agoAdded tag v1.0.14 for changeset 83a170c1f7c4
Jaroslav Kysela [Thu, 31 May 2007 06:54:49 +0000 (08:54 +0200)]
Added tag v1.0.14 for changeset 83a170c1f7c4

18 years agorelease 1.0.14 v1.0.14
Jaroslav Kysela [Thu, 31 May 2007 06:54:49 +0000 (08:54 +0200)]
release 1.0.14
Patch-level: Merged

18 years agoSpecify subdevice number for Maestor3 dmix setting
Takashi Iwai [Tue, 22 May 2007 16:38:58 +0000 (18:38 +0200)]
Specify subdevice number for Maestor3 dmix setting

The subdevice number of a dmix slave PCM has to be specified explicitly
for the device with multiple substreams such as Maestro3.

18 years agodmix/dshare/dsnoop plugin: enable slowptr by default
Clemens Ladisch [Mon, 21 May 2007 07:13:19 +0000 (09:13 +0200)]
dmix/dshare/dsnoop plugin: enable slowptr by default

Enabling the slowptr options does not make snd_pcm_delay() and related
functions much slower than they would have been with a hw device, while
disabling this option greatly reduces the accuracy of those functions,
thus creating more jitter in any media player application that
synchronizes its output to the sound device.

Therefore, it is preferrable to have this option enabled by default.

18 years agoAdd support for gain in softvol plugin
Steve Longerbeam [Fri, 18 May 2007 13:04:12 +0000 (15:04 +0200)]
Add support for gain in softvol plugin

This patch allows for gain in the softvol plugin, in addition to attenuation.
The plugin now has a "max_dB" parameter (up to 50 dB) as well as the
original "min_dB" parameter (down to -51 dB). max_dB defaults to 0 dB, so
unless max_dB is specified in a device conf, the behavior of the plugin will
be the same as before (attenuation only).

HDA-Intel.conf is also modified to use softvol for its default capture.
So now, capture is filtered through softvol (range -30 to +30 dB) before
being passed on to dsnoop as before.

The softvol plugin allows a range of -51 to +50 dB, so max_dB could be
increased to 50. But eventually samples are going to get clipped. At 40
dB I was beginning to get clipping when recording a sample sound at a
"reasonably soft" volume using a digital mic on the stac9205 HDA codec.

The motivation for this work is that some HDA codecs have no hardware gain
control for some paths. For instance, the stac9205 has support for digital
mics, but there is no gain control widget for this signal before it is placed
on the Azalia link (only a mute). Therefore gain can only be accomplished
via software.

Signed-off-by: Steve Longerbeam <stevel@embeddedalley.com>
18 years agoRevert the wrong change in src/pcm/Makefile.am
Takashi Iwai [Tue, 15 May 2007 13:58:58 +0000 (15:58 +0200)]
Revert the wrong change in src/pcm/Makefile.am

Reverted the wrong change in src/pcm/Makefile.am, accidentally merged
from my own development version...

18 years agoAdd config and plugin directory options to configure
Takashi Iwai [Thu, 3 May 2007 18:55:54 +0000 (20:55 +0200)]
Add config and plugin directory options to configure

Added --with-configdir and --with-plugindir options to configure
which specify the directories for config files and plugin objects
respectively.  The default paths when these options are not
specified are unchanged.

18 years agoAdded tag v1.0.14rc4 for changeset b557eb8496bb
Jaroslav Kysela [Wed, 2 May 2007 06:45:45 +0000 (08:45 +0200)]
Added tag v1.0.14rc4 for changeset b557eb8496bb

18 years agorelease 1.0.14rc4 v1.0.14rc4
Jaroslav Kysela [Wed, 2 May 2007 06:45:45 +0000 (08:45 +0200)]
release 1.0.14rc4
Patch-level: Merged

18 years agoAdd --enable-symbolic-functions configure option
Takashi Iwai [Tue, 10 Apr 2007 11:24:52 +0000 (13:24 +0200)]
Add --enable-symbolic-functions configure option

Added --enable-symbolic-functions configure option.  This will detect
and pass -Bsymbolic-functions linker option, which gives you better
performance and smaller binary size.  Only recent binutils supports
this option.

18 years agoAdd missing smixer.conf for installation
Takashi Iwai [Thu, 5 Apr 2007 15:19:40 +0000 (17:19 +0200)]
Add missing smixer.conf for installation

18 years agoFixed an access to uninitialized variable in pcm_rate.c
Takashi Iwai [Wed, 28 Mar 2007 12:31:46 +0000 (14:31 +0200)]
Fixed an access to uninitialized variable in pcm_rate.c

Fixed an access to uninitialized variable in pcm_rate.c (in error message).

18 years agoAdd missing control_ext entry
Takashi Iwai [Wed, 28 Mar 2007 12:30:58 +0000 (14:30 +0200)]
Add missing control_ext entry

Added missing entry for control_ext.c for static symbol table.

18 years agoUse AS_HELP_STRING in configure.in
Takashi Iwai [Wed, 28 Mar 2007 12:03:10 +0000 (14:03 +0200)]
Use AS_HELP_STRING in configure.in

Use AS_HELP_STRING macro in configure.in.
Fix some help descriptions.

18 years agoAdd src/control/ctl_symbols_list.c to .hgignore
Takashi Iwai [Wed, 28 Mar 2007 11:49:23 +0000 (13:49 +0200)]
Add src/control/ctl_symbols_list.c to .hgignore

18 years agoAdd --with-ctl-plugins configure option
Takashi Iwai [Wed, 28 Mar 2007 11:48:04 +0000 (13:48 +0200)]
Add --with-ctl-plugins configure option

Added --with-ctl-plugins configure option to specify the optinal
plugins to build.

18 years agoDefine an array of default rate plugins
Takashi Iwai [Wed, 28 Mar 2007 10:38:27 +0000 (12:38 +0200)]
Define an array of default rate plugins

Define an array of default rate plugins, set speexrate as the first
entry.  The linear is used as a fallback.

18 years agoTrivial fix of compile warning
Takashi Iwai [Thu, 22 Mar 2007 00:17:22 +0000 (01:17 +0100)]
Trivial fix of compile warning

Fix unused variable j.

18 years agoString array for default rate plugin list
Takashi Iwai [Wed, 21 Mar 2007 23:58:42 +0000 (00:58 +0100)]
String array for default rate plugin list

Change the rate converter type to allow string arrays in addition to
a string.  When a string array is given, the rate plugin probes each
string and try to load the converter plugin in the order of the list.

For example, you can set
defaults.pcm.rate_converter [ "samplerate" "linear" ]
so that samplerate plugin is preferred to linear plugin if it's
installed.

18 years agoAllow build without libdl and libpthread
Takashi Iwai [Wed, 21 Mar 2007 23:48:18 +0000 (00:48 +0100)]
Allow build without libdl and libpthread

Allow building alsa-lib without libdl and libpthread.
Added new options to configure, --with-libdl and --with-pthread.

18 years agoFix alsa-devel ML address
Rene Herman [Wed, 21 Mar 2007 11:21:38 +0000 (12:21 +0100)]
Fix alsa-devel ML address

This replaces all occurences of alsa-devel@lists.s[ource]f[orge].net
that a simple recursive grep found in the current HG ALSA repos by
alsa-devel@alsa-project.org.

Signed-off-by: Rene Herman <rene.herman@gmail.com>
18 years agoFix build with no PCM plugin
Takashi Iwai [Fri, 16 Mar 2007 14:22:27 +0000 (15:22 +0100)]
Fix build with no PCM plugin

When pcm plugin is disabled, the static build fails because of
lack of pcm_symbols_list.c.  Fixed now.

18 years agoRemove _snd_pcm_link_descriptors() and more comments
Takashi Iwai [Tue, 13 Mar 2007 09:44:28 +0000 (10:44 +0100)]
Remove _snd_pcm_link_descriptors() and more comments

Removed the obsoleted _snd_pcm_link_descriptors() from pcm_local.h.
Added more comments on multi plugin.

18 years agoMore better fix for linked start/stop
Takashi Iwai [Tue, 13 Mar 2007 01:52:33 +0000 (02:52 +0100)]
More better fix for linked start/stop

Instead of link_fd, more generic callback link_slaves is introduced.
This is called for linking the slave streams as the source to the
given master stream.

18 years agoFix start/stop of multi plugin
Takashi Iwai [Mon, 12 Mar 2007 23:40:22 +0000 (00:40 +0100)]
Fix start/stop of multi plugin

The start/stop of sync'ed stream of multi plugin.
This should make some JACK users with multiple devices happier.

18 years agofix a signedness warning
Clemens Ladisch [Mon, 12 Mar 2007 07:27:15 +0000 (08:27 +0100)]
fix a signedness warning

18 years agoImprove the sample conversion in plug layer
Takashi Iwai [Fri, 9 Mar 2007 16:06:23 +0000 (17:06 +0100)]
Improve the sample conversion in plug layer

Improve the sample conversion in plug layer for the sample bits
reduction.  Use round instead of truncating, which introduces
more quantization noise.

Original patch by Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>

18 years agoCheck _POSIX_SOURCE for timeval definition
Takashi Iwai [Fri, 9 Mar 2007 14:30:38 +0000 (15:30 +0100)]
Check _POSIX_SOURCE for timeval definition

Check _POSIX_SOURCE for struct timeval definition.
In rare cases, _POSIX_C_SOURCE isn't defined but only _POSIX_SOURCE
is set, and it results in the confliction of timeval definition.

18 years agoAdded tag v1.0.14rc3 for changeset 3cfb9808fb42
Jaroslav Kysela [Mon, 26 Feb 2007 08:21:12 +0000 (09:21 +0100)]
Added tag v1.0.14rc3 for changeset 3cfb9808fb42

18 years agorelease 1.0.14rc3 v1.0.14rc3
Jaroslav Kysela [Mon, 26 Feb 2007 08:21:12 +0000 (09:21 +0100)]
release 1.0.14rc3
Patch-level: Merged

18 years agoadd USB-Audio.conf to Makefile.am
Clemens Ladisch [Tue, 13 Feb 2007 13:03:30 +0000 (14:03 +0100)]
add USB-Audio.conf to Makefile.am

18 years agoenable dmix-ing and proper 5.1 routing for USB audio devices
Clemens Ladisch [Tue, 13 Feb 2007 08:01:31 +0000 (09:01 +0100)]
enable dmix-ing and proper 5.1 routing for USB audio devices

add a configuration file for USB audio devices

18 years agofix SNDERR() format strings/arguments
Clemens Ladisch [Mon, 12 Feb 2007 12:45:57 +0000 (13:45 +0100)]
fix SNDERR() format strings/arguments

18 years agoremove superfluous strdup() calls
Clemens Ladisch [Mon, 12 Feb 2007 12:45:03 +0000 (13:45 +0100)]
remove superfluous strdup() calls

Remove same calls of strdup() that were unnecessary because the
temporary string would not be modified or held longer than the lifetime
of the original string.

18 years agoadd card_name configuration function
Clemens Ladisch [Mon, 12 Feb 2007 12:43:49 +0000 (13:43 +0100)]
add card_name configuration function

Add a configuration function "card_name" so that configuration files can
use device-specific definitions based on a card's short name.

18 years agoUpdate emu10k1.h for new version
Takashi Iwai [Fri, 19 Jan 2007 17:36:48 +0000 (18:36 +0100)]
Update emu10k1.h for new version

Updated emu10k1.h for newer version.
The size of emu10k1_fx8010_control_gpr_t is changed.  The apps need to
issue SNDRV_EMU10K1_IOCTL_PVERSION first to switch to the new ABI.

18 years agoadd support for symbol prefixes in shared libraries
Takashi Iwai [Wed, 17 Jan 2007 14:19:52 +0000 (15:19 +0100)]
add support for symbol prefixes in shared libraries

attached patch updates the Version script so that it supports SYMBOL_PREFIX

From: Mike Frysinger <vapier@gentoo.org>

18 years agoAdded tag v1.0.14rc2 for changeset d1c1d7803371
Jaroslav Kysela [Mon, 15 Jan 2007 13:21:41 +0000 (14:21 +0100)]
Added tag v1.0.14rc2 for changeset d1c1d7803371

18 years agorelease 1.0.14rc2 v1.0.14rc2
Jaroslav Kysela [Mon, 15 Jan 2007 13:21:41 +0000 (14:21 +0100)]
release 1.0.14rc2
Patch-level: Merged

18 years agoFix compile warning with internal function
Takashi Iwai [Mon, 8 Jan 2007 15:39:26 +0000 (16:39 +0100)]
Fix compile warning with internal function

Fixed the compile warning refering to the internal function
snd_pcm_hw_params_set_format_first.

18 years agoFix error code in timer_query.c
Takashi Iwai [Mon, 8 Jan 2007 15:29:16 +0000 (16:29 +0100)]
Fix error code in timer_query.c

Fix the returned error code for the invalid timer definition.

18 years agoinitialize dl handles where it needs to
Benoit Fouet [Mon, 8 Jan 2007 14:07:02 +0000 (15:07 +0100)]
initialize dl handles where it needs to

this trivial patch initializes dl handle in timer.c and timer_query.c
where it needs to.

Signed-off-by: Benoit Fouet <benoit.fouet@purplelabs.com>
18 years agopcm_ladspa - fix none policy
Jaroslav Kysela [Wed, 20 Dec 2006 15:01:27 +0000 (16:01 +0100)]
pcm_ladspa - fix none policy
In some configurations, channel samples were not copied correctly.
Also, fix memory leaks and remove extra end-of-line chars from SNDERR
strings.

18 years agoremove snd_ctl_iface_conf_name() prototype, namehint doxygen cleanups
Jaroslav Kysela [Thu, 7 Dec 2006 14:29:20 +0000 (15:29 +0100)]
remove snd_ctl_iface_conf_name() prototype, namehint doxygen cleanups

18 years agoAdded tag v1.0.14rc1 for changeset f5f02f509ea160bf35cbd3c0015e49f42ddf49f6
Jaroslav Kysela [Thu, 7 Dec 2006 14:04:29 +0000 (15:04 +0100)]
Added tag v1.0.14rc1 for changeset f5f02f509ea160bf35cbd3c0015e49f42ddf49f6

18 years agorelease 1.0.14rc1 v1.0.14rc1
Jaroslav Kysela [Thu, 7 Dec 2006 14:04:28 +0000 (15:04 +0100)]
release 1.0.14rc1
Patch-level: Merged

18 years agoadd snd_device_name_get_hint() prototype to include/control.h
Jaroslav Kysela [Tue, 5 Dec 2006 10:52:37 +0000 (11:52 +0100)]
add snd_device_name_get_hint() prototype to include/control.h

18 years agodirect pcm plugins: fix format selection
Clemens Ladisch [Mon, 4 Dec 2006 17:20:40 +0000 (18:20 +0100)]
direct pcm plugins: fix format selection

The old format tried to do something when the requested format was not
supported by the hardware, but did not actually select any other format.
Now we try to switch to any format supported by dmix, or any other
format when the plugin is not dmix.

18 years agodirect pcm plugins: fix channel number selection
Clemens Ladisch [Mon, 4 Dec 2006 17:14:13 +0000 (18:14 +0100)]
direct pcm plugins: fix channel number selection

The code to set the number of channels did not work when the requested
channel count was not available and when the min/max channel counts were
not identical.

Replacing the entire selection code with
snd_pcm_hw_params_set_channels_near() gives the same result in the cases
where it previously worked, and works in all other cases.

18 years agofix string list parameter in snd_device_name_(free_)hint prototypes
Clemens Ladisch [Mon, 4 Dec 2006 17:07:46 +0000 (18:07 +0100)]
fix string list parameter in snd_device_name_(free_)hint prototypes

Fix the type of the string list parameter in the prototypes of
snd_device_name_hint() and snd_device_name_free_hint().  The prototypes
used char**, while the implementation and the users are using void**.

18 years agoadd snd_device_name_get_hint() function, make hints private to alsa-lib (void)
Jaroslav Kysela [Thu, 30 Nov 2006 12:41:53 +0000 (13:41 +0100)]
add snd_device_name_get_hint() function, make hints private to alsa-lib (void)

We can define more string groups for one hint now. It is quite easy
flexible for future.

18 years agoFix CS46xx.conf default capture
Takashi Iwai [Fri, 24 Nov 2006 15:29:45 +0000 (16:29 +0100)]
Fix CS46xx.conf default capture

Fix the capture slave to hw for CS46xx default PCM since dsnoop
seems not working with this hardware well.

18 years agofix a typo
Clemens Ladisch [Thu, 16 Nov 2006 06:49:24 +0000 (07:49 +0100)]
fix a typo

fix a typo introduced in changeset d14ade7ede2a

18 years agoCompatibility problem with automake 1.10 fixed.
James Courtier-Dutton [Sun, 12 Nov 2006 21:37:45 +0000 (21:37 +0000)]
Compatibility problem with automake 1.10 fixed.
alsa bug#2592

18 years agoFix device name listing with card = -1
Takashi Iwai [Mon, 6 Nov 2006 16:37:15 +0000 (17:37 +0100)]
Fix device name listing with card = -1

Fixed the device name listing with card = -1, such as
aplay -L.

18 years agonamehint changes: longname -> cardname, use get_card_name instead longname
Jaroslav Kysela [Fri, 27 Oct 2006 16:19:48 +0000 (18:19 +0200)]
namehint changes: longname -> cardname, use get_card_name instead longname

18 years agoFix build of static library
Takashi Iwai [Fri, 27 Oct 2006 14:08:21 +0000 (16:08 +0200)]
Fix build of static library

- Add missing pcm_empty entry
- Return the array pointer instead of the first array member.
  Otherwise only the first entry is linked to the binary.

18 years agochange iface argument for namehint function to const char *
Jaroslav Kysela [Fri, 27 Oct 2006 11:31:32 +0000 (13:31 +0200)]
change iface argument for namehint function to const char *
remove snd_ctl_iface_conf_name function

18 years agorawmidi: do not abort when seeing the hint node
Clemens Ladisch [Fri, 27 Oct 2006 08:54:08 +0000 (10:54 +0200)]
rawmidi: do not abort when seeing the hint node

Add the hint node to the nodes that are allowed in rawmidi definitions,
and factor out the detection of such nodes into a common function.

18 years agopcm: fix ipc offset calculation for direct plugins
Jaroslav Kysela [Mon, 23 Oct 2006 09:34:00 +0000 (11:34 +0200)]
pcm: fix ipc offset calculation for direct plugins

Also add more accurate description to x24 formats.

18 years agoRevert dmix.conf and dsnoop.conf
Takashi Iwai [Fri, 20 Oct 2006 15:57:16 +0000 (17:57 +0200)]
Revert dmix.conf and dsnoop.conf

Revert dmix.conf and dsnoop.conf.
The ipc key offset had been already modified to be unique for
each card, stream, device and subdevice interanally in dmix &
co plugins.

18 years agoImplements support for capture/playback enums.
James Courtier-Dutton [Fri, 13 Oct 2006 21:06:17 +0000 (22:06 +0100)]
Implements support for capture/playback enums.

18 years agoadded pcm_empty plugin and .hgignore additions
Jaroslav Kysela [Fri, 13 Oct 2006 16:01:27 +0000 (18:01 +0200)]
added pcm_empty plugin and .hgignore additions

18 years agopcm config files cleanups and name hint extension
Jaroslav Kysela [Thu, 12 Oct 2006 14:27:23 +0000 (16:27 +0200)]
pcm config files cleanups and name hint extension
- remove device 0/subdevice 0 from configuration files (it's default)
- name_hint
  - fixed parsing slaves
  - obtain device numbers directly from 'type hw' configurations to
    avoid poluting of configurations scripts with hint.device lines

18 years agoRemove snd_name_list() and snd_name_list_free() functions.
Jaroslav Kysela [Thu, 12 Oct 2006 12:52:07 +0000 (14:52 +0200)]
Remove snd_name_list() and snd_name_list_free() functions.

These functions were not used in applications anyway.

18 years agopcm direct plugins - fix memory leak (sconf must be deleted)
Jaroslav Kysela [Thu, 12 Oct 2006 12:42:45 +0000 (14:42 +0200)]
pcm direct plugins - fix memory leak (sconf must be deleted)

18 years agomore name hint interace updates
Jaroslav Kysela [Thu, 12 Oct 2006 12:34:23 +0000 (14:34 +0200)]
more name hint interace updates
- add long card name to device description
- create empty PCM plugin to allow right hint description parsing
- reorder devices in alsa.conf
- make namehint more configurable (using default.namehint.showall switch)
- add two levels basic and exteded for hints to default configuration files
- do not show direct device aliases
- removed all known memory leaks

18 years agoadd card number to ipc key for dmix / dsnoop PCM definitions
Jaroslav Kysela [Wed, 11 Oct 2006 13:59:19 +0000 (15:59 +0200)]
add card number to ipc key for dmix / dsnoop PCM definitions

See ALSA bug#1573
Also add card_inum, iadd, imul functions to configuration files.

18 years agofix two issues in snd_device_name_hint()
Jaroslav Kysela [Wed, 11 Oct 2006 11:59:42 +0000 (13:59 +0200)]
fix two issues in snd_device_name_hint()
- returned wrong error when the namehint section does not exist
- variable underflow for the rawmidi interface

18 years agoadd snd_device_name_hint() function and initial implementation
Jaroslav Kysela [Wed, 11 Oct 2006 11:18:57 +0000 (13:18 +0200)]
add snd_device_name_hint() function and initial implementation

- add snd_device_name_hint() and snd_device_name_free_hint() functions
- add snd_ctl_iface_conf_name() functions
- do not accept parameters for the plugin definition without @args section
- add defaults.pcm.dmix.card/device and dsnoop.card/device definitions
- add hints for HDA-Intel.conf, pcm/dmix.conf, pcm/dsnoop.conf and alsa.conf
- add test/namehint test utility
- doxygen related cleanups

18 years agorevert back one diff from changeset 2219 (fix various warnings)
Jaroslav Kysela [Fri, 6 Oct 2006 13:22:34 +0000 (15:22 +0200)]
revert back one diff from changeset 2219 (fix various warnings)

18 years agofix various warnings
Jaroslav Kysela [Fri, 6 Oct 2006 11:18:34 +0000 (13:18 +0200)]
fix various warnings
See also ALSA bug#1689

18 years agoAdd struct timeval and timespec definition when _POSIX_C_SOURCE is not defined
Jaroslav Kysela [Fri, 6 Oct 2006 09:01:40 +0000 (11:01 +0200)]
Add struct timeval and timespec definition when _POSIX_C_SOURCE is not defined

FIXME: It might cause problems on some platforms when tv_usec is not long type.

18 years agoalsa.pc's Libs shouldn't contain -lm -ldl -lpthread
Jaroslav Kysela [Fri, 6 Oct 2006 08:38:39 +0000 (10:38 +0200)]
alsa.pc's Libs shouldn't contain -lm -ldl -lpthread

-lm -ldl -lpthread are _not_ needed in Libs (since the alsa interface
doesn't depend on libm, libdl or libpthread interface) and just bring
unneeded dependencies. These should rather be put in Libs.private:

Libs: -L${libdir} -lasound
Libs.private: -lm -ldl -lpthread

See ALSA bug#2212 .

18 years agoUse dmix/dsnoop for maestro3 boards
Takashi Iwai [Wed, 4 Oct 2006 15:33:25 +0000 (17:33 +0200)]
Use dmix/dsnoop for maestro3 boards

Use dmix/dsnoop for maestro3 boards.  Although maestro3 has multiple
playback capability, it supports only two streams (with the currently
available firmware).

18 years agoFix snd_pcm_open_noupdate() to refer alias
Takashi Iwai [Wed, 4 Oct 2006 15:32:22 +0000 (17:32 +0200)]
Fix snd_pcm_open_noupdate() to refer alias

Fixed snd_pcm_open_noupdate() to refer alias.  This fixes the call like

% aplay -Dplug:bah

where bah is an alias of a certain definition.

18 years agoallow building out of tree (sort of)
Mike Frysinger [Wed, 4 Oct 2006 15:30:26 +0000 (17:30 +0200)]
allow building out of tree (sort of)

the current configure script assumes that it will be run in the srcdir ... i
often build things out of tree so you can quickly punt all the generated
files:
mkdir build
cd build
../configure
cd ..
rm -r build
clean!

this tweaks the configure script in a few places to use the correct variable
instead of assuming that configure is always in $PWD ...

i say "sort of" in the subject because there is still the issues of the pcm
symbols list being generated in $builddir instead of $srcdir and the alsa
include symlink, but these doesnt really concern me for what i need ;)

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
18 years agoalsa-lib: test dir: make check: static building doesn't work on PIC architectures
Jaroslav Kysela [Wed, 4 Oct 2006 08:39:55 +0000 (10:39 +0200)]
alsa-lib: test dir: make check: static building doesn't work on PIC architectures

Some architectures, such as AMD64, IA64 and Alpha cannot mix PIC and non-PIC
objects when creating a PIC output. Hardened compilers (which uses SSP and
PIE) creates PIC executables, passing -static in CFLAGS for tests in make
check in alsa-lib makes their linking to fail.

See bug#1541

18 years agosimple mixer - fix error recovery path for volume / switch write
Jaroslav Kysela [Sun, 1 Oct 2006 15:57:36 +0000 (17:57 +0200)]
simple mixer - fix error recovery path for volume / switch write

If volume or switch write fails, the internal contents for element
is changed, but it is wrong. Reread the whole simple element in this
case to get correct values.

18 years agoAdded tag v1.0.13 for changeset cf4a3d6a053ade90e197d774bb4860b564058942
Jaroslav Kysela [Fri, 29 Sep 2006 11:30:53 +0000 (13:30 +0200)]
Added tag v1.0.13 for changeset cf4a3d6a053ade90e197d774bb4860b564058942

18 years agorelease 1.0.13 v1.0.13
Jaroslav Kysela [Fri, 29 Sep 2006 11:30:53 +0000 (13:30 +0200)]
release 1.0.13
Patch-level: Merged

18 years agoconfigure.in - fix "checking for versioned symbols" error in ./configure
Jaroslav Kysela [Fri, 29 Sep 2006 08:44:58 +0000 (10:44 +0200)]
configure.in - fix "checking for versioned symbols" error in ./configure
See: bug#2274

checking for versioned symbols... ./configure: line 19347: test: "1: integer
expression expected
./configure: line 19350: test: "1: integer expression expected

This is caused by my libtool VERSION string:
VERSION="1.5.22 Debian 1.5.22-2"

The test in configure.in can't currently deal with the quotes.

18 years agotimer_hw: fix file descriptor leak
Jaroslav Kysela [Fri, 29 Sep 2006 08:34:22 +0000 (10:34 +0200)]
timer_hw: fix file descriptor leak
See: bug#2465

18 years agoconfiguration: added one more alias check to detect a circular configuration
Jaroslav Kysela [Thu, 28 Sep 2006 14:42:19 +0000 (16:42 +0200)]
configuration: added one more alias check to detect a circular configuration

18 years agoconfiguration: avoid endless loop when a key refers to itself
Jaroslav Kysela [Thu, 28 Sep 2006 13:47:25 +0000 (15:47 +0200)]
configuration: avoid endless loop when a key refers to itself
remove one warning from tlv_read routine in control.c

18 years agorate plugin: fix boundary calculations
Clemens Ladisch [Wed, 27 Sep 2006 09:11:29 +0000 (11:11 +0200)]
rate plugin: fix boundary calculations

Make sure that the rate plugin does not try to change the slave's
boundary value when setting software parameters; such a change wouldn't
affect the slave pcm.

Furthermore, the stop_threshold conversion code used the wrong boundary
value, and the silence_size conversion code did not take into account
the boundary value at all.

18 years agoremove unneeded headers from alsa-lib/src/alisp/alisp.c
Mike Frysinger [Tue, 26 Sep 2006 13:38:35 +0000 (15:38 +0200)]
remove unneeded headers from alsa-lib/src/alisp/alisp.c

the alisp.c file includes wordexp.h even though it doesnt actually use any
wordexp functions ... causes trouble when target doesnt have wordexp
support :)

patch attached to scrub said headers

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
18 years agoremove unneeded headers from src/names.c
Mike Frysinger [Tue, 26 Sep 2006 13:37:47 +0000 (15:37 +0200)]
remove unneeded headers from src/names.c

the src/names.c file includes many more headers than it actually needs ...
this causes troubles when porting to a target that lacks those headers :)

patch attached to scrub said headers

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
18 years agomake sure commands in cvs/hg compile scripts worked
Takashi Iwai [Tue, 26 Sep 2006 13:37:07 +0000 (15:37 +0200)]
make sure commands in cvs/hg compile scripts worked

simple patch ... just add 'set -e' to the top of the files in alsa-lib :)

From: Mike Frysinger <vapier@gentoo.org>

18 years agoAdded tag v1.0.13rc3 for changeset 3de06f3eea80471e365ea706052a747e50edb587
Jaroslav Kysela [Mon, 25 Sep 2006 13:21:50 +0000 (15:21 +0200)]
Added tag v1.0.13rc3 for changeset 3de06f3eea80471e365ea706052a747e50edb587

18 years agorelease 1.0.13rc3 v1.0.13rc3
Jaroslav Kysela [Mon, 25 Sep 2006 13:21:50 +0000 (15:21 +0200)]
release 1.0.13rc3
Patch-level: Merged

18 years agoadd support for hosts that have custom symbol prefixes
Takashi Iwai [Tue, 19 Sep 2006 16:07:51 +0000 (18:07 +0200)]
add support for hosts that have custom symbol prefixes

From: Mike Frysinger <vapier@gentoo.org>

some architectures, like Blackfin, have a prefix added to all symbols (in our
case it's historical baggage)

while normally packages shouldnt care, when code starts mixing assembler with
C (like symbol versioning), you need to dip down into the inner details.
find attached a patch which queries gcc for the prefix (all gcc toolchains
have a builtin define of __USER_LABEL_PREFIX__) and then automatically has
asm() constructs utilize this

since most targets define __USER_LABEL_PREFIX__ to nothing, hopefully this
shouldnt cause any problems :)

18 years agofix parsing of non-decimal integers in configuration files
Clemens Ladisch [Mon, 18 Sep 2006 15:57:58 +0000 (17:57 +0200)]
fix parsing of non-decimal integers in configuration files

safe_strtoll() now accepts numbers in any base. It formerly assumed that
its input was a decimal number, which had the consequence that
hexadecimal or octal numbers would be parsed as strings when occurring
outside of parameter lists.

This obsoletes some workarounds in the file permission parsing code that
relied on this bug.

18 years agoCheck control API protocol version for TLV control
Takashi Iwai [Sun, 17 Sep 2006 20:06:46 +0000 (22:06 +0200)]
Check control API protocol version for TLV control

Check control API protocol version to avoid unnecessary ioctl
access for TLV stuff on the older drivers.

19 years agoAdded tag v1.0.13rc2 for changeset 258849dfcb4c27a019f74820ebe7829bcdf82724
Jaroslav Kysela [Tue, 12 Sep 2006 13:35:39 +0000 (15:35 +0200)]
Added tag v1.0.13rc2 for changeset 258849dfcb4c27a019f74820ebe7829bcdf82724

19 years agorelease 1.0.13rc2 v1.0.13rc2
Jaroslav Kysela [Tue, 12 Sep 2006 13:35:38 +0000 (15:35 +0200)]
release 1.0.13rc2
Patch-level: Merged

19 years agoFix wrong scales in linear volume calculation
Takashi Iwai [Thu, 7 Sep 2006 18:51:41 +0000 (20:51 +0200)]
Fix wrong scales in linear volume calculation

Fixed wrong scales of dB values (TLV is 0.01dB unit) in the linear
volume calculation.

19 years agoFix a typo
Takashi Iwai [Thu, 7 Sep 2006 18:43:41 +0000 (20:43 +0200)]
Fix a typo

Fixed a typo, wrongly placed endif.