- Merge the whole /etc/alsa/pcm/pulseaudio.conf stuff into

/etc/alsa/pulse-default.conf, because the former is practically always
    ignored, since it is not referenced for inclusion by any other
    configuration file fragment (#251943) The other fragments installed in
    /etc/alsa/pcm/ are useless, too. But since we are in a freeze and they
    are not that important, I am not fixing this now.
This commit is contained in:
Lennart Poettering 2007-10-18 12:52:05 +00:00
parent 92f1355878
commit c9f36ce3a6
3 changed files with 25 additions and 15 deletions

View File

@ -1,6 +1,6 @@
Name: alsa-plugins
Version: 1.0.14
Release: 5%{?dist}
Release: 6%{?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+
@ -9,7 +9,6 @@ URL: http://www.alsa-project.org/
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
Source1: jack.conf
Source2: pcm-oss.conf
Source3: pulseaudio.conf
Source4: samplerate.conf
Source5: upmix.conf
Source6: vdownmix.conf
@ -109,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE1 %SOURCE2 %SOURCE3 \
install -m 644 %SOURCE1 %SOURCE2 \
%SOURCE4 %SOURCE5 %SOURCE6 \
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
install -m 644 %SOURCE7 \
@ -140,7 +139,6 @@ rm -rf $RPM_BUILD_ROOT
%files pulseaudio
%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
@ -168,6 +166,15 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%changelog
* 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
always ignored, since it is not referenced for inclusion by any other
configuration file fragment (#251943)
The other fragments installed in /etc/alsa/pcm/ are useless, too. But
since we are in a freeze and they are not that important, I am not fixing
this now.
* 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)

View File

@ -1,4 +1,16 @@
# pulseaudio plugin configuration
# PulseAudio plugin configuration
# Let's create a virtual device "pulse" for mixer and PCM
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
# Let's make it the default!
pcm.!default {
type pulse
@ -7,3 +19,4 @@ pcm.!default {
ctl.!default {
type pulse
}

View File

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