api/waveform: use new waveform.ScaleClipping signature