Hello community, here is the log from the commit of package alsa-plugins checked in at Fri Aug 3 14:00:43 CEST 2007. -------- --- alsa-plugins/alsa-plugins.changes 2007-06-05 11:32:04.000000000 +0200 +++ /mounts/work_src_done/STABLE/alsa-plugins/alsa-plugins.changes 2007-07-30 18:55:47.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Jul 30 18:54:18 CEST 2007 - tiwai@suse.de + +- HG patch (as of 2007.07.28) + * build modules with -no-undefined option + * fix speex resampler bug in 4times upsampling + * fix the noise at beginning of playback with samplerate + plugin + +------------------------------------------------------------------- New: ---- alsa-plugins-hg-fixes.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa-plugins-a52.spec ++++++ --- /var/tmp/diff_new_pack.m15251/_old 2007-08-03 13:59:37.000000000 +0200 +++ /var/tmp/diff_new_pack.m15251/_new 2007-08-03 13:59:37.000000000 +0200 @@ -16,8 +16,8 @@ URL: http://www.alsa-project.org/ Summary: A52 Encoding Plug-In for the ALSA Library Version: 1.0.13 -Release: 44 -License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL), Some new plugins are GPL. +Release: 62 +License: GPL v2 or later, LGPL v2 or later, Some new plugins are GPL. Group: System/Libraries Autoreqprov: on Source: ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-%{package_version}.tar.bz2 ++++++ alsa-plugins.spec ++++++ --- /var/tmp/diff_new_pack.m15251/_old 2007-08-03 13:59:37.000000000 +0200 +++ /var/tmp/diff_new_pack.m15251/_new 2007-08-03 13:59:37.000000000 +0200 @@ -16,12 +16,12 @@ URL: http://www.alsa-project.org/ Summary: Extra Plug-Ins for the ALSA Library Version: 1.0.14 -Release: 1 -License: BSD License and BSD-like, GNU Library General Public License v. 2.0 and 2.1 (LGPL), Some new plugins are GPL. +Release: 20 +License: BSD 3-Clause, LGPL v2 or later, Some new plugins are GPL. Group: System/Libraries Autoreqprov: on Source: ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-%{package_version}.tar.bz2 -# Patch: alsa-plugins-hg-fixes.diff +Patch: alsa-plugins-hg-fixes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,7 +36,7 @@ %package jack Summary: JACK I/O Plug-In for the ALSA Library Group: System/Libraries -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), Some new plugins are GPL. +License: LGPL v2 or later, Some new plugins are GPL. Requires: jack %description jack @@ -53,7 +53,7 @@ %package pulse Summary: Polypaudio Plug-In for the ALSA Library Group: System/Libraries -License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL), Some new plugins are GPL. +License: GPL v2 or later, LGPL v2 or later, Some new plugins are GPL. Requires: pulseaudio %description pulse @@ -68,7 +68,7 @@ %package maemo Summary: Maemo Plug-Ins for the ALSA Library Group: System/Libraries -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), Some new plugins are GPL. +License: LGPL v2 or later, Some new plugins are GPL. %description maemo This package contains the ALSA-library plug-ins using maemo SDK for @@ -83,7 +83,7 @@ %package samplerate Summary: Samplerate Plug-In for the ALSA Library Group: System/Libraries -License: GNU General Public License (GPL), Some new plugins are GPL. +License: GPL v2 or later, Some new plugins are GPL. %description samplerate This package contains the sample rate converter plugin for the ALSA @@ -97,7 +97,7 @@ %prep %setup -q -n %{name}-%{package_version} -# %patch -p1 +%patch -p1 %build %{?suse_update_config:%{suse_update_config -f}} @@ -153,6 +153,12 @@ %{_libdir}/alsa-lib/libasound_module_rate_samplerate*.so %changelog +* Mon Jul 30 2007 - tiwai@suse.de +- HG patch (as of 2007.07.28) + * build modules with -no-undefined option + * fix speex resampler bug in 4times upsampling + * fix the noise at beginning of playback with samplerate + plugin * Tue Jun 05 2007 - tiwai@suse.de - updated to version 1.0.14-final: including previous HG fixes ++++++ alsa-plugins-hg-fixes.diff ++++++ diff -r 213140a5ea7a a52/Makefile.am --- a/a52/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/a52/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -3,7 +3,7 @@ asound_module_pcm_a52dir = @ALSA_PLUGIN_ asound_module_pcm_a52dir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVCODEC_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_a52_la_SOURCES = pcm_a52.c libasound_module_pcm_a52_la_LIBADD = @ALSA_LIBS@ @AVCODEC_LIBS@ diff -r 213140a5ea7a jack/Makefile.am --- a/jack/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/jack/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -3,7 +3,7 @@ asound_module_pcm_jackdir = @ALSA_PLUGIN asound_module_pcm_jackdir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @JACK_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_jack_la_SOURCES = pcm_jack.c libasound_module_pcm_jack_la_LIBADD = @ALSA_LIBS@ @JACK_LIBS@ diff -r 213140a5ea7a maemo/Makefile.am --- a/maemo/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/maemo/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -5,13 +5,13 @@ asound_module_ctl_dsp_ctldir = @ALSA_PLU asound_module_ctl_dsp_ctldir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -fPIC -DPIC -O2 @ALSA_CFLAGS@ $(DBUS_CFLAGS) -AM_LDFLAGS = -shared -lm -ldl -lpthread -module -avoid-version -export-dynamic $(DBUS_LIBS) +AM_LDFLAGS = -shared -lm -ldl -lpthread -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_alsa_dsp_la_SOURCES = dsp-protocol.c alsa-dsp.c -libasound_module_pcm_alsa_dsp_la_LIBADD = @ALSA_LIBS@ +libasound_module_pcm_alsa_dsp_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) libasound_module_ctl_dsp_ctl_la_SOURCES = dsp-protocol.c dsp-ctl.c -libasound_module_ctl_dsp_ctl_la_LIBADD = @ALSA_LIBS@ +libasound_module_ctl_dsp_ctl_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) noinst_HEADERS = constants.h debug.h dsp-protocol.h list.h reporting.h \ types.h diff -r 213140a5ea7a mix/Makefile.am --- a/mix/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/mix/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -5,7 +5,7 @@ asound_module_pcm_vdownmixdir = @ALSA_PL asound_module_pcm_vdownmixdir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_upmix_la_SOURCES = pcm_upmix.c libasound_module_pcm_upmix_la_LIBADD = @ALSA_LIBS@ diff -r 213140a5ea7a oss/Makefile.am --- a/oss/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/oss/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -5,7 +5,7 @@ asound_module_ctl_ossdir = @ALSA_PLUGIN_ asound_module_ctl_ossdir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_oss_la_SOURCES = pcm_oss.c libasound_module_pcm_oss_la_LIBADD = @ALSA_LIBS@ diff -r 213140a5ea7a pph/Makefile.am --- a/pph/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/pph/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -3,7 +3,7 @@ asound_module_rate_speexratedir = @ALSA_ asound_module_rate_speexratedir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -DVAR_ARRAYS -DRANDOM_PREFIX=alsa_lib -DOUTSIDE_SPEEX -Wall -g @ALSA_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_rate_speexrate_la_SOURCES = rate_speexrate.c libasound_module_rate_speexrate_la_LIBADD = @ALSA_LIBS@ diff -r 213140a5ea7a pph/resample.c --- a/pph/resample.c Thu May 31 08:55:31 2007 +0200 +++ b/pph/resample.c Sat Jul 21 02:01:11 2007 +0200 @@ -551,7 +551,10 @@ static void update_filter(SpeexResampler } /* Choose the resampling type that requires the least amount of memory */ - if (st->den_rate <= st->oversample) + /* FIXME: The direct sinc table can be noisy in some conditions. + * Disable it as a temporary workaround. + */ + if (0 /*st->den_rate <= st->oversample*/) { spx_uint32_t i; if (!st->sinc_table) diff -r 213140a5ea7a pulse/Makefile.am --- a/pulse/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/pulse/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -5,7 +5,7 @@ asound_module_ctldir = @ALSA_PLUGIN_DIR@ asound_module_ctldir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ $(PTHREAD_CFLAGS) $(pulseaudio_CFLAGS) -D_GNU_SOURCE -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_pcm_pulse_la_SOURCES = pcm_pulse.c pulse.c pulse.h libasound_module_pcm_pulse_la_LIBADD = @ALSA_LIBS@ $(PTHREAD_LIBS) $(pulseaudio_LIBS) diff -r 213140a5ea7a rate-lavc/Makefile.am --- a/rate-lavc/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/rate-lavc/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -3,7 +3,7 @@ asound_module_rate_lavcratedir = @ALSA_P asound_module_rate_lavcratedir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVCODEC_CFLAGS@ -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_rate_lavcrate_la_SOURCES = rate_lavcrate.c libasound_module_rate_lavcrate_la_LIBADD = @ALSA_LIBS@ @AVCODEC_LIBS@ diff -r 213140a5ea7a rate/Makefile.am --- a/rate/Makefile.am Thu May 31 08:55:31 2007 +0200 +++ b/rate/Makefile.am Sat Jul 21 02:01:11 2007 +0200 @@ -3,7 +3,7 @@ asound_module_rate_sampleratedir = @ALSA asound_module_rate_sampleratedir = @ALSA_PLUGIN_DIR@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ $(samplerate_CFLAGS) -AM_LDFLAGS = -module -avoid-version -export-dynamic +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined libasound_module_rate_samplerate_la_SOURCES = rate_samplerate.c libasound_module_rate_samplerate_la_LIBADD = @ALSA_LIBS@ @samplerate_LIBS@ diff -r 213140a5ea7a rate/rate_samplerate.c --- a/rate/rate_samplerate.c Thu May 31 08:55:31 2007 +0200 +++ b/rate/rate_samplerate.c Sat Jul 21 02:01:11 2007 +0200 @@ -116,6 +116,7 @@ static void pcm_src_convert_s16(void *ob const int16_t *src, unsigned int src_frames) { struct rate_src *rate = obj; + unsigned int ofs; rate->data.input_frames = src_frames; rate->data.output_frames = dst_frames; @@ -123,7 +124,12 @@ static void pcm_src_convert_s16(void *ob src_short_to_float_array(src, rate->src_buf, src_frames * rate->channels); src_process(rate->state, &rate->data); - src_float_to_short_array(rate->dst_buf, dst, dst_frames * rate->channels); + if (rate->data.output_frames_gen < dst_frames) + ofs = dst_frames - rate->data.output_frames_gen; + else + ofs = 0; + src_float_to_short_array(rate->dst_buf, dst + ofs * rate->channels, + rate->data.output_frames_gen * rate->channels); } static void pcm_src_close(void *obj) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org