rpms/audacious-plugin-fc/devel audacious-plugin-fc-0.5-display-channels.patch, NONE, 1.1 audacious-plugin-fc.spec, 1.23, 1.24

Michael Schwendt mschwendt at fedoraproject.org
Sat Jul 10 10:52:29 UTC 2010


Author: mschwendt

Update of /cvs/pkgs/rpms/audacious-plugin-fc/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11227

Modified Files:
	audacious-plugin-fc.spec 
Added Files:
	audacious-plugin-fc-0.5-display-channels.patch 
Log Message:
* Sat Jul 10 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 0.5-2
- Display "4 channels".


audacious-plugin-fc-0.5-display-channels.patch:
 main.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE audacious-plugin-fc-0.5-display-channels.patch ---
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);


Index: audacious-plugin-fc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacious-plugin-fc/devel/audacious-plugin-fc.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- audacious-plugin-fc.spec	28 Jun 2010 18:26:04 -0000	1.23
+++ audacious-plugin-fc.spec	10 Jul 2010 10:52:29 -0000	1.24
@@ -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 dete
 
 %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 <mschwendt at fedoraproject.org> - 0.5-2
+- Display "4 channels".
+
 * Sun Jun 20 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 0.5-1
 - Upgrade to 0.5 for libfc14audiodecoder.
 



More information about the scm-commits mailing list