summaryrefslogtreecommitdiff
path: root/libbio2jack-GetJackLatency.patch
blob: 2cf1336f822ea1adb85227e11c3a5bd144a2671c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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); /* 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); }
+
 int JACK_SetState(int deviceID, enum status_enum state); /* playing, paused, stopped */
 enum status_enum JACK_GetState(int deviceID);