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