cpp impl 1000 playout per sec