[xiph-commits] r18711 - icecast/branches/ph3/libshout/include/shout
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Wed Nov 21 05:36:31 PST 2012
Author: ph3-der-loewe
Date: 2012-11-21 05:36:31 -0800 (Wed, 21 Nov 2012)
New Revision: 18711
Modified:
icecast/branches/ph3/libshout/include/shout/shout.h.in
Log:
list valid values as #defines not in comment as done for other functions as well
Modified: icecast/branches/ph3/libshout/include/shout/shout.h.in
===================================================================
--- icecast/branches/ph3/libshout/include/shout/shout.h.in 2012-11-20 22:20:59 UTC (rev 18710)
+++ icecast/branches/ph3/libshout/include/shout/shout.h.in 2012-11-21 13:36:31 UTC (rev 18711)
@@ -56,6 +56,14 @@
#define SHOUT_AI_CHANNELS "channels"
#define SHOUT_AI_QUALITY "quality"
+#define SHOUT_META_NAME "name"
+#define SHOUT_META_URL "url"
+#define SHOUT_META_GENRE "genre"
+#define SHOUT_META_DESCRIPTION "description"
+#define SHOUT_META_IRC "irc"
+#define SHOUT_META_AIM "aim"
+#define SHOUT_META_ICQ "icq"
+
typedef struct shout shout_t;
typedef struct _util_dict shout_metadata_t;
@@ -131,7 +139,7 @@
int shout_set_audio_info(shout_t *self, const char *name, const char *value);
const char *shout_get_audio_info(shout_t *self, const char *name);
-// names: name, url, genre, description, irc, aim, icq
+/* takes a SHOUT_META_xxxx argument */
int shout_set_meta(shout_t *self, const char *name, const char *value);
const char *shout_get_meta(shout_t *self, const char *name);
More information about the commits
mailing list