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

Function shouldRenderWaveformImage

src/OptionHandler.cpp:650–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648//------------------------------------------------------------------------------
649
650static bool shouldRenderWaveformImage(
651 FileFormat::FileFormat input_format,
652 FileFormat::FileFormat output_format)
653{
654 return (FileFormat::isWaveformDataFormat(input_format) ||
655 FileFormat::isAudioFormat(input_format)) &&
656 FileFormat::isSupported(input_format) &&
657 output_format == FileFormat::Png;
658}
659
660//------------------------------------------------------------------------------
661

Callers 1

runMethod · 0.85

Calls 3

isWaveformDataFormatFunction · 0.85
isAudioFormatFunction · 0.85
isSupportedFunction · 0.85

Tested by

no test coverage detected