commit alsa for openSUSE:Factory
Hello community, here is the log from the commit of package alsa for openSUSE:Factory checked in at Wed Nov 4 11:06:50 CET 2009. -------- --- alsa/alsa.changes 2009-11-02 10:19:42.000000000 +0100 +++ /mounts/work_src_done/STABLE/alsa/alsa.changes 2009-11-03 09:15:23.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Nov 3 09:13:13 CET 2009 - tiwai@suse.de + +- backport major fix patches from alsa-lib GIT tree + * pcm_hw: Always use delay ioctl in snd_pcm_delay() + * dmix - Fix snd_pcm_info() + * hcontrol: fix compare_default function to handle also + id.device and id.subdevice + * Fix corruption after snd_device_name_hint() + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- alsa-lib-dmix-snd_pcm_info-fix.diff alsa-lib-fix-namehint-corruption.diff alsa-lib-fix-pcm-hw-delay.diff alsa-lib-hcontrol-fix-compare-default.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa.spec ++++++ --- /var/tmp/diff_new_pack.PMHfGo/_old 2009-11-04 11:04:49.000000000 +0100 +++ /var/tmp/diff_new_pack.PMHfGo/_new 2009-11-04 11:04:49.000000000 +0100 @@ -34,7 +34,7 @@ # Summary: Advanced Linux Sound Architecture Version: 1.0.21 -Release: 3 +Release: 4 Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2 Source8: 40-alsa.rules Source11: alsasound @@ -51,6 +51,10 @@ Source33: alsa-info.sh Source34: alsa-init.sh Patch: alsa-lib-git-fixes.diff +Patch1: alsa-lib-fix-pcm-hw-delay.diff +Patch2: alsa-lib-dmix-snd_pcm_info-fix.diff +Patch3: alsa-lib-hcontrol-fix-compare-default.diff +Patch4: alsa-lib-fix-namehint-corruption.diff Url: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -126,6 +130,10 @@ %prep %setup -q -n alsa-lib-%{package_version} %patch -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 # hack to fix build on older distros %if %suse_version < 1100 %ifarch %ix86 ++++++ alsa-lib-dmix-snd_pcm_info-fix.diff ++++++
From da237814e7409b38baedab64d6b4b18928b32404 Mon Sep 17 00:00:00 2001 From: Takashi Iwai
Date: Mon, 28 Sep 2009 11:59:50 +0200 Subject: [PATCH] dmix - Fix snd_pcm_info()
Call the slave snd_pcm_info() as long as possible in the direct plugins
(i.e. when the PCM device could be opened with O_APPEND mode).
This allows dmix/dsnoop as a salve for PCM hook controls.
Signed-off-by: Takashi Iwai
From e1c7dd261347f6a0b9ad56e52bb86dfe057cfb9a Mon Sep 17 00:00:00 2001 From: Takashi Iwai
Date: Tue, 3 Nov 2009 08:57:10 +0100 Subject: [PATCH] Fix corruption after snd_device_name_hint()
snd_device_name_hint() corrupts the config name space after its call.
This results in the error from the suceeding calls of snd_pcm_open()
after snd_device_name_hint().
The bug is in try_config() in namehint.c; it calls snd_config_delete(res)
but res can be two different objects in the function. One is the object
obtained via snd_config_search_definition(), and another is the one from
snd_config_search_alias_hooks(). The former is the expanded objects,
thus it should be freed. But, the latter is a reference, and must not be
freed.
This patch adds the check to free or not.
Reported-by: John Lindgren
From ecf4b5af8632a17af3c84cfceeaaf0a1609e2928 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen
Date: Fri, 11 Sep 2009 01:07:21 +0300 Subject: [PATCH] pcm_hw: Always use delay ioctl in snd_pcm_delay()
As the result of snd_pcm_delay() is affected not only by hw_ptr
and appl_ptr, but also by 'runtime->delay' property,
either SNDRV_PCM_IOCTL_DELAY or SNDRV_PCM_IOCTL_STATUS ioctl
must be used to get the correct result.
Previously 'runtime->delay' was ignored in case 'hw->sync_ptr'
was used.
Signed-off-by: Kai Vehmanen
From 0110d62043589f0e3344d7af7ed33ac52da6b596 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela
Date: Tue, 6 Oct 2009 10:46:54 +0200 Subject: [PATCH] hcontrol: fix compare_default function to handle also id.device and id.subdevice
In case when kcontrol differs only by device or subdevice numbers, the
find function can give wrong results.
Signed-off-by: Jaroslav Kysela
participants (1)
-
root@Hilbert.suse.de