The influence of the solar atmospheric stratification on the structure of the acoustic wave field