Acoustic Casimir pressure for arbitrary media