diff options
Diffstat (limited to 'java/openjfx8-devel/files/sndiosink.h')
-rw-r--r-- | java/openjfx8-devel/files/sndiosink.h | 20 |
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 { |