[arch-commits] CVS update of extra/multimedia/alsaplayer (flac_patch.diff)

Varun Acharya ganja_guru at archlinux.org
Wed Jun 6 17:19:11 UTC 2007


    Date: Wednesday, June 6, 2007 @ 13:19:11
  Author: ganja_guru
    Path: /home/cvs-extra/extra/multimedia/alsaplayer

   Added: flac_patch.diff (1.1)

alsamixer flac patch added


-----------------+
 flac_patch.diff |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)


Index: extra/multimedia/alsaplayer/flac_patch.diff
diff -u /dev/null extra/multimedia/alsaplayer/flac_patch.diff:1.1
--- /dev/null	Wed Jun  6 13:19:11 2007
+++ extra/multimedia/alsaplayer/flac_patch.diff	Wed Jun  6 13:19:11 2007
@@ -0,0 +1,66 @@
+diff -Naur alsaplayer-0.99.79-orig/input/flac/FlacSeekableStream.cpp alsaplayer-0.99.79/input/flac/FlacSeekableStream.cpp
+--- alsaplayer-0.99.79-orig/input/flac/FlacSeekableStream.cpp	2007-04-06 16:26:32.000000000 -0400
++++ alsaplayer-0.99.79/input/flac/FlacSeekableStream.cpp	2007-06-05 23:38:53.000000000 -0400
+@@ -255,7 +255,7 @@
+ FlacSeekableStream::readCallBack (const FLAC__StreamDecoder * /*decoder*/,
+ #endif
+ 				  FLAC__byte buffer[],
+-				  unsigned * bytes,
++				  size_t * bytes,
+ 				  void * client_data)
+ {
+     if (!client_data)
+diff -Naur alsaplayer-0.99.79-orig/input/flac/FlacSeekableStream.h alsaplayer-0.99.79/input/flac/FlacSeekableStream.h
+--- alsaplayer-0.99.79-orig/input/flac/FlacSeekableStream.h	2007-04-06 16:33:04.000000000 -0400
++++ alsaplayer-0.99.79/input/flac/FlacSeekableStream.h	2007-06-05 23:39:01.000000000 -0400
+@@ -114,7 +114,7 @@
+ 	readCallBack (const FLAC__StreamDecoder * decoder,
+ #endif
+ 		      FLAC__byte buffer[],
+-		      unsigned * bytes,
++		      size_t * bytes,
+ 		      void * client_data);
+ 
+ #ifdef LEGACY_FLAC
+diff -Naur alsaplayer-0.99.79-orig/input/flac/FlacStream.cpp alsaplayer-0.99.79/input/flac/FlacStream.cpp
+--- alsaplayer-0.99.79-orig/input/flac/FlacStream.cpp	2007-04-06 16:15:50.000000000 -0400
++++ alsaplayer-0.99.79/input/flac/FlacStream.cpp	2007-06-05 23:39:20.000000000 -0400
+@@ -321,7 +321,7 @@
+ 
+ 
+ FLAC__StreamDecoderReadStatus
+-FlacStream::realReadCallBack (FLAC__byte buffer[], unsigned * bytes)
++FlacStream::realReadCallBack (FLAC__byte buffer[], size_t * bytes)
+ {
+     *bytes = reader_read (buffer, *bytes, _datasource);
+     return *bytes > 0 ? FLAC__STREAM_DECODER_READ_STATUS_CONTINUE :
+@@ -336,7 +336,7 @@
+ FLAC__StreamDecoderReadStatus
+ FlacStream::readCallBack (const FLAC__StreamDecoder *,
+ 			  FLAC__byte buffer[],
+-			  unsigned * bytes,
++			  size_t * bytes,
+ 			  void * client_data)
+ {
+     if (!client_data)
+diff -Naur alsaplayer-0.99.79-orig/input/flac/FlacStream.h alsaplayer-0.99.79/input/flac/FlacStream.h
+--- alsaplayer-0.99.79-orig/input/flac/FlacStream.h	2007-03-02 07:06:58.000000000 -0500
++++ alsaplayer-0.99.79/input/flac/FlacStream.h	2007-06-05 23:39:30.000000000 -0400
+@@ -191,7 +191,7 @@
+ 
+     FLAC__StreamDecoderReadStatus 
+                  realReadCallBack (FLAC__byte buffer[],
+-				   unsigned * bytes);
++				   size_t * bytes);
+ 
+ 
+  protected:
+@@ -233,7 +233,7 @@
+     static FLAC__StreamDecoderReadStatus
+ 	readCallBack (const FLAC__StreamDecoder * decoder,
+ 		      FLAC__byte buffer[],
+-		      unsigned * bytes,
++		      size_t * bytes,
+ 		      void * client_data);
+ 
+     static void errCallBack (const FLAC__StreamDecoder * decoder,




More information about the arch-commits mailing list