1 /* GStreamer Editing Services
2 * Copyright (C) 2009 Brandon Lewis <brandon.lewis@collabora.co.uk>
3 * 2009 Nokia Corporation
4 * Copyright (C) 2020 Igalia S.L
5 * Author: 2020 Thibault Saunier <tsaunier@igalia.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
26 #include <glib-object.h>
27 #include <ges/ges-enums.h>
28 #include <ges/ges-types.h>
29 #include <ges/ges-source-clip.h>
30 #include <ges/ges-track.h>
34 #define GES_TYPE_TEST_CLIP ges_test_clip_get_type()
35 GES_DECLARE_TYPE(TestClip, test_clip, TEST_CLIP);
46 GESTestClipPrivate *priv;
48 /* Padding for API extension */
49 gpointer _ges_reserved[GES_PADDING];
56 struct _GESTestClipClass {
58 GESSourceClipClass parent_class;
60 /* Padding for API extension */
61 gpointer _ges_reserved[GES_PADDING];
65 ges_test_clip_set_mute (GESTestClip * self, gboolean mute);
68 ges_test_clip_set_vpattern (GESTestClip * self,
69 GESVideoTestPattern vpattern);
72 ges_test_clip_set_frequency (GESTestClip * self, gdouble freq);
75 ges_test_clip_set_volume (GESTestClip * self,
79 GES_API GESVideoTestPattern
80 ges_test_clip_get_vpattern (GESTestClip * self);
83 gboolean ges_test_clip_is_muted (GESTestClip * self);
85 gdouble ges_test_clip_get_frequency (GESTestClip * self);
87 gdouble ges_test_clip_get_volume (GESTestClip * self);
90 GESTestClip* ges_test_clip_new (void);
92 GESTestClip* ges_test_clip_new_for_nick(gchar * nick);