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

Function mad_decoder_scan_stream

src/decoder/plugins/MadDecoderPlugin.cxx:985–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

983}
984
985static bool
986mad_decoder_scan_stream(InputStream &is, TagHandler &handler)
987{
988 MadDecoder data(nullptr, is);
989 return data.RunScan(handler);
990}
991
992static const char *const mad_suffixes[] = { "mp3", "mp2", nullptr };
993static const char *const mad_mime_types[] = { "audio/mpeg", nullptr };

Callers

nothing calls this directly

Calls 1

RunScanMethod · 0.80

Tested by

no test coverage detected