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

Function FindContainerDecoderPlugin

test/ContainerScan.cxx:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include <stdio.h>
22
23static const DecoderPlugin *
24FindContainerDecoderPlugin(std::string_view suffix)
25{
26 return decoder_plugins_find([suffix](const DecoderPlugin &plugin){
27 return plugin.container_scan != nullptr &&
28 plugin.SupportsSuffix(suffix);
29 });
30}
31
32static const DecoderPlugin *
33FindContainerDecoderPlugin(Path path)

Callers 1

mainFunction · 0.85

Calls 4

uri_get_suffixFunction · 0.85
ToUTF8ThrowMethod · 0.80
emptyMethod · 0.80
SupportsSuffixMethod · 0.45

Tested by

no test coverage detected