MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / decoder_check_plugin

Function decoder_check_plugin

src/command/FingerprintCommands.cxx:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126[[gnu::pure]]
127static bool
128decoder_check_plugin(const DecoderPlugin &plugin, const InputStream &is,
129 std::string_view suffix) noexcept
130{
131 return plugin.stream_decode != nullptr &&
132 (decoder_check_plugin_mime(plugin, is) ||
133 decoder_check_plugin_suffix(plugin, suffix));
134}
135
136inline bool
137GetChromaprintCommand::DecodeStream(InputStream &is,

Callers 1

DecodeStreamMethod · 0.85

Calls 2

Tested by

no test coverage detected