#include <file_info.h>
Public Types | |
| enum | { text_buffer_size = 16 } |
| enum | { peak_invalid = -1, gain_invalid = -1000 } |
| typedef char | t_text_buffer [text_buffer_size] |
Public Member Functions | |
| bool | format_album_gain (char p_buffer[text_buffer_size]) const |
| bool | format_track_gain (char p_buffer[text_buffer_size]) const |
| bool | format_album_peak (char p_buffer[text_buffer_size]) const |
| bool | format_track_peak (char p_buffer[text_buffer_size]) const |
| void | set_album_gain_text (const char *p_text, t_size p_text_len=infinite) |
| void | set_track_gain_text (const char *p_text, t_size p_text_len=infinite) |
| void | set_album_peak_text (const char *p_text, t_size p_text_len=infinite) |
| void | set_track_peak_text (const char *p_text, t_size p_text_len=infinite) |
| bool | set_from_meta_ex (const char *p_name, t_size p_name_len, const char *p_value, t_size p_value_len) |
| bool | set_from_meta (const char *p_name, const char *p_value) |
| bool | is_album_gain_present () const |
| bool | is_track_gain_present () const |
| bool | is_album_peak_present () const |
| bool | is_track_peak_present () const |
| void | remove_album_gain () |
| void | remove_track_gain () |
| void | remove_album_peak () |
| void | remove_track_peak () |
| t_size | get_value_count () |
| void | reset () |
Static Public Member Functions | |
| static bool | g_format_gain (float p_value, char p_buffer[text_buffer_size]) |
| static bool | g_format_peak (float p_value, char p_buffer[text_buffer_size]) |
| static bool | g_is_meta_replaygain (const char *p_name, t_size p_name_len=infinite) |
| static replaygain_info | g_merge (replaygain_info r1, replaygain_info r2) |
| static bool | g_equal (const replaygain_info &item1, const replaygain_info &item2) |
Public Attributes | |
| float | m_album_gain |
| float | m_track_gain |
| float | m_album_peak |
| float | m_track_peak |
| typedef char replaygain_info::t_text_buffer[text_buffer_size] |
| static bool replaygain_info::g_format_gain | ( | float | p_value, | |
| char | p_buffer[text_buffer_size] | |||
| ) | [static] |
| static bool replaygain_info::g_format_peak | ( | float | p_value, | |
| char | p_buffer[text_buffer_size] | |||
| ) | [static] |
| bool replaygain_info::format_album_gain | ( | char | p_buffer[text_buffer_size] | ) | const [inline] |
| bool replaygain_info::format_track_gain | ( | char | p_buffer[text_buffer_size] | ) | const [inline] |
| bool replaygain_info::format_album_peak | ( | char | p_buffer[text_buffer_size] | ) | const [inline] |
| bool replaygain_info::format_track_peak | ( | char | p_buffer[text_buffer_size] | ) | const [inline] |
| void replaygain_info::set_album_gain_text | ( | const char * | p_text, | |
| t_size | p_text_len = infinite | |||
| ) |
| void replaygain_info::set_track_gain_text | ( | const char * | p_text, | |
| t_size | p_text_len = infinite | |||
| ) |
| void replaygain_info::set_album_peak_text | ( | const char * | p_text, | |
| t_size | p_text_len = infinite | |||
| ) |
| void replaygain_info::set_track_peak_text | ( | const char * | p_text, | |
| t_size | p_text_len = infinite | |||
| ) |
| static bool replaygain_info::g_is_meta_replaygain | ( | const char * | p_name, | |
| t_size | p_name_len = infinite | |||
| ) | [static] |
| bool replaygain_info::set_from_meta_ex | ( | const char * | p_name, | |
| t_size | p_name_len, | |||
| const char * | p_value, | |||
| t_size | p_value_len | |||
| ) |
| bool replaygain_info::set_from_meta | ( | const char * | p_name, | |
| const char * | p_value | |||
| ) | [inline] |
| bool replaygain_info::is_album_gain_present | ( | ) | const [inline] |
| bool replaygain_info::is_track_gain_present | ( | ) | const [inline] |
| bool replaygain_info::is_album_peak_present | ( | ) | const [inline] |
| bool replaygain_info::is_track_peak_present | ( | ) | const [inline] |
| void replaygain_info::remove_album_gain | ( | ) | [inline] |
| void replaygain_info::remove_track_gain | ( | ) | [inline] |
| void replaygain_info::remove_album_peak | ( | ) | [inline] |
| void replaygain_info::remove_track_peak | ( | ) | [inline] |
| t_size replaygain_info::get_value_count | ( | ) |
| static replaygain_info replaygain_info::g_merge | ( | replaygain_info | r1, | |
| replaygain_info | r2 | |||
| ) | [static] |
| static bool replaygain_info::g_equal | ( | const replaygain_info & | item1, | |
| const replaygain_info & | item2 | |||
| ) | [static] |
| void replaygain_info::reset | ( | ) |
1.5.5