Ricardo did not explain how equilibrium prices are determined.
In autocracy
Labor is the only factor of production, the usage of this factor determines the cost of production.
Because there are only two goods, the relative usage of the factor determine their exchange rate. And because we have constant return to scale and there is only one factor of production, the PPF is a straight line -> exchange rates are constant and independent of the quantity demanded.
Also, because you have only two goods, the idea of price doesn't make that much sense. You can only exchange good A for good B and vice-versa.
In other word, in a Ricardian model, the price is the opportunity cost.
To know the quantity consumed, you need to know the utility function. But it will not change the price in autocracy.
Trade
I need to check :). But I believe the demand will only tell us where we are on the world PFF. Then the slope of the world PPF at this point will give the "price".