Removed sample rate from window object