You could have a look at <http://www.esiee.fr/~outtersg/>. It is a port of mpg123 to Mac OS X; it is a bit complicated, due to the mpg123's architecture, but you'll find in audio_macosx.c the basics (opening, playing and closing).
In fact, for mpg123, I have to stop the main app before it...