plit pulse.conf into two, so that we can load one part from form

/etc/alsa/alsa.conf. (#251943)
This commit is contained in:
Lennart Poettering 2007-10-17 23:02:44 +00:00
parent ad57e02a15
commit 92f1355878
3 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: alsa-plugins
Version: 1.0.14
Release: 4%{?dist}
Release: 5%{?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+
@ -13,6 +13,7 @@ Source3: pulseaudio.conf
Source4: samplerate.conf
Source5: upmix.conf
Source6: vdownmix.conf
Source7: pulse-default.conf
Patch0: 1.0.14-buffer-attr.patch
Patch1: 1.0.14-state-xrun.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -111,6 +112,8 @@ install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE1 %SOURCE2 %SOURCE3 \
%SOURCE4 %SOURCE5 %SOURCE6 \
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE7 \
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
@ -138,6 +141,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL doc/README-pulse
%config(noreplace) %{_sysconfdir}/alsa/pcm/pulseaudio.conf
%config(noreplace) %{_sysconfdir}/alsa/pulse-default.conf
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
@ -164,6 +168,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%changelog
* Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-5
- Split pulse.conf into two, so that we can load one part from
form /etc/alsa/alsa.conf. (#251943)
* Mon Oct 1 2007 Lennart Poettering <lpoetter@redhat.com> - 1.0.14-4
- In the pulse plugin: reflect the XRUN state back to the application.
Makes XMMS work on top of the alsa plugin. (#307341)

9
pulse-default.conf Normal file
View File

@ -0,0 +1,9 @@
# pulseaudio plugin configuration
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

View File

@ -8,10 +8,3 @@ ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}