[gnac] Added support for GST_TAG_ALBUM_GAIN and GST_TAG_ALBUM_PEAK
- From: BenoÃt Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac] Added support for GST_TAG_ALBUM_GAIN and GST_TAG_ALBUM_PEAK
- Date: Wed, 1 Feb 2012 22:22:32 +0000 (UTC)
commit 168445eb5dc7bfc5488f001630c20fe8e04f1b50
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date: Wed Feb 1 22:21:11 2012 +0000
Added support for GST_TAG_ALBUM_GAIN and GST_TAG_ALBUM_PEAK
libgnac/libgnac-metadata-tags.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libgnac/libgnac-metadata-tags.h b/libgnac/libgnac-metadata-tags.h
index 890f69b..6c007b4 100644
--- a/libgnac/libgnac-metadata-tags.h
+++ b/libgnac/libgnac-metadata-tags.h
@@ -51,6 +51,10 @@ typedef GHashTable LibgnacTags;
#define LIBGNAC_METADATA_TAG_IS_ALBUM(tag) \
(g_str_equal((tag), GST_TAG_ALBUM))
+#define LIBGNAC_METADATA_TAG_IS_ALBUM_GAIN(tag) \
+ (g_str_equal((tag), GST_TAG_ALBUM_GAIN))
+#define LIBGNAC_METADATA_TAG_IS_ALBUM_PEAK(tag) \
+ (g_str_equal((tag), GST_TAG_ALBUM_PEAK))
#define LIBGNAC_METADATA_TAG_IS_ALBUM_VOLUME_COUNT(tag) \
(g_str_equal((tag), GST_TAG_ALBUM_VOLUME_COUNT))
#define LIBGNAC_METADATA_TAG_IS_ALBUM_VOLUME_NUMBER(tag) \
@@ -120,6 +124,10 @@ typedef GHashTable LibgnacTags;
#define LIBGNAC_METADATA_TAG_ALBUM(tags) \
(g_hash_table_lookup((GHashTable *) (tags), GST_TAG_ALBUM))
+#define LIBGNAC_METADATA_TAG_ALBUM_GAIN(tag) \
+ (g_hash_table_lookup((GHashTable *) (tags), GST_TAG_ALBUM_GAIN))
+#define LIBGNAC_METADATA_TAG_ALBUM_PEAK(tag) \
+ (g_hash_table_lookup((GHashTable *) (tags), GST_TAG_ALBUM_PEAK))
#define LIBGNAC_METADATA_TAG_ALBUM_VOLUME_COUNT(tags) \
(g_hash_table_lookup((GHashTable *) (tags), GST_TAG_ALBUM_VOLUME_COUNT))
#define LIBGNAC_METADATA_TAG_ALBUM_VOLUME_NUMBER(tags) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]