small bug corrected in output.setSamples(float* data)