SOURCES: mplayer-bio2jack.patch, mplayer-jack.patch (REMOVED) - pa...
pluto
pluto at pld-linux.org
Thu Dec 1 18:29:23 CET 2005
Author: pluto Date: Thu Dec 1 17:29:23 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patches merged.
---- Files affected:
SOURCES:
mplayer-bio2jack.patch (1.1 -> 1.2) , mplayer-jack.patch (1.1 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: SOURCES/mplayer-bio2jack.patch
diff -u SOURCES/mplayer-bio2jack.patch:1.1 SOURCES/mplayer-bio2jack.patch:1.2
--- SOURCES/mplayer-bio2jack.patch:1.1 Wed Feb 23 21:38:05 2005
+++ SOURCES/mplayer-bio2jack.patch Thu Dec 1 18:29:18 2005
@@ -9,3 +9,36 @@
int main(void) { JACK_Init(); return 0; }
EOF
# This test only checks the minor version number.
+--- MPlayer-1.0pre7try2/libao2/ao_jack.c.orig 2005-03-25 16:11:13.000000000 +0100
++++ MPlayer-1.0pre7try2/libao2/ao_jack.c 2005-11-28 13:07:32.570007000 +0100
+@@ -18,29 +18,12 @@
+ #include "libaf/af_format.h"
+ #include "mp_msg.h"
+
+-//#include "bio2jack.h"
++#include <bio2jack.h>
+
+ static int driver = 0;
+ long latency = 0;
+ long approx_bytes_in_jackd = 0;
+
+-//bio2jack stuff:
+-#define ERR_SUCCESS 0
+-#define ERR_OPENING_JACK 1
+-#define ERR_RATE_MISMATCH 2
+-#define ERR_BYTES_PER_FRAME_INVALID 3
+-enum status_enum { PLAYING, PAUSED, STOPPED, CLOSED, RESET };
+-void JACK_Init(void);
+-int JACK_Open(int* deviceID, unsigned int bits_per_sample, unsigned long *rate, int channels);
+-int JACK_Close(int deviceID); /* return 0 for success */
+-void JACK_Reset(int deviceID); /* free all buffered data and reset several values in the device */
+-long JACK_Write(int deviceID, char *data, unsigned long bytes); /* returns the number of bytes written */
+-long JACK_GetJackLatency(int deviceID); /* return the latency in milliseconds of jack */
+-int JACK_SetState(int deviceID, enum status_enum state); /* playing, paused, stopped */
+-int JACK_SetAllVolume(int deviceID, unsigned int volume);
+-int JACK_SetVolumeForChannel(int deviceID, unsigned int channel, unsigned int volume);
+-void JACK_GetVolumeForChannel(int deviceID, unsigned int channel, unsigned int *volume);
+-//
+
+
+ static ao_info_t info =
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mplayer-bio2jack.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list