]> git.pld-linux.org Git - packages/mplayer.git/commitdiff
- patches merged.
authorPaweł Sikora <pluto@pld-linux.org>
Thu, 1 Dec 2005 17:29:18 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mplayer-bio2jack.patch -> 1.2
    mplayer-jack.patch -> 1.2

mplayer-bio2jack.patch
mplayer-jack.patch [deleted file]

index 2d6dcec79b785717d475465df89c90d04190e13d..570aef767337802e2460d7b0dcf974996e04ac94 100644 (file)
@@ -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 =
diff --git a/mplayer-jack.patch b/mplayer-jack.patch
deleted file mode 100644 (file)
index d6dd5fa..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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 =
This page took 0.946321 seconds and 4 git commands to generate.