Sound.
typedef struct Sound { uint sig; byte wobj[1024]; } Sound;

Check if sound is currently playing.
API bool SoundIsPlaying(Sound *sound);
sound: Sound.

Play sound.
API void SoundPlay(Sound *sound);
sound: Sound.

Pause sound.
API void SoundPause(Sound *sound);
sound: Sound.

Stop sound.
API void SoundStop(Sound *sound);
sound: Sound.

Set volume.
API void SoundSetGain(Sound *sound, float gain);
sound: Sound.
gain: Normalized volume value. 0=Silent 1=Loudest

Set pitch.
API void SoundSetPitch(Sound *sound, float pitch);
sound: Sound.
pitch: Pitch value. 1=Normal <1=Lowers pitch >1=Raises pitch.

Set velocity.
API void SoundSetVel(Sound *sound, S3f vel);
sound: Sound.
vel: Velocity vector. Scale of vector causes pitch change.

Set position.
API void SoundSetPos(Sound *sound, M4f pos);
sound: Sound.
pos: Global position.

Set range.
API void SoundSetRange(Sound *sound, float min, float max);
sound: Sound.
min: Sound is loudest inside minimum distance.
max: Sound is silent outside maximum distance.

Set cone.
API void SoundSetCone(Sound *sound, float inner, float outer, float gain);
sound: Sound.
inner: Sound is loudest inside the inner cone.
outer: Sound is at outer gain outside of outer cone
gain: Normalized volume of sound outside of outer cone.

Set looping.
API void SoundSetLoop(Sound *sound, bool enable);
sound: Sound.
enable: True to loop sound.

Set source.
API void SoundSetSource(Sound *sound, wcstr name, Assets assets);
sound: Sound.
name: Asset name of sound source.
assets: Asset stream.

Set stream.
API void SoundSetStream(Sound *sound, wcstr path);
sound: Sound oect.
path: Path to sound file to stream.

Initialize sound.
API void SoundInit(Sound *sound);

Release sound.
API void SoundRel(Sound *sound);
sound: Ssound.