MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / ClearWaveform

Method ClearWaveform

src/Frame.cpp:251–255  ·  view source on GitHub ↗

Clear the waveform image (and deallocate its memory)

Source from the content-addressed store, hash-verified

249
250// Clear the waveform image (and deallocate its memory)
251void Frame::ClearWaveform()
252{
253 if (wave_image)
254 wave_image.reset();
255}
256
257// Get an audio waveform image pixels
258const unsigned char* Frame::GetWaveformPixels(int width, int height, int Red, int Green, int Blue, int Alpha)

Callers

nothing calls this directly

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected