device is a device name. On Linux, it is the ALSA string. On Windows, it is currently ignored, so you should pass "default" or null so when it does get implemented your code won't break.
Always pass card == 0.
A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Closes the audio device. You MUST call stop before calling this.
Re-opens the audio device that you have previously closed.
Starts playing, loops until stop is called
Breaks the play loop
passes a buffer of data to fill
Gives PCM output access (such as the speakers).