| Grilo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <grilo.h> struct GrlMediaAudioClass; void grl_media_audio_set_artist (GrlMediaAudio *data,const gchar *artist); void grl_media_audio_set_album (GrlMediaAudio *data,const gchar *album); void grl_media_audio_set_genre (GrlMediaAudio *data,const gchar *genre); void grl_media_audio_set_lyrics (GrlMediaAudio *data,const gchar *lyrics); void grl_media_audio_set_bitrate (GrlMediaAudio *data,gint bitrate); const gchar * grl_media_audio_get_artist (GrlMediaAudio *data); const gchar * grl_media_audio_get_album (GrlMediaAudio *data); const gchar * grl_media_audio_get_genre (GrlMediaAudio *data); const gchar * grl_media_audio_get_lyrics (GrlMediaAudio *data); gint grl_media_audio_get_bitrate (GrlMediaAudio *data); GrlMedia * grl_media_audio_new (void);
This high level class represents an audio multimedia item. It has methods to set and get properties like artist, album, and so on.
struct GrlMediaAudioClass {
GrlMediaClass parent_class;
};
Grilo Media audio Class
GrlMediaClass |
the parent class structure |
void grl_media_audio_set_artist (GrlMediaAudio *data,const gchar *artist);
Set the artist of the audio
|
the media instance |
|
the audio's artist |
void grl_media_audio_set_album (GrlMediaAudio *data,const gchar *album);
Set the album of the audio
|
the media instance |
|
the audio's album |
void grl_media_audio_set_genre (GrlMediaAudio *data,const gchar *genre);
Set the genre of the audio
|
the media instance |
|
the audio's genre |
void grl_media_audio_set_lyrics (GrlMediaAudio *data,const gchar *lyrics);
Set the lyrics of the audio
|
the media instance |
|
the audio's lyrics |
void grl_media_audio_set_bitrate (GrlMediaAudio *data,gint bitrate);
Set the bitrate of the audio
|
the media instance |
|
the audio's bitrate |
const gchar * grl_media_audio_get_artist (GrlMediaAudio *data);
|
the media instance |
Returns : |
the artist of the audio |
const gchar * grl_media_audio_get_album (GrlMediaAudio *data);
|
the media instance |
Returns : |
the album of the audio |
const gchar * grl_media_audio_get_genre (GrlMediaAudio *data);
|
the media instance |
Returns : |
the genre of the audio |
const gchar * grl_media_audio_get_lyrics (GrlMediaAudio *data);
|
the media instance |
Returns : |
the lyrics of the audio |
gint grl_media_audio_get_bitrate (GrlMediaAudio *data);
|
the media instance |
Returns : |
the bitrate of the audio |