summaryrefslogtreecommitdiff
path: root/java/openjfx8-devel/files/sndiosink.h
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-07-23 05:34:21 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-07-23 05:34:21 +0000
commit0455f383ae2b2a352d45fb1f7256ee0cb9cc3027 (patch)
tree58737cc1ec13a905f0f91a64e6a0b12c8713bb93 /java/openjfx8-devel/files/sndiosink.h
parent- update to 5.04 (diff)
java/openjfx8-devel: Update to 8u202-b07
- Also update devel/gradle to the latest version on the 4.x branch. Gradle >=4.8<5 is required to build OpenJFX now. - GStreamer-lite is now based on GStreamer 1.0, so update the sndio backend accordingly. - Add a bunch of missing platform checks which will make it actually use system fonts as configured. OpenJFX 8 is unmaintained upstream and has been for a while [1]. Deprecate the port as noone seems to have stepped up to take over maintainership. No expiration date since this port has multiple consumers and there is no alternative. [1] https://mail.openjdk.java.net/pipermail/openjfx-dev/2018-December/023007.html PR: 237443
Notes
Notes: svn path=/head/; revision=507200
Diffstat (limited to 'java/openjfx8-devel/files/sndiosink.h')
-rw-r--r--java/openjfx8-devel/files/sndiosink.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/java/openjfx8-devel/files/sndiosink.h b/java/openjfx8-devel/files/sndiosink.h
index 25bb8799bd4d..314e62210c54 100644
--- a/java/openjfx8-devel/files/sndiosink.h
+++ b/java/openjfx8-devel/files/sndiosink.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) <2008> Jacob Meuser <jakemsr@sdf.lonestar.org>
+ * Copyright (C) 2008 Jacob Meuser <jakemsr@sdf.lonestar.org>
+ * Copyright (C) 2012 Alexandre Ratchov <alex@caoua.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -22,6 +23,7 @@
#include <gst/gst.h>
#include <gst/audio/gstaudiosink.h>
+#include "gstsndio.h"
G_BEGIN_DECLS
@@ -40,20 +42,8 @@ typedef struct _GstSndioSink GstSndioSink;
typedef struct _GstSndioSinkClass GstSndioSinkClass;
struct _GstSndioSink {
- GstAudioSink sink;
-
- struct sio_hdl *hdl;
- gchar *host;
-
- /* bytes per frame */
- int bpf;
-
- /* frames counts */
- volatile long long realpos;
- volatile long long playpos;
- volatile guint latency;
-
- GstCaps *cur_caps;
+ GstAudioSink sink;
+ struct gstsndio sndio;
};
struct _GstSndioSinkClass {