As just posted elsewhere, if you are on a 2nd or higher level in a house (or office, like us), don't trust a wood floor at all.
That is how it should be done. I have seen a lot of houses built during. The 2003 Iraq war when materials were hard to find. With 100% exterior grade OSB, roof, floors and walls.to expand a bit, your carpeted floor will be CDX ply wood, 3/4", OSB will be on the house siding and roof, sub flooring will be your bathroom/kitchen floors as it gives a smoother surface floor for Linoleum and the such.