Inflation is NOT prices. It is an increase in the stock of money. The overall level of prices tends to rise when there are more dollars chasing the same amount of goods. Prices do not rise uniformly and some will even fall as people shift their buying habits. Wages and salaries are the last prices to rise in an inflation and may actually fall for some people as people lose their jobs (leaving the same people chasing fewer jobs) due to the increasing inefficiency of pricing because of the inflation. Price dislocations are a result of inflation. They are not, themselves, inflation. You can’t actually measure inflation by price changes but you can tell if inflation is occurring.
If salaries are falling, then you’ve got deflation.