20 #ifndef MPD_DECODER_LIST_HXX
21 #define MPD_DECODER_LIST_HXX
48 for (
unsigned i = 0; decoder_plugins[i] !=
nullptr; ++i)
50 return decoder_plugins[i];
59 for (
unsigned i = 0; decoder_plugins[i] !=
nullptr; ++i)
70 for (
auto i = decoder_plugins; *i !=
nullptr; ++i)
78 for (
unsigned i = 0; decoder_plugins[i] !=
nullptr; ++i)
80 f(*decoder_plugins[i]);
void decoder_plugin_deinit_all()
const struct DecoderPlugin *const decoder_plugins[]
static const DecoderPlugin * decoder_plugins_find(F f)
static void decoder_plugins_for_each_enabled(F f)
gcc_pure const struct DecoderPlugin * decoder_plugin_from_name(const char *name) noexcept
static bool decoder_plugins_try(F f)
bool decoder_plugins_enabled[]
void decoder_plugin_init_all()
gcc_pure gcc_nonnull_all bool decoder_plugins_supports_suffix(const char *suffix) noexcept
Is there at least once DecoderPlugin that supports the specified file name suffix?
static void decoder_plugins_for_each(F f)
const Partition const char * name