GESTrackAudioTestSource

GESTrackAudioTestSource — produce a simple test waveform or silence

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GESTrackObject
            ╰── GESTrackSource
                ╰── GESTrackAudioTestSource

Includes

#include <ges/ges.h>

Description

Outputs a test audio stream using audiotestsrc. The default property values output silence. Useful for testing pipelines, or to fill gaps in an audio track.

Functions

ges_track_audio_test_source_new ()

GESTrackAudioTestSource *
ges_track_audio_test_source_new (void);

Creates a new GESTrackAudioTestSource.

Returns

The newly created GESTrackAudioTestSource.


ges_track_audio_test_source_set_freq ()

void
ges_track_audio_test_source_set_freq (GESTrackAudioTestSource *self,
                                      gdouble freq);

Lets you set the frequency applied on the track object

Parameters

self

a GESTrackAudioTestSource

 

freq

The frequency you want to apply on self

 

ges_track_audio_test_source_set_volume ()

void
ges_track_audio_test_source_set_volume
                               (GESTrackAudioTestSource *self,
                                gdouble volume);

Sets the volume of the test audio signal.

Parameters

self

a GESTrackAudioTestSource

 

volume

The volume you want to apply on self

 

ges_track_audio_test_source_get_freq ()

double
ges_track_audio_test_source_get_freq (GESTrackAudioTestSource *self);

Get the current frequency of self .

Parameters

Returns

The current frequency of self .


ges_track_audio_test_source_get_volume ()

double
ges_track_audio_test_source_get_volume
                               (GESTrackAudioTestSource *self);

Get the current volume of self .

Parameters

Returns

The current volume of self

Types and Values

GESTrackAudioTestSource

typedef struct _GESTrackAudioTestSource GESTrackAudioTestSource;