On the interaction of an acoustic liner with a boundary-layer and cross flow