Anisotropic density-near-zero (ADNZ) metamaterials, with only one component of the mass density tensor near zero, have been proposed and used to manipulate the flow of the acoustic energy in designed paths. In the inhomogeneous ADNZ metamaterials, a strong averaging effect on the non-zero component of the mass density tensor is theoretically and numerically demonstrated. Based on this effect, the acoustic intensity vector, which represents the average direction and magnitude of the acoustic energy flow, can be manipulated by simply designing the spatial profile of the non-zero mass density component. This method provides more possibilities in controlling the acoustic intensity in almost an arbitrary way.