Move some format functions

This commit is contained in:
Megamouse 2020-04-06 08:57:11 +02:00
parent 89f16548f3
commit b1fdbc7fcc
8 changed files with 151 additions and 155 deletions

View file

@ -10,23 +10,6 @@
LOG_CHANNEL(cellMic);
template <>
void fmt_class_string<microphone_handler>::format(std::string& out, u64 arg)
{
format_enum(out, arg, [](auto value) {
switch (value)
{
case microphone_handler::null: return "Null";
case microphone_handler::standard: return "Standard";
case microphone_handler::singstar: return "SingStar";
case microphone_handler::real_singstar: return "Real SingStar";
case microphone_handler::rocksmith: return "Rocksmith";
}
return unknown;
});
}
void mic_context::operator()()
{
while (thread_ctrl::state() != thread_state::aborting)