forked from centricular/gstcefsrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gstcefaudiometa.h
39 lines (26 loc) · 932 Bytes
/
gstcefaudiometa.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __GST_CEF_AUDIO_META_H__
#define __GST_CEF_AUDIO_META_H__
#include <gst/gst.h>
G_BEGIN_DECLS
#define GST_CEF_AUDIO_META_API_TYPE (gst_cef_audio_meta_api_get_type())
#define GST_CEF_AUDIO_META_INFO (gst_cef_audio_meta_get_info())
#define GST_CEF_AUDIO_META_RTP_EXTENSION_ID 1
#ifdef G_OS_WIN32
#define GSTCEF_EXPORT __declspec(dllexport)
#else
#define GSTCEF_EXPORT extern
#endif
typedef struct _GstCefAudioMeta GstCefAudioMeta;
struct _GstCefAudioMeta {
GstMeta meta;
GstBufferList *buffers;
};
GSTCEF_EXPORT
GType gst_cef_audio_meta_api_get_type (void);
GSTCEF_EXPORT
const GstMetaInfo * gst_cef_audio_meta_get_info (void);
#define gst_buffer_get_cef_audio_meta(b) ((GstCefAudioMeta*)gst_buffer_get_meta((b), GST_CEF_AUDIO_META_API_TYPE))
GSTCEF_EXPORT
GstCefAudioMeta * gst_buffer_add_cef_audio_meta (GstBuffer *buffer, GstBufferList *buffers);
G_END_DECLS
#endif /* __GST_CEF_AUDIO_META_H__ */