Wave propagation in discontinuous media