module-waveout: Adapted to updated API