• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  *
3  * Copyright (C) 2014-2015 Sebastian Dröge <sebastian@centricular.com>
4  * Copyright (C) 2015 Brijesh Singh <brijesh.ksingh@gmail.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef __GST_PLAY_VISUALIZATION_H__
23 #define __GST_PLAY_VISUALIZATION_H__
24 
25 #include <gst/gst.h>
26 #include <gst/play/play-prelude.h>
27 
28 G_BEGIN_DECLS
29 
30 typedef struct _GstPlayVisualization GstPlayVisualization;
31 /**
32  * GstPlayVisualization:
33  * @name: name of the visualization.
34  * @description: description of the visualization.
35  *
36  * A #GstPlayVisualization descriptor.
37  * Since: 1.20
38  */
39 struct _GstPlayVisualization {
40   gchar *name;
41   gchar *description;
42 };
43 
44 GST_PLAY_API
45 GType                     gst_play_visualization_get_type (void);
46 
47 GST_PLAY_API
48 GstPlayVisualization *  gst_play_visualization_copy  (const GstPlayVisualization *vis);
49 
50 GST_PLAY_API
51 void                      gst_play_visualization_free  (GstPlayVisualization *vis);
52 
53 GST_PLAY_API
54 GstPlayVisualization ** gst_play_visualizations_get  (void);
55 
56 GST_PLAY_API
57 void                      gst_play_visualizations_free (GstPlayVisualization **viss);
58 
59 G_END_DECLS
60 
61 #endif /* __GST_PLAY_VISUALIZATION_H__ */
62