From 89e5450fb82cbcb3a61f0d9a7a680fd26b9ed9df Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 13 Dec 2011 16:43:46 +0000 Subject: [PATCH] More macros for CD-TEXT genre and language names --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/libburn.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index d2cbf3c..e9cb9cd 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.12.12.181346" +#define Cdrskin_timestamP "2011.12.13.164329" diff --git a/libburn/libburn.h b/libburn/libburn.h index 1437798..f8b3e84 100644 --- a/libburn/libburn.h +++ b/libburn/libburn.h @@ -1956,6 +1956,23 @@ int burn_session_set_cdtext_par(struct burn_session *s, "Bengali", "Bielorussian", "Bambora", "Azerbaijani", \ "Assamese", "Armenian", "Arabic", "Amharic" +/* This is the list of empty languages names between 0x30 and 0x44. + Together the three macros fill an array of 128 char pointers. + static char *languages[] = { + BURN_CDTEXT_LANGUAGES_0X00, + BURN_CDTEXT_FILLER, + BURN_CDTEXT_LANGUAGES_0X45 + }; +*/ +#define BURN_CDTEXT_FILLER \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "" + + /* ts B11206 */ /** Obtain the current settings as of burn_session_set_cdtext_par() resp. @@ -2040,6 +2057,10 @@ int burn_session_set_cdtext(struct burn_session *s, int block, "Pop Music", "Rap", "Reggae", "Rock Music", \ "Rhythm & Blues", "Sound Effects", "Spoken Word", "World Music" +/* The number of genre names in BURN_CDTEXT_GENRE_LIST. +*/ +#define BURN_CDTEXT_NUM_GENRES 28 + /* ts B11206 */ /** Obtain a CD-TEXT attribute that was set by burn_session_set_cdtext()