SOURCES: libbio2jack-GetJackLatency.patch - better fix.

pluto pluto at pld-linux.org
Wed Nov 23 14:08:15 CET 2005


Author: pluto                        Date: Wed Nov 23 13:08:15 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- better fix.

---- Files affected:
SOURCES:
   libbio2jack-GetJackLatency.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/libbio2jack-GetJackLatency.patch
diff -u SOURCES/libbio2jack-GetJackLatency.patch:1.1 SOURCES/libbio2jack-GetJackLatency.patch:1.2
--- SOURCES/libbio2jack-GetJackLatency.patch:1.1	Tue Nov 22 10:57:12 2005
+++ SOURCES/libbio2jack-GetJackLatency.patch	Wed Nov 23 14:08:09 2005
@@ -1,14 +1,16 @@
---- bio2jack/bio2jack.c.orig	2005-11-22 09:54:29.000000000 +0100
-+++ bio2jack/bio2jack.c	2005-11-22 10:10:15.000000000 +0100
-@@ -2512,6 +2512,11 @@
-   TRACE("finished\n");
- }
+--- bio2jack/bio2jack.h.orig	2005-11-08 02:24:47.000000000 +0100
++++ bio2jack/bio2jack.h	2005-11-23 14:03:57.376455000 +0100
+@@ -78,10 +78,12 @@
+ long JACK_GetPosition(int deviceID, enum pos_enum position, int type);
+ void JACK_SetPosition(int deviceID, enum pos_enum position, long value);
  
-+long JACK_GetJackLatency(int deviceID)
-+{
-+  return JACK_GetJackOutputLatency(deviceID);
-+}
+-long JACK_GetJackLatency(int deviceID); /* deprectated, you probably want JACK_GetJackOutputLatency */
+ long JACK_GetJackOutputLatency(int deviceID); /* return the output latency in frames */
+ long JACK_GetJackInputLatency(int deviceID); /* return the input latency in frames */
+ 
++static inline __attribute__((deprecated)) /* deprectated, you probably want JACK_GetJackOutputLatency */
++long JACK_GetJackLatency(int deviceID) { return JACK_GetJackOutputLatency(deviceID); }
 +
- /* Get the latency, in frames, of jack */
- long
- JACK_GetJackOutputLatency(int deviceID)
+ int JACK_SetState(int deviceID, enum status_enum state); /* playing, paused, stopped */
+ enum status_enum JACK_GetState(int deviceID);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/libbio2jack-GetJackLatency.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list