- Update to upstream 1.0.15 (#429249)
- Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891) - Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030) - run /sbin/ldconfig on post and postun macros
This commit is contained in:
parent
c9f36ce3a6
commit
512001cb3e
@ -1 +1 @@
|
||||
alsa-plugins-1.0.14.tar.bz2
|
||||
alsa-plugins-1.0.15.tar.bz2
|
||||
|
22
1.0.14-pulse-SND_PCM_STATE_PREPARED.patch
Normal file
22
1.0.14-pulse-SND_PCM_STATE_PREPARED.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -up alsa-plugins-1.0.14/pulse/pcm_pulse.c.pulse alsa-plugins-1.0.14/pulse/pcm_pulse.c
|
||||
--- alsa-plugins-1.0.14/pulse/pcm_pulse.c.pulse 2008-01-08 09:34:40.000000000 -1000
|
||||
+++ alsa-plugins-1.0.14/pulse/pcm_pulse.c 2008-01-08 09:38:25.000000000 -1000
|
||||
@@ -512,14 +512,16 @@ finish:
|
||||
static int pulse_hw_params(snd_pcm_ioplug_t *io, snd_pcm_hw_params_t *params)
|
||||
{
|
||||
snd_pcm_pulse_t *pcm = io->private_data;
|
||||
+ snd_pcm_t *base = io->pcm;
|
||||
int err = 0;
|
||||
|
||||
assert(pcm);
|
||||
assert(pcm->p);
|
||||
|
||||
- pa_threaded_mainloop_lock(pcm->p->mainloop);
|
||||
+ if (!(base && snd_pcm_state(base) == SND_PCM_STATE_PREPARED))
|
||||
+ assert(!pcm->stream);
|
||||
|
||||
- assert(!pcm->stream);
|
||||
+ pa_threaded_mainloop_lock(pcm->p->mainloop);
|
||||
|
||||
pcm->frame_size = (snd_pcm_format_physical_width(io->format) * io->channels) / 8;
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: alsa-plugins
|
||||
Version: 1.0.14
|
||||
Release: 6%{?dist}
|
||||
Version: 1.0.15
|
||||
Release: 1%{?dist}
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
|
||||
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -15,6 +15,7 @@ Source6: vdownmix.conf
|
||||
Source7: pulse-default.conf
|
||||
Patch0: 1.0.14-buffer-attr.patch
|
||||
Patch1: 1.0.14-state-xrun.patch
|
||||
Patch2: 1.0.14-pulse-SND_PCM_STATE_PREPARED.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: alsa-lib-devel
|
||||
@ -54,6 +55,7 @@ This plugin provides the PCM type "oss".
|
||||
|
||||
%package pulseaudio
|
||||
BuildRequires: pulseaudio-lib-devel
|
||||
Requires: pulseaudio
|
||||
Summary: Alsa to PulseAudio backend
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
@ -97,6 +99,7 @@ surround".
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1 -b .buffer_attr
|
||||
%patch1 -p1 -b .state_xrun
|
||||
%patch2 -p1 -b .pulse-SND_PCM_STATE_PREPARED
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
@ -123,6 +126,10 @@ find $RPM_BUILD_ROOT \( -name libasound_module_ctl_dsp_ctl.so -o \
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files jack
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING COPYING.GPL doc/README-jack
|
||||
@ -166,6 +173,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
|
||||
|
||||
%changelog
|
||||
* Fri Jan 18 2008 Eric Moret <eric.moret@epita.fr> - 1.0.15-1
|
||||
- Update to upstream 1.0.15 (#429249)
|
||||
- Add "Requires: pulseaudio" to alsa-plugins-pulseaudio (#368891)
|
||||
- Fix pulse_hw_params() when state is SND_PCM_STATE_PREPARED (#428030)
|
||||
- run /sbin/ldconfig on post and postun macros
|
||||
|
||||
* Thu Oct 18 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-6
|
||||
- Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into
|
||||
/etc/alsa/pulse-default.conf, because the former is practically
|
||||
|
Loading…
Reference in New Issue
Block a user