## GESAudioTestSource GESAudioTestSource — produce a simple test waveform or silence |

## Synopsis

    #include <ges/ges.h>

                        GESAudioTestSource;
    GESAudioTestSource * ges_audio_test_source_new          (void);
    void                ges_audio_test_source_set_freq      (GESAudioTestSource *self,
                                                             gdouble freq);
    void                ges_audio_test_source_set_volume    (GESAudioTestSource *self,
                                                             gdouble volume);
    double              ges_audio_test_source_get_freq      (GESAudioTestSource *self);
    double              ges_audio_test_source_get_volume    (GESAudioTestSource *self);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTimelineElement
                   +----GESTrackElement
                         +----GESSource
                               +----GESAudioSource
                                     +----GESAudioTestSource

## Implemented Interfaces

GESAudioTestSource implements GESExtractable and GESMetaContainer.

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

### GESAudioTestSource

    typedef struct _GESAudioTestSource GESAudioTestSource;

### ges_audio_test_source_new ()

    GESAudioTestSource * ges_audio_test_source_new          (void);

Creates a new GESAudioTestSource.

Returns : | The newly created GESAudioTestSource.

### ges_audio_test_source_set_freq ()

    void                ges_audio_test_source_set_freq      (GESAudioTestSource *self,
                                                             gdouble freq);

Lets you set the frequency applied on the track element

`self` : | a GESAudioTestSource
`freq` : | The frequency you want to apply on `self`

### ges_audio_test_source_set_volume ()

    void                ges_audio_test_source_set_volume    (GESAudioTestSource *self,
                                                             gdouble volume);

Sets the volume of the test audio signal.

`self` : | a GESAudioTestSource
`volume` : | The volume you want to apply on `self`

### ges_audio_test_source_get_freq ()

    double              ges_audio_test_source_get_freq      (GESAudioTestSource *self);

Get the current frequency of `self`.

`self` : | a GESAudioTestSource
Returns : | The current frequency of `self`.

### ges_audio_test_source_get_volume ()

    double              ges_audio_test_source_get_volume    (GESAudioTestSource *self);

Get the current volume of `self`.

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