Adding speex plugin
This commit is contained in:
parent
50aa2de755
commit
585c1acf16
@ -1,6 +1,6 @@
|
|||||||
Name: alsa-plugins
|
Name: alsa-plugins
|
||||||
Version: 1.0.20
|
Version: 1.0.20
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
|
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
|
||||||
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
|
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
@ -9,6 +9,7 @@ URL: http://www.alsa-project.org/
|
|||||||
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
|
||||||
Source1: jack.conf
|
Source1: jack.conf
|
||||||
Source2: pcm-oss.conf
|
Source2: pcm-oss.conf
|
||||||
|
Source3: speex.conf
|
||||||
Source4: samplerate.conf
|
Source4: samplerate.conf
|
||||||
Source5: upmix.conf
|
Source5: upmix.conf
|
||||||
Source6: vdownmix.conf
|
Source6: vdownmix.conf
|
||||||
@ -34,10 +35,6 @@ License: LGPLv2+
|
|||||||
This plugin converts the ALSA API over JACK (Jack Audio Connection
|
This plugin converts the ALSA API over JACK (Jack Audio Connection
|
||||||
Kit, http://jackit.sf.net) API. ALSA native applications can work
|
Kit, http://jackit.sf.net) API. ALSA native applications can work
|
||||||
transparently together with jackd for both playback and capture.
|
transparently together with jackd for both playback and capture.
|
||||||
|
|
||||||
ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK daemon
|
|
||||||
ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
|
|
||||||
|
|
||||||
This plugin provides the PCM type "jack"
|
This plugin provides the PCM type "jack"
|
||||||
|
|
||||||
%package oss
|
%package oss
|
||||||
@ -113,12 +110,23 @@ License: LGPLv2+
|
|||||||
This plugin exposes the controls for an Arcam AV amplifier
|
This plugin exposes the controls for an Arcam AV amplifier
|
||||||
(see: http://www.arcam.co.uk/) as an ALSA mixer device.
|
(see: http://www.arcam.co.uk/) as an ALSA mixer device.
|
||||||
|
|
||||||
|
%package speex
|
||||||
|
Requires: speex
|
||||||
|
BuildRequires: speex-devel
|
||||||
|
Summary: Rate Converter Plugin Using Speex Resampler
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description speex
|
||||||
|
The rate plugin is an external rate converter using the Speex resampler
|
||||||
|
(aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides
|
||||||
|
pre-processing of a mono stream like denoise using libspeex DSP API.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--without-speex
|
--with-speex=lib
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -127,8 +135,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
||||||
install -m 644 %SOURCE1 %SOURCE2 \
|
install -m 644 %SOURCE1 %SOURCE2 \
|
||||||
%SOURCE4 %SOURCE5 \
|
%SOURCE3 %SOURCE4 \
|
||||||
%SOURCE6 %SOURCE8 \
|
%SOURCE5 %SOURCE6 \
|
||||||
|
%SOURCE8 \
|
||||||
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
||||||
install -m 644 %SOURCE7 \
|
install -m 644 %SOURCE7 \
|
||||||
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
|
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa
|
||||||
@ -205,8 +214,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) %{_sysconfdir}/alsa/pcm/arcamav.conf
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/arcamav.conf
|
||||||
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
|
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
|
||||||
|
|
||||||
|
%files speex
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/speex.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 24 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-2
|
||||||
|
- Added speex subpackage
|
||||||
|
- Removed ascii-art from jack's plugin description
|
||||||
|
|
||||||
* Fri May 8 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-1
|
* Fri May 8 2009 Eric Moret <eric.moret@gmail.com> - 1.0.20-1
|
||||||
- Updated to 1.0.20
|
- Updated to 1.0.20
|
||||||
- Added arcam-av subpackage
|
- Added arcam-av subpackage
|
||||||
|
11
speex.conf
Normal file
11
speex.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# samplerate plugin configuration
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
pcm.my_rate {
|
||||||
|
type rate
|
||||||
|
slave.pcm "hw"
|
||||||
|
converter "speexrate"
|
||||||
|
hint {
|
||||||
|
description "Rate Converter Plugin Using Speex Resampler"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user