MCPcopy Create free account
hub / github.com/Cpasjuste/pplay / getMediaExtensions

Method getMediaExtensions

src/utility.cpp:40–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40std::vector<std::string> Utility::getMediaExtensions() {
41 return {
42 ".8svx",
43 ".aac",
44 ".ac3",
45 ".aif",
46 ".asf",
47 ".avi",
48 ".dv",
49 ".flv",
50 ".m2ts",
51 ".m2v",
52 ".m4a",
53 ".mkv",
54 ".mov",
55 ".mp3",
56 ".mp4",
57 ".mpeg",
58 ".mpg",
59 ".mts",
60 ".ogg",
61 ".rmvb",
62 ".swf",
63 ".ts",
64 ".vob",
65 ".wav",
66 ".wma",
67 ".wmv",
68 ".m3u",
69 ".m3u8"
70 };
71}
72
73bool Utility::isMedia(const c2d::Io::File &file) {
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected