renatofilho@787: /* GStreamer renatofilho@787: * renatofilho@787: * This library is free software; you can redistribute it and/or renatofilho@787: * modify it under the terms of the GNU Library General Public renatofilho@787: * License as published by the Free Software Foundation; either renatofilho@787: * version 2 of the License, or (at your option) any later version. renatofilho@787: * renatofilho@787: * This library is distributed in the hope that it will be useful, renatofilho@787: * but WITHOUT ANY WARRANTY; without even the implied warranty of renatofilho@787: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU renatofilho@787: * Library General Public License for more details. renatofilho@787: * renatofilho@787: * You should have received a copy of the GNU Library General Public renatofilho@787: * License along with this library; if not, write to the renatofilho@787: * Free Software Foundation, Inc., 59 Temple Place - Suite 330, renatofilho@787: * Boston, MA 02111-1307, USA. renatofilho@787: */ renatofilho@787: renatofilho@787: #ifndef __GST_PLAYBINMAEMO_H__ renatofilho@787: #define __GST_PLAYBINMAEMO_H__ renatofilho@787: renatofilho@787: #include renatofilho@787: renatofilho@787: G_BEGIN_DECLS renatofilho@787: renatofilho@787: #define GST_TYPE_PLAY_BIN_MAEMO \ renatofilho@787: (gst_play_bin_maemo_get_type()) renatofilho@787: #define GST_PLAY_BIN_MAEMO(obj) \ renatofilho@787: (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PLAY_BIN_MAEMO,GstPlayBinMaemo)) renatofilho@787: #define GST_PLAY_BIN_MAEMO_CLASS(klass) \ renatofilho@787: (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PLAY_BIN_MAEMO,GstPlayBinMaemoClass)) renatofilho@787: #define GST_IS_PLAY_BIN_MAEMO(obj) \ renatofilho@787: (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PLAY_BIN_MAEMO)) renatofilho@787: #define GST_IS_PLAY_BIN_MAEMO_CLASS(klass) \ renatofilho@787: (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PLAY_BIN_MAEMO)) renatofilho@787: #define GST_PLAY_BIN_MAEMO_GET_CLASS(obj) \ renatofilho@787: (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_PLAY_BIN_MAEMO,GstPlayBinMaemoClass)) renatofilho@787: renatofilho@787: typedef struct _GstPlayBinMaemo GstPlayBinMaemo; renatofilho@787: typedef struct _GstPlayBinMaemoClass GstPlayBinMaemoClass; renatofilho@787: renatofilho@787: struct _GstPlayBinMaemo { renatofilho@787: GstPipeline pipeline; renatofilho@787: renatofilho@787: /* properties */ renatofilho@787: guint64 queue_size; renatofilho@787: guint64 queue_min_threshold; renatofilho@787: gboolean is_stream; renatofilho@788: gboolean parse_metadata; renatofilho@787: glong xid; leo_sobral@811: gfloat volume; renatofilho@787: renatofilho@787: /* currently loaded media */ renatofilho@787: gboolean need_rebuild; renatofilho@788: gboolean has_metadata; renatofilho@787: gchar *uri; renatofilho@792: GstElement *volume_element; renatofilho@787: GstElement *source; leo_sobral@811: GstElement *video_sink; renatofilho@792: GList *elements; renatofilho@787: GList *factories; renatofilho@787: }; renatofilho@787: renatofilho@787: struct _GstPlayBinMaemoClass { renatofilho@787: GstPipelineClass parent_class; renatofilho@787: }; renatofilho@787: renatofilho@787: GType gst_play_bin_maemo_get_type (void); renatofilho@787: renatofilho@787: G_END_DECLS renatofilho@787: renatofilho@787: #endif /* __GST_PLAYBINMAEMO_H__ */ renatofilho@787: