hello people, I successfully used the libdxr3 library to write a program playing a mpeg-2 to s-video. since I was using c++ I needed the following patch which I would really like to see in the next release:
--- /home/stefan/em8300-0.7.1/include/libdxr3/api.h Mon Mar 12 05:07:45 2001 +++ /usr/local/include/libdxr3/api.h Wed Jun 13 18:26:41 2001 @@ -38,6 +38,10 @@ #define DXR3_PLAYMODE_REVERSEPLAY 6 #define DXR3_PLAYMODE_SCAN 7
+#ifdef __cplusplus +extern "C" { +#endif + typedef struct { int fd_control; @@ -99,5 +103,9 @@
// Play control functions int dxr3_set_playmode(int); + +#ifdef __cplusplus +} +#endif
#endif /* LIBDXR3_API_H */
I've added this to cvs and it will be in the next release (pretty soon probably).
You should use the mailing list in the future, I rarely read these message boards.
Log in to post a comment.
hello people,
I successfully used the libdxr3 library to write a program playing a mpeg-2 to s-video. since I was using c++ I needed the following patch which I would really like to see in the next release:
--- /home/stefan/em8300-0.7.1/include/libdxr3/api.h Mon Mar 12 05:07:45 2001
+++ /usr/local/include/libdxr3/api.h Wed Jun 13 18:26:41 2001
@@ -38,6 +38,10 @@
#define DXR3_PLAYMODE_REVERSEPLAY 6
#define DXR3_PLAYMODE_SCAN 7
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct
{
int fd_control;
@@ -99,5 +103,9 @@
// Play control functions
int dxr3_set_playmode(int);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* LIBDXR3_API_H */
I've added this to cvs and it will be in the next release (pretty soon probably).
You should use the mailing list in the future, I rarely read these message boards.