summaryrefslogtreecommitdiff
path: root/gst-libs/gst/tag/tag.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@collabora.com>2013-08-15 11:03:47 +0100
committerSebastian Dröge <slomo@circular-chaos.org>2013-08-20 14:44:27 +0200
commit541c061ee81c07b1f36869e897cb2cbe4b34effc (patch)
tree080554384bd8e7094628dae8703baff6c970fa6e /gst-libs/gst/tag/tag.h
parent1c4af723a32fdfacaab884bff0d0c46b70072d2c (diff)
tag: add musical-key tag
https://bugzilla.gnome.org/show_bug.cgi?id=705999
Diffstat (limited to 'gst-libs/gst/tag/tag.h')
-rw-r--r--gst-libs/gst/tag/tag.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h
index 896bc1cdb..48631d355 100644
--- a/gst-libs/gst/tag/tag.h
+++ b/gst-libs/gst/tag/tag.h
@@ -81,6 +81,21 @@ G_BEGIN_DECLS
* Annodex CMML clip element tag
*/
#define GST_TAG_CMML_CLIP "cmml-clip"
+/**
+ * GST_TAG_MUSICAL_KEY:
+ *
+ * Musical key in which the sound starts. It is represented as a string
+ * with a maximum length of three characters. The ground keys are
+ * represented with "A","B","C","D","E", "F" and "G" and halfkeys
+ * represented with "b" and "#". Minor is represented as "m" (e.g. "Dbm").
+ * Off key is represented with an "o" only.
+ * This notation might be extended in the future to support non-minor/major
+ * keys.
+ *
+ * Since: 1.2
+ */
+#define GST_TAG_MUSICAL_KEY "musical-key"
+
/* CDDA tags */