Commit 2f16f8e9 authored by Max Kellermann's avatar Max Kellermann

tag_rva2: name the CHANNEL_* enum

parent 4364b30c
......@@ -24,16 +24,7 @@
#include <glib.h>
#include <id3tag.h>
bool
tag_rva2_parse(struct id3_tag *tag, struct replay_gain_info *replay_gain_info)
{
struct id3_frame const * frame;
id3_latin1_t const *id;
id3_byte_t const *data;
id3_length_t length;
enum {
enum rva2_channel {
CHANNEL_OTHER = 0x00,
CHANNEL_MASTER_VOLUME = 0x01,
CHANNEL_FRONT_RIGHT = 0x02,
......@@ -43,7 +34,16 @@ tag_rva2_parse(struct id3_tag *tag, struct replay_gain_info *replay_gain_info)
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)
{
struct id3_frame const * frame;
id3_latin1_t const *id;
id3_byte_t const *data;
id3_length_t length;
/* relative volume adjustment information */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment