Fixed wrong number of samples, was outputing total instead of per channel which make more sense when reading playing back