Convert output samples to int