![]() |
![]() |
![]() |
Clutter Gst 0.8 Reference Manual | ![]() |
---|---|---|---|---|
ClutterGstAudio; ClutterGstAudioClass; ClutterGstAudio* clutter_gst_audio_new (void); GstElement* clutter_gst_audio_get_playbin (ClutterGstAudio *audio);
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.
typedef struct _ClutterGstAudio ClutterGstAudio;
Simple class for playing audio files.
The ClutterGstAudio structure contains only private data and should not be accessed directly.
ClutterGstAudio* clutter_gst_audio_new (void);
Creates ClutterGstAudio object.
Returns : |
A newly allocated ClutterGstAudio object. |
GstElement* clutter_gst_audio_get_playbin (ClutterGstAudio *audio);
Retrieves the GstElement used by the audio
, for direct use with
GStreamer API.
|
a ClutterGstAudio |
Returns : |
the playbin element used by the audio object |