optimize cpu load when play sound