## GESTrackAudioTestSource

GESTrackAudioTestSource — produce a simple test waveform or silence

## Synopsis

    #include <ges/ges.h>

                        GESTrackAudioTestSource;
    GESTrackAudioTestSource *  ges_track_audio_test_source_new
                                                            (void);
    void                ges_track_audio_test_source_set_freq
                                                            (GESTrackAudioTestSource *self,
                                                             gdouble freq);
    void                ges_track_audio_test_source_set_volume
                                                            (GESTrackAudioTestSource *self,
                                                             gdouble volume);
    double              ges_track_audio_test_source_get_freq
                                                            (GESTrackAudioTestSource *self);
    double              ges_track_audio_test_source_get_volume
                                                            (GESTrackAudioTestSource *self);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTrackObject
                   +----GESTrackSource
                         +----GESTrackAudioTestSource

## 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.

## Details

### GESTrackAudioTestSource

    typedef struct _GESTrackAudioTestSource GESTrackAudioTestSource;

### 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

`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.

`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`.

`self` : | a GESTrackAudioTestSource
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`.

`self` : | a GESTrackAudioTestSource
Returns : | The current volume of `self`