Static Public Member Functions | |
static std::string | Frame2Time (int framenum) |
static int | Time2Frame (const char *ch) |
static int | dB2Gain (const char *gainstr) |
static std::string | Num2Genre (int genre) |
static int | Genre2Num (const char *genrename) |
Definition at line 14 of file conv.h.
|
Converts dB to MP3 volume units 1.5dB equals one volume unit
Definition at line 60 of file conv.cpp. Referenced by MP3Core::Params(). |
|
Converts a frame number to time Every frame lasts exactly mp3::frametime miliseconds.
Definition at line 13 of file conv.cpp. References mp3::frametime. Referenced by MP3Core::GetInfo(), and MP3Core::WriteResult(). |
|
Find genre and return its number If the genre wasn't found, use genre "other"
|
|
Converts tag genre number to its name
|
|
Converts a time to frame number Every frame lasts exactly mp3::frametime miliseconds.
Definition at line 24 of file conv.cpp. References mp3::frametime. Referenced by MP3Core::Params(). |