tag_rva2: name the CHANNEL_* enum
This commit is contained in:
parent
4364b30c42
commit
2f16f8e9f7
@ -24,6 +24,18 @@
|
||||
#include <glib.h>
|
||||
#include <id3tag.h>
|
||||
|
||||
enum rva2_channel {
|
||||
CHANNEL_OTHER = 0x00,
|
||||
CHANNEL_MASTER_VOLUME = 0x01,
|
||||
CHANNEL_FRONT_RIGHT = 0x02,
|
||||
CHANNEL_FRONT_LEFT = 0x03,
|
||||
CHANNEL_BACK_RIGHT = 0x04,
|
||||
CHANNEL_BACK_LEFT = 0x05,
|
||||
CHANNEL_FRONT_CENTRE = 0x06,
|
||||
CHANNEL_BACK_CENTRE = 0x07,
|
||||
CHANNEL_SUBWOOFER = 0x08
|
||||
};
|
||||
|
||||
bool
|
||||
tag_rva2_parse(struct id3_tag *tag, struct replay_gain_info *replay_gain_info)
|
||||
{
|
||||
@ -33,18 +45,6 @@ tag_rva2_parse(struct id3_tag *tag, struct replay_gain_info *replay_gain_info)
|
||||
id3_byte_t const *data;
|
||||
id3_length_t length;
|
||||
|
||||
enum {
|
||||
CHANNEL_OTHER = 0x00,
|
||||
CHANNEL_MASTER_VOLUME = 0x01,
|
||||
CHANNEL_FRONT_RIGHT = 0x02,
|
||||
CHANNEL_FRONT_LEFT = 0x03,
|
||||
CHANNEL_BACK_RIGHT = 0x04,
|
||||
CHANNEL_BACK_LEFT = 0x05,
|
||||
CHANNEL_FRONT_CENTRE = 0x06,
|
||||
CHANNEL_BACK_CENTRE = 0x07,
|
||||
CHANNEL_SUBWOOFER = 0x08
|
||||
};
|
||||
|
||||
/* relative volume adjustment information */
|
||||
|
||||
frame = id3_tag_findframe(tag, "RVA2", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user