diff --git a/audacious-plugin-fc-0.5-display-channels.patch b/audacious-plugin-fc-0.5-display-channels.patch new file mode 100644 index 0000000..f9ec6f0 --- /dev/null +++ b/audacious-plugin-fc-0.5-display-channels.patch @@ -0,0 +1,13 @@ +diff -Nur audacious-plugin-fc-0.5-orig/src/main.c audacious-plugin-fc-0.5/src/main.c +--- audacious-plugin-fc-0.5-orig/src/main.c 2010-06-20 19:25:24.000000000 +0200 ++++ audacious-plugin-fc-0.5/src/main.c 2010-07-10 12:48:57.000000000 +0200 +@@ -173,8 +173,7 @@ + aud_tuple_associate_string(t, FIELD_QUALITY, NULL, "sequenced"); + playback->set_tuple( playback, t ); + +- gint bitsPerSec = myFormat.freq * myFormat.channels * myFormat.bits; +- playback->set_params( playback, NULL, 0, bitsPerSec, myFormat.freq, myFormat.channels ); ++ playback->set_params( playback, NULL, 0, 1000*4, myFormat.freq, myFormat.channels ); + + playback->playing = TRUE; + playback->set_pb_ready(playback); diff --git a/audacious-plugin-fc.spec b/audacious-plugin-fc.spec index 45afda3..ef8b50e 100644 --- a/audacious-plugin-fc.spec +++ b/audacious-plugin-fc.spec @@ -7,10 +7,11 @@ Summary: Future Composer input plugin for Audacious Name: audacious-plugin-fc Version: 0.5 -Release: 1 +Release: 2%{?dist} URL: http://xmms-fc.sourceforge.net/ License: GPLv2+ Source: http://downloads.sourceforge.net/xmms-fc/audacious-plugin-fc-%{version}.tar.bz2 +Patch0: audacious-plugin-fc-0.5-display-channels.patch Group: Applications/Multimedia Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: audacious-devel >= %{aud_ver} @@ -28,6 +29,8 @@ music files from AMIGA. Song-length detection and seek are implemented, too. %prep %setup -q +# merged upstream +%patch0 -p1 -b .display-channels %build @@ -52,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 10 2010 Michael Schwendt - 0.5-2 +- Display "4 channels". + * Sun Jun 20 2010 Michael Schwendt - 0.5-1 - Upgrade to 0.5 for libfc14audiodecoder.