The audio device objects are returned by open define the following methods (except control objects which only provide getinfo, setinfo and drain):
There is a companion module, SUNAUDIODEV, which defines useful symbolic constants like MIN_GAIN, MAX_GAIN, SPEAKER, etc. The names of the constants are the same names as used in the C include file <sun/audioio.h>, with the leading string AUDIO_ stripped.
Useability of the control device is limited at the moment, since there is no way to use the ``wait for something to happen'' feature the device provides.