| Top |
| gint | mirage_language_get_code () |
| gboolean | mirage_language_get_pack_data () |
| void | mirage_language_set_code () |
| gboolean | mirage_language_set_pack_data () |
MirageLanguage object represents a CD-TEXT language for session or track. It is a container object that stores language code and CD-TEXT pack data for different pack types.
gint
mirage_language_get_code (MirageLanguage *self);
Retrieves language's language code.
gboolean mirage_language_get_pack_data (MirageLanguage *self,MirageLanguagePackType pack_type,const guint8 **pack_data,gint *length,GError **error);
Retrieves pack data of type pack_type
. A pointer to buffer containing pack
data is stored in pack
data; the buffer belongs to the object and therefore
should not be modified.
void mirage_language_set_code (MirageLanguage *self,gint code);
Sets language's language code.
gboolean mirage_language_set_pack_data (MirageLanguage *self,MirageLanguagePackType pack_type,const guint8 *pack_data,gint length,GError **error);
Sets pack data of type pack_type
to data in pack_data
. length
is length of
data in pack_data
. pack_type
must be one of MirageLanguagePackType.
typedef struct _MirageLanguage MirageLanguage;
All the fields in the MirageLanguage structure are private to the MirageLanguage implementation and should never be accessed directly.
struct MirageLanguageClass {
MirageObjectClass parent_class;
};
The class structure for the MirageLanguage type.
CD-TEXT pack types.
|
Album name and Track titles |
||
|
Singer/player/conductor/orchestra |
||
|
Name of the songwriter |
||
|
Name of the composer |
||
|
Name of the arranger |
||
|
Message from content provider or artist |
||
|
Disc identification information |
||
|
Genre identification / information |
||
|
TOC information |
||
|
Second TOC |
||
|
Reserved 8A |
||
|
Reserved 8B |
||
|
Reserved 8C |
||
|
For internal use by content provider |
||
|
UPC/EAN code of album and ISRC for tracks |
||
|
Size information of the block |