MCPcopy Create free account
hub / github.com/bbc/audiowaveform / shouldGenerateWaveformData

Function shouldGenerateWaveformData

src/OptionHandler.cpp:615–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613//------------------------------------------------------------------------------
614
615static bool shouldGenerateWaveformData(
616 FileFormat::FileFormat input_format,
617 FileFormat::FileFormat output_format)
618{
619 return FileFormat::isAudioFormat(input_format) &&
620 FileFormat::isSupported(input_format) &&
621 FileFormat::isWaveformDataFormat(output_format);
622}
623
624//------------------------------------------------------------------------------
625

Callers 1

runMethod · 0.85

Calls 3

isAudioFormatFunction · 0.85
isSupportedFunction · 0.85
isWaveformDataFormatFunction · 0.85

Tested by

no test coverage detected