Macroscopic behaviour of longitudinal optical phonons in a AlAs/GaAs/AlAs quantum well