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

Method GetWaveformPixels

src/Frame.cpp:258–265  ·  view source on GitHub ↗

Get an audio waveform image pixels

Source from the content-addressed store, hash-verified

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)
259{
260 // Get audio wave form image
261 wave_image = GetWaveform(width, height, Red, Green, Blue, Alpha);
262
263 // Return array of pixel packets
264 return wave_image->constBits();
265}
266
267// Display the wave form
268void Frame::DisplayWaveform()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected