Acoustic radiation from a source located inside layered cavities is studied using the transfer matrix method. It is shown that the radiation can be either enhanced or inhibited, depending on the characteristics and the material composition of the cavities