ClutterGstAudio

## ClutterGstAudio ClutterGstAudio — Object for playback of audio files. |

## Synopsis

                        ClutterGstAudio;
                        ClutterGstAudioClass;
    ClutterGstAudio*    clutter_gst_audio_new               (void);
    GstElement*         clutter_gst_audio_get_playbin       (ClutterGstAudio *audio);

## Object Hierarchy

      GObject
       +----ClutterGstAudio

## Implemented Interfaces

ClutterGstAudio implements ClutterMedia.

## Description

ClutterGstAudio is an object that plays audio files. It is a simple wrapper around GStreamer base audio sink implementing the ClutterMedia interface and providing a nice API to play a sound file using its URI.

## Details

### ClutterGstAudio

    typedef struct _ClutterGstAudio ClutterGstAudio;

Simple class for playing audio files.

The ClutterGstAudio structure contains only private data and should not be accessed directly.

### ClutterGstAudioClass

    typedef struct {
    } ClutterGstAudioClass;

Base class for ClutterGstAudio.

### clutter_gst_audio_new ()

    ClutterGstAudio*    clutter_gst_audio_new               (void);

Creates ClutterGstAudio object.

Returns : | A newly allocated ClutterGstAudio object.

### clutter_gst_audio_get_playbin ()

    GstElement*         clutter_gst_audio_get_playbin       (ClutterGstAudio *audio);

Retrieves the GstElement used by the `audio`, for direct use with GStreamer API.

`audio` : | a ClutterGstAudio
Returns : | the playbin element used by the audio object