![]() |
![]() |
![]() |
GStreamer Editing Services 0.10.1.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GESTimelineTestSourceGESTimelineTestSource — Render video and audio test patterns in a GESTimelineLayer |
#include <ges/ges.h> GESTimelineTestSource; GESTimelineTestSourceClass; GESTimelineTestSource * ges_timeline_test_source_new (void
); GESTimelineTestSource * ges_timeline_test_source_new_for_nick (gchar *nick
); GESVideoTestPattern ges_timeline_test_source_get_vpattern (GESTimelineTestSource *self
); gdouble ges_timeline_test_source_get_frequency (GESTimelineTestSource *self
); gdouble ges_timeline_test_source_get_volume (GESTimelineTestSource *self
); gboolean ges_timeline_test_source_is_muted (GESTimelineTestSource *self
); void ges_timeline_test_source_set_vpattern (GESTimelineTestSource *self
,GESVideoTestPattern vpattern
); void ges_timeline_test_source_set_frequency (GESTimelineTestSource *self
,gdouble freq
); void ges_timeline_test_source_set_mute (GESTimelineTestSource *self
,gboolean mute
); void ges_timeline_test_source_set_volume (GESTimelineTestSource *self
,gdouble volume
);
GObject +----GInitiallyUnowned +----GESTimelineObject +----GESTimelineSource +----GESTimelineTestSource
"freq" gdouble : Read / Write / Construct "mute" gboolean : Read / Write / Construct "volume" gdouble : Read / Write / Construct "vpattern" GESVideoTestPattern : Read / Write / Construct
GESTimelineTestSource * ges_timeline_test_source_new (void
);
Creates a new GESTimelineTestSource.
Returns : |
The newly created GESTimelineTestSource, or NULL if there was an error. |
GESTimelineTestSource * ges_timeline_test_source_new_for_nick
(gchar *nick
);
Creates a new GESTimelineTestSource for the provided nick
.
|
the nickname for which to create the GESTimelineTestSource |
Returns : |
The newly created GESTimelineTestSource, or NULL if there was an error. |
GESVideoTestPattern ges_timeline_test_source_get_vpattern
(GESTimelineTestSource *self
);
Get the GESVideoTestPattern which is applied on self
.
|
a GESTimelineTestSource |
Returns : |
The GESVideoTestPattern which is applied on self . |
gdouble ges_timeline_test_source_get_frequency
(GESTimelineTestSource *self
);
Get the frequency self
generates.
|
a GESTimelineTestSource |
Returns : |
The frequency self generates. See audiotestsrc element. |
gdouble ges_timeline_test_source_get_volume (GESTimelineTestSource *self
);
Get the volume of the test audio signal applied on self
.
|
a GESTimelineTestSource |
Returns : |
The volume of the test audio signal applied on self . |
gboolean ges_timeline_test_source_is_muted (GESTimelineTestSource *self
);
Let you know if the audio track of self
is muted or not.
|
a GESTimelineTestSource |
Returns : |
Whether the audio track of self is muted or not. |
void ges_timeline_test_source_set_vpattern (GESTimelineTestSource *self
,GESVideoTestPattern vpattern
);
Sets which video pattern to display on self
.
|
the GESTimelineTestSource to set the pattern on |
|
the GESVideoTestPattern to use on self
|
void ges_timeline_test_source_set_frequency (GESTimelineTestSource *self
,gdouble freq
);
Sets the frequency to generate. See audiotestsrc element.
|
the GESTimelineTestSource to set the frequency on |
|
the frequency you want to use on self
|
void ges_timeline_test_source_set_mute (GESTimelineTestSource *self
,gboolean mute
);
Sets whether the audio track of this timeline object is muted or not.
|
the GESTimelineTestSource on which to mute or unmute the audio track |
|
TRUE to mute the audio track, FALSE to unmute it |
void ges_timeline_test_source_set_volume (GESTimelineTestSource *self
,gdouble volume
);
Sets the volume of the test audio signal.
|
the GESTimelineTestSource to set the volume on |
|
the volume of the audio signal you want to use on self
|
"freq"
property"freq" gdouble : Read / Write / Construct
The frequency to generate for audio track objects.
Allowed values: [0,20000]
Default value: 440
"mute"
property"mute" gboolean : Read / Write / Construct
Whether the sound will be played or not.
Default value: FALSE
"volume"
property"volume" gdouble : Read / Write / Construct
The volume for the audio track objects.
Allowed values: [0,1]
Default value: 0
"vpattern"
property"vpattern" GESVideoTestPattern : Read / Write / Construct
Video pattern to display in video track objects.
Default value: 100% Black