public WaveOutAction(WaveOutFunction function, object data) { this.function = function; this.data = data; }