OSDN Git Service

android-x86/external-alsa-lib.git
16 years agoChanged Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
Jaroslav Kysela [Mon, 15 Oct 2007 08:24:55 +0000 (10:24 +0200)]
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz

16 years agoAdded tag v1.0.15rc3 for changeset d2c731f5701f
Jaroslav Kysela [Fri, 21 Sep 2007 08:40:55 +0000 (10:40 +0200)]
Added tag v1.0.15rc3 for changeset d2c731f5701f

16 years agorelease 1.0.15rc3
Jaroslav Kysela [Fri, 21 Sep 2007 08:40:55 +0000 (10:40 +0200)]
release 1.0.15rc3
Patch-level: Merged

16 years agoFix wrong offset calculation in snd_pcm_{read|write}_mmap()
Takashi Iwai [Thu, 20 Sep 2007 11:20:03 +0000 (13:20 +0200)]
Fix wrong offset calculation in snd_pcm_{read|write}_mmap()

The offset used in snd_pcm_{read|write}_mmap() is not the linear offset
but the offset in a ring buffer.  It has to be rounded.

16 years agoPC-Speaker config update
Stas Sergeev [Wed, 19 Sep 2007 19:29:41 +0000 (21:29 +0200)]
PC-Speaker config update

The attached patch updates the PC-Speaker.conf for the use of softvol.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
16 years agoFix subdevice number to 0 for dmix/dsnoop
Takashi Iwai [Mon, 17 Sep 2007 13:03:52 +0000 (15:03 +0200)]
Fix subdevice number to 0 for dmix/dsnoop

The dmix and dsnoop plugins need a fixed substream number instead of
the next-available one (-1) as the default number.  Now it's set to 0.

16 years agochanged python-incdir to python-includes for configure.in
Jaroslav Kysela [Wed, 12 Sep 2007 13:02:03 +0000 (15:02 +0200)]
changed python-incdir to python-includes for configure.in

16 years agoAdded tag v1.0.15rc2 for changeset 6e8e8b05cef4
Jaroslav Kysela [Wed, 12 Sep 2007 09:15:52 +0000 (11:15 +0200)]
Added tag v1.0.15rc2 for changeset 6e8e8b05cef4

16 years agorelease 1.0.15rc2
Jaroslav Kysela [Wed, 12 Sep 2007 09:15:52 +0000 (11:15 +0200)]
release 1.0.15rc2
Patch-level: Merged

16 years agoAllow empty pythonincdir option
Takashi Iwai [Fri, 31 Aug 2007 14:41:19 +0000 (16:41 +0200)]
Allow empty pythonincdir option

The include path options can be empty if the python is installed in
the standard header path.  So, configure shouldn't check its emptiness.

16 years agoFix a typo
Takashi Iwai [Fri, 31 Aug 2007 14:40:07 +0000 (16:40 +0200)]
Fix a typo

$PYTHON_INCDIR itself already contains -I

16 years agoimproved python detection and added --with-pythonincdir for configure.in
Jaroslav Kysela [Fri, 31 Aug 2007 13:22:26 +0000 (15:22 +0200)]
improved python detection and added --with-pythonincdir for configure.in

16 years agoalsa simple mixer - python basic abstraction - simplified using get/setArray
Jaroslav Kysela [Thu, 30 Aug 2007 12:12:42 +0000 (14:12 +0200)]
alsa simple mixer - python basic abstraction - simplified using get/setArray

16 years agoAdded tag v1.0.15rc1 for changeset 0de58d1f43df
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:29 +0000 (10:23 +0200)]
Added tag v1.0.15rc1 for changeset 0de58d1f43df

16 years agorelease 1.0.15rc1
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:29 +0000 (10:23 +0200)]
release 1.0.15rc1
Patch-level: Merged

16 years agoAdd dynamically created files to ignore file
Takashi Iwai [Wed, 29 Aug 2007 12:50:52 +0000 (14:50 +0200)]
Add dynamically created files to ignore file

16 years agoHandle "Input Source" as a capture element
Takashi Iwai [Wed, 29 Aug 2007 12:48:31 +0000 (14:48 +0200)]
Handle "Input Source" as a capture element

Some drivers use "Input Source" as the capture source mixer element because
mixer abstraction layer can't handle multiple "Capture Source" elements.
This patch adds a hack to handle Input Source as a capture route, and let
mixer apps know that it's a capture stuff, at least.

16 years agoAdd the missing include/mixer.h to doxygen.cfg
Takashi Iwai [Wed, 22 Aug 2007 12:24:58 +0000 (14:24 +0200)]
Add the missing include/mixer.h to doxygen.cfg

16 years agoAdd missing CMI8788.conf to Makefile.am
Takashi Iwai [Wed, 22 Aug 2007 11:12:21 +0000 (13:12 +0200)]
Add missing CMI8788.conf to Makefile.am

16 years agoContinue build even if python-config doesn't exist
Takashi Iwai [Wed, 22 Aug 2007 09:41:58 +0000 (11:41 +0200)]
Continue build even if python-config doesn't exist

It's annoying that the configure script stops with an error if
python-config doesn't exist.  It's no fatal error, so the configure
should disable the python components and continue.

16 years agocmi8788: add alsa-lib config
Clemens Ladisch [Wed, 22 Aug 2007 07:42:13 +0000 (09:42 +0200)]
cmi8788: add alsa-lib config

Add a .conf file to enable dmix/dsnoop and softvol for CMI8788.

Using dmix helps mask the bug that all audio is forced to 48 kHz. :-)

16 years agoFix a typo in configure script
Takashi Iwai [Wed, 15 Aug 2007 13:54:47 +0000 (15:54 +0200)]
Fix a typo in configure script

16 years agoFix use after free
Takashi Iwai [Wed, 15 Aug 2007 12:22:33 +0000 (14:22 +0200)]
Fix use after free

Fixed use after free (ALSA bug#3300).

16 years agoAdd missing pcm_empty.c in doxygen configuration
Takashi Iwai [Fri, 10 Aug 2007 15:41:49 +0000 (17:41 +0200)]
Add missing pcm_empty.c in doxygen configuration

16 years agoseq_midi_event: fix parsing of F9/FD bytes
Clemens Ladisch [Fri, 10 Aug 2007 07:41:17 +0000 (09:41 +0200)]
seq_midi_event: fix parsing of F9/FD bytes

Check for a valid event type when encoding a system real-time message to
prevent the bytes F9 or FD resulting in an empty sequencer message.

16 years agoseq_midi_event: fix parsing of missing data bytes
Clemens Ladisch [Fri, 10 Aug 2007 07:40:29 +0000 (09:40 +0200)]
seq_midi_event: fix parsing of missing data bytes

Reorganize the encoder logic to prevent status bytes that appear where
data bytes are expected from being interpreted as data bytes.

16 years agoseq_midi_event: prevent running status after system messages
Clemens Ladisch [Fri, 10 Aug 2007 07:39:24 +0000 (09:39 +0200)]
seq_midi_event: prevent running status after system messages

Reset the event type after encoding a system message to prevent any
following data bytes from being interpreted as data for a running status
system message, which is not allowed in MIDI.

16 years agoseq_midi_event: fix encoding of data bytes after end of sysex
Clemens Ladisch [Fri, 10 Aug 2007 07:38:47 +0000 (09:38 +0200)]
seq_midi_event: fix encoding of data bytes after end of sysex

Create a new state ST_INVALID for the encoder to prevent data bytes at
the beginning of a stream or after a sysex message being interpreted as
note-off parameters.

16 years agoDon't set PCM pointer at error in snd_pcm_hw_open()
Takashi Iwai [Mon, 6 Aug 2007 14:09:27 +0000 (16:09 +0200)]
Don't set PCM pointer at error in snd_pcm_hw_open()

snd_pcm_hw_open() may set a non-NULL to pcmp even if it returns an error.
Some codes like dmix expects it's NULL, and cause the double free().

17 years agoremove unused variables
Clemens Ladisch [Fri, 13 Jul 2007 10:44:43 +0000 (12:44 +0200)]
remove unused variables

Remove some unused variables that the compiler warned about.

17 years agoSplit mmap-emulation code from hw layer
Takashi Iwai [Wed, 11 Jul 2007 15:44:09 +0000 (17:44 +0200)]
Split mmap-emulation code from hw layer

Move out mmap-emulation code from hw layer to its own plugin.
This cleans up the mess in pcm_hw.c.

17 years agoFix clean-up of header files
Takashi Iwai [Wed, 11 Jul 2007 14:55:54 +0000 (16:55 +0200)]
Fix clean-up of header files

Use DISTCLEANFILES instead of CLEANFILES for removal of dynamic
header files.

17 years agomixer simple basic abstraction - added python binding
Jaroslav Kysela [Wed, 11 Jul 2007 08:10:12 +0000 (10:10 +0200)]
mixer simple basic abstraction - added python binding
reasons:
- rapid development
- class-like code structure
- more readable code
features:
- hcontrol binding is managed from python (opportunity to create
  virtual mixer without driver or join multiple cards to behave as one)

17 years agoCreate asoundlib.h dynamically according to configure options
Takashi Iwai [Tue, 10 Jul 2007 13:58:41 +0000 (15:58 +0200)]
Create asoundlib.h dynamically according to configure options

Create asoundlib.h dynamically according to configure options.
This avoids the inclusion of unused API headers.
Also don't install unused API headers.

17 years agoAdded PS3 configuration
Takashi Iwai [Thu, 5 Jul 2007 10:58:10 +0000 (12:58 +0200)]
Added PS3 configuration

Added PS3 configuration.
No iec958 PCM at this stage since it doesn't support passthru yet.

17 years agofix mmap emulation bug of recording doesn't work
Takashi Iwai [Thu, 5 Jul 2007 10:15:16 +0000 (12:15 +0200)]
fix mmap emulation bug of recording doesn't work

From: Roy Huang <royhuang9@gmail.com>

Record doesn't work if enabling mmap emulation and rate conversion
needed, this patch fix this bug.

17 years agoFix undefined references in namehint.c
Takashi Iwai [Tue, 3 Jul 2007 18:22:21 +0000 (20:22 +0200)]
Fix undefined references in namehint.c

Fixed undefined references in namehint.c when not all components are
selected via configure options.

17 years agoUse S16_BE as dmix format for PPC drivers
Takashi Iwai [Tue, 3 Jul 2007 17:55:57 +0000 (19:55 +0200)]
Use S16_BE as dmix format for PPC drivers

PPC drivers should use S16_BE as the base format of dmix/dsnoop.
This avoid confusion of format endianess via CPU emulation.

17 years agoAdd support of little-endian on i386/x86_64 dmix
Takashi Iwai [Tue, 3 Jul 2007 17:52:33 +0000 (19:52 +0200)]
Add support of little-endian on i386/x86_64 dmix

i386/x86_64 alsa-lib may need to handle big-endian formats, e.g.
when running via qemu on PPC.  The generic dmix code already has
both endian support, so let's use it as fallback.

17 years agoFix the build of lfloat plugin
Takashi Iwai [Thu, 28 Jun 2007 11:26:25 +0000 (13:26 +0200)]
Fix the build of lfloat plugin

Fixed the wrong check of softfloat in configure, which resulted in
disablement of lfloat plugin.

17 years agoAdded tag v1.0.14a for changeset 9005d28a1f9e
Jaroslav Kysela [Mon, 11 Jun 2007 08:52:17 +0000 (10:52 +0200)]
Added tag v1.0.14a for changeset 9005d28a1f9e

17 years agorelease 1.0.14a
Jaroslav Kysela [Mon, 11 Jun 2007 08:52:17 +0000 (10:52 +0200)]
release 1.0.14a
Patch-level: Merged

17 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

17 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.

17 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

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

17 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.

17 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.

17 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>
17 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...

17 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.

17 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

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

17 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.

17 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

17 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).

17 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.

17 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.

17 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

17 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.

17 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.

17 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.

17 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.

17 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.

17 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>
17 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.

17 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.

17 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.

17 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.

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

17 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>

17 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.

17 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

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

17 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

17 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

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

17 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.

17 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.

17 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.

17 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>

17 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

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

17 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.

17 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.

17 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>
17 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.

17 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

17 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

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

17 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

17 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.

17 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.

17 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**.

17 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.

17 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.

17 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

17 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

17 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.

17 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