API: add GST_TAG_REFERENCE_LEVEL (#403597).

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_REFERENCE_LEVEL (#403597).
This commit is contained in:
René Stadler 2007-02-12 10:50:20 +00:00 committed by Tim-Philipp Müller
parent 85c81ea952
commit 69e7087725
4 changed files with 22 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
Patch by: René Stadler <mail at renestadler de>
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_REFERENCE_LEVEL (#403597).
2007-02-11 Stefan Kost <ensonic@users.sf.net>
* docs/libs/Makefile.am:
@ -17,7 +26,6 @@
(gst_controlled_property_new):
Document more.
2007-02-10 Sébastien Moutte <sebastien@moutte.net>
* gst/gstbin.h:(gst_bin_get_by_interface),

View file

@ -1835,6 +1835,7 @@ GST_TAG_TRACK_GAIN
GST_TAG_TRACK_PEAK
GST_TAG_ALBUM_GAIN
GST_TAG_ALBUM_PEAK
GST_TAG_REFERENCE_LEVEL
GST_TAG_LANGUAGE_CODE
GST_TAG_IMAGE
GST_TAG_PREVIEW_IMAGE

View file

@ -206,6 +206,9 @@ _gst_tag_initialize (void)
G_TYPE_DOUBLE, _("replaygain album gain"), _("album gain in db"), NULL);
gst_tag_register (GST_TAG_ALBUM_PEAK, GST_TAG_FLAG_META,
G_TYPE_DOUBLE, _("replaygain album peak"), _("peak of the album"), NULL);
gst_tag_register (GST_TAG_REFERENCE_LEVEL, GST_TAG_FLAG_META,
G_TYPE_DOUBLE, _("replaygain reference level"),
_("reference level of track and album gain values"), NULL);
gst_tag_register (GST_TAG_LANGUAGE_CODE, GST_TAG_FLAG_META, G_TYPE_STRING,
_("language code"),
_("language code for this stream, conforming to ISO-639-1"), NULL);

View file

@ -560,6 +560,14 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list,
* peak of the album (double)
*/
#define GST_TAG_ALBUM_PEAK "replaygain-album-peak"
/**
* GST_TAG_REFERENCE_LEVEL:
*
* reference level of track and album gain values (double)
*
* Since: 0.10.12
*/
#define GST_TAG_REFERENCE_LEVEL "replaygain-reference-level"
/**
* GST_TAG_LANGUAGE_CODE:
*
@ -586,7 +594,7 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list,
/**
* GST_TAG_BEATS_PER_MINUTE:
*
* number of beats per minute in audio
* number of beats per minute in audio (double)
*
* Since: 0.10.12
*/