![]() |
![]() |
![]() |
Grilo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <grilo.h> struct GrlMediaAudioClass; void grl_media_audio_set_artist (GrlMediaAudio *audio
,const gchar *artist
); void grl_media_audio_set_album (GrlMediaAudio *audio
,const gchar *album
); void grl_media_audio_set_genre (GrlMediaAudio *audio
,const gchar *genre
); void grl_media_audio_set_lyrics (GrlMediaAudio *audio
,const gchar *lyrics
); void grl_media_audio_set_bitrate (GrlMediaAudio *audio
,gint bitrate
); const gchar * grl_media_audio_get_artist (GrlMediaAudio *audio
); const gchar * grl_media_audio_get_album (GrlMediaAudio *audio
); const gchar * grl_media_audio_get_genre (GrlMediaAudio *audio
); const gchar * grl_media_audio_get_lyrics (GrlMediaAudio *audio
); gint grl_media_audio_get_bitrate (GrlMediaAudio *audio
); 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 *audio
,const gchar *artist
);
Set the artist of the audio
|
the media instance |
|
the audio's artist |
Since 0.1.4
void grl_media_audio_set_album (GrlMediaAudio *audio
,const gchar *album
);
Set the album of the audio
|
the media instance |
|
the audio's album |
Since 0.1.4
void grl_media_audio_set_genre (GrlMediaAudio *audio
,const gchar *genre
);
Set the genre of the audio
|
the media instance |
|
the audio's genre |
Since 0.1.4
void grl_media_audio_set_lyrics (GrlMediaAudio *audio
,const gchar *lyrics
);
Set the lyrics of the audio
|
the media instance |
|
the audio's lyrics |
Since 0.1.4
void grl_media_audio_set_bitrate (GrlMediaAudio *audio
,gint bitrate
);
Set the bitrate of the audio
|
the media instance |
|
the audio's bitrate |
Since 0.1.4
const gchar * grl_media_audio_get_artist (GrlMediaAudio *audio
);
|
the media instance |
Returns : |
the artist of the audio |
Since 0.1.4
const gchar * grl_media_audio_get_album (GrlMediaAudio *audio
);
|
the media instance |
Returns : |
the album of the audio |
Since 0.1.4
const gchar * grl_media_audio_get_genre (GrlMediaAudio *audio
);
|
the media instance |
Returns : |
the genre of the audio |
Since 0.1.4
const gchar * grl_media_audio_get_lyrics (GrlMediaAudio *audio
);
|
the media instance |
Returns : |
the lyrics of the audio |
Since 0.1.4
gint grl_media_audio_get_bitrate (GrlMediaAudio *audio
);
|
the media instance |
Returns : |
the bitrate of the audio |
Since 0.1.4