MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / is_wav_path

Function is_wav_path

app/workflow/workflow.cpp:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 std::string ext = path.extension().string();
170 std::transform(ext.begin(), ext.end(), ext.begin(), [](unsigned char ch) {
171 return static_cast<char>(std::tolower(ch));
172 });
173 return ext;
174}
175
176bool is_wav_path(const std::filesystem::path & path) {

Callers 1

run_batch_inputs_stepFunction · 0.70

Calls 1

lowercase_extensionFunction · 0.70

Tested by

no test coverage detected