Added missing header for abs()
Ring buffer block IO