projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wpe: Implement audio support
[platform/upstream/gstreamer.git]
/
ext
/
wpe
/
WPEThreadedView.h
diff --git
a/ext/wpe/WPEThreadedView.h
b/ext/wpe/WPEThreadedView.h
index
414d9b2
..
31d5642
100644
(file)
--- a/
ext/wpe/WPEThreadedView.h
+++ b/
ext/wpe/WPEThreadedView.h
@@
-23,6
+23,7
@@
#include <glib.h>
#include <gst/gl/gstglfuncs.h>
#include <gst/gl/egl/gstgldisplay_egl.h>
#include <glib.h>
#include <gst/gl/gstglfuncs.h>
#include <gst/gl/egl/gstgldisplay_egl.h>
+#include <wpe/extensions/audio.h>
#include <wpe/fdo.h>
#include <wpe/fdo-egl.h>
#include <wpe/webkit.h>
#include <wpe/fdo.h>
#include <wpe/fdo-egl.h>
#include <wpe/webkit.h>
@@
-50,6
+51,9
@@
public:
void loadUri(const gchar*);
void loadData(GBytes*);
void setDrawBackground(gboolean);
void loadUri(const gchar*);
void loadData(GBytes*);
void setDrawBackground(gboolean);
+
+ void registerAudioReceiver(const struct wpe_audio_receiver*, gpointer);
+
GstEGLImage* image();
GstBuffer* buffer();
GstEGLImage* image();
GstBuffer* buffer();
@@
-96,7
+100,7
@@
private:
struct wpe_view_backend_exportable_fdo* exportable;
int width;
int height;
struct wpe_view_backend_exportable_fdo* exportable;
int width;
int height;
- } wpe { nullptr, 0, 0 };
+ } wpe { nullptr, 0, 0
,
};
struct {
gchar* uri;
struct {
gchar* uri;