mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
Add replaygain tag
Original commit message from CVS: Add replaygain tag
This commit is contained in:
parent
60bf7ab302
commit
3aaa423f36
5 changed files with 54 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
|
||||
|
||||
* gst/gsttag.c: (_gst_tag_initialize):
|
||||
* gst/gsttag.h:
|
||||
Add replaygain tag
|
||||
|
||||
2004-01-18 Colin Walters <walters@verbum.org>
|
||||
|
||||
* examples/retag/retag.c: Call gst_init before processing
|
||||
|
|
20
gst/gsttag.c
20
gst/gsttag.c
|
@ -166,6 +166,26 @@ _gst_tag_initialize (void)
|
|||
_("maximum bitrate"),
|
||||
_("maximum bitrate in bits/s"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_TRACK_GAIN,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain track gain"),
|
||||
_("track gain in db"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_TRACK_PEAK,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain track peak"),
|
||||
_("peak of the track"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_ALBUM_GAIN,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain album gain"),
|
||||
_("album gain in db"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_ALBUM_PEAK,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain album peak"),
|
||||
_("peak of the album"),
|
||||
NULL);
|
||||
}
|
||||
/**
|
||||
* gst_tag_merge_use_first:
|
||||
|
|
|
@ -235,6 +235,10 @@ GstTagList * gst_event_tag_get_list (GstEvent * tag_event);
|
|||
#define GST_TAG_BITRATE "bitrate"
|
||||
#define GST_TAG_MINIMUM_BITRATE "minimum-bitrate"
|
||||
#define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate"
|
||||
#define GST_TAG_TRACK_GAIN "replaygain_track_gain"
|
||||
#define GST_TAG_TRACK_PEAK "replaygain_track_peak"
|
||||
#define GST_TAG_ALBUM_GAIN "replaygain_album_gain"
|
||||
#define GST_TAG_ALBUM_PEAK "replaygain_album_peak"
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -166,6 +166,26 @@ _gst_tag_initialize (void)
|
|||
_("maximum bitrate"),
|
||||
_("maximum bitrate in bits/s"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_TRACK_GAIN,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain track gain"),
|
||||
_("track gain in db"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_TRACK_PEAK,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain track peak"),
|
||||
_("peak of the track"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_ALBUM_GAIN,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain album gain"),
|
||||
_("album gain in db"),
|
||||
NULL);
|
||||
gst_tag_register (GST_TAG_ALBUM_PEAK,
|
||||
G_TYPE_DOUBLE,
|
||||
_("replaygain album peak"),
|
||||
_("peak of the album"),
|
||||
NULL);
|
||||
}
|
||||
/**
|
||||
* gst_tag_merge_use_first:
|
||||
|
|
|
@ -235,6 +235,10 @@ GstTagList * gst_event_tag_get_list (GstEvent * tag_event);
|
|||
#define GST_TAG_BITRATE "bitrate"
|
||||
#define GST_TAG_MINIMUM_BITRATE "minimum-bitrate"
|
||||
#define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate"
|
||||
#define GST_TAG_TRACK_GAIN "replaygain_track_gain"
|
||||
#define GST_TAG_TRACK_PEAK "replaygain_track_peak"
|
||||
#define GST_TAG_ALBUM_GAIN "replaygain_album_gain"
|
||||
#define GST_TAG_ALBUM_PEAK "replaygain_album_peak"
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Reference in a new issue