What is the most portable way to play a wave file in Linux? I'd like this to succeed even if the user doesn't have particularly nice sound libraries installed (assume libc is installed and the user has sound configured, but nothing else).
Preferably, the method I use to blocks until the sound finishes playing and also avoids the overhead of launching a whole separate utility.