Procs
proc addTrack(name: string; level: AudioLevel = 1.0'f32) {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc audioWorker(mixer: ptr Mixer) {.thread, ...raises: [Exception], tags: [TimeEffect], forbids: [].}
proc CloseSoundDevice(soundDevice: NativeSoundDevice) {....raises: [], tags: [], forbids: [].}
proc fadeTo(track: string; level: AudioLevel; time: float) {....raises: [KeyError], tags: [], forbids: [].}
proc getLevel(): AudioLevel {....raises: [], tags: [], forbids: [].}
proc getLevel(playbackId: uint64): (AudioLevel, AudioLevel) {. ...raises: [KeyError], tags: [], forbids: [].}
proc getLevel(track: string): AudioLevel {....raises: [KeyError], tags: [], forbids: [].}
proc isPlaying(): bool {....raises: [], tags: [], forbids: [].}
proc isPlaying(track: string): bool {....raises: [KeyError], tags: [], forbids: [].}
proc OpenSoundDevice(sampleRate: uint32; buffers: seq[ptr SoundData]): NativeSoundDevice {. ...raises: [Exception], tags: [], forbids: [].}
proc pause() {....raises: [], tags: [], forbids: [].}
proc pause(playbackId: uint64) {....raises: [KeyError], tags: [], forbids: [].}
proc pause(playbackId: uint64; value: bool) {....raises: [KeyError], tags: [], forbids: [].}
proc pause(track: string) {....raises: [KeyError], tags: [], forbids: [].}
proc pause(track: string; value: bool) {....raises: [KeyError], tags: [], forbids: [].}
proc pause(value: bool) {....raises: [], tags: [], forbids: [].}
proc play(soundName: string; track = ""; stopOtherSounds = false; loop = false; level: AudioLevel = 1.0'f32): uint64 {....raises: [KeyError], tags: [], forbids: [].}
proc play(soundName: string; track = ""; stopOtherSounds = false; loop = false; levelLeft, levelRight: AudioLevel): uint64 {....raises: [KeyError], tags: [], forbids: [].}
proc setLevel(level: AudioLevel) {....raises: [], tags: [], forbids: [].}
proc setLevel(playbackId: uint64; level: AudioLevel) {....raises: [KeyError], tags: [], forbids: [].}
proc setLevel(playbackId: uint64; levelLeft, levelRight: AudioLevel) {. ...raises: [KeyError], tags: [], forbids: [].}
proc setLevel(track: string; level: AudioLevel) {....raises: [KeyError], tags: [], forbids: [].}
proc snd_pcm_close(pcm: snd_pcm_p): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params(pcm: snd_pcm_p; params: snd_pcm_hw_params_p): cint {. importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_any(pcm: snd_pcm_p; params: snd_pcm_hw_params_p): cint {. importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_free(hw_params: snd_pcm_hw_params_p) {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_malloc(hw_params_ptr: ptr snd_pcm_hw_params_p): cint {. importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_set_access(pcm: snd_pcm_p; params: snd_pcm_hw_params_p; mode: AccessMode): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_set_buffer_size(pcm: snd_pcm_p; params: snd_pcm_hw_params_p; size: snd_pcm_uframes_t): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_set_channels(pcm: snd_pcm_p; params: snd_pcm_hw_params_p; val: cuint): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_set_format(pcm: snd_pcm_p; params: snd_pcm_hw_params_p; format: PCMFormat): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_hw_params_set_rate(pcm: snd_pcm_p; params: snd_pcm_hw_params_p; val: cuint; dir: cint): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_open(pcm_ref: ptr snd_pcm_p; name: cstring; streamMode: StreamMode; openmode: OpenMode): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_recover(pcm: snd_pcm_p; err: cint; silent: cint): cint {.importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc snd_pcm_writei(pcm: snd_pcm_p; buffer: pointer; size: snd_pcm_uframes_t): snd_pcm_sframes_t {. importc, cdecl, dynlib: "libasound.so.2", ...raises: [], tags: [], forbids: [].}
proc stop() {....raises: [], tags: [], forbids: [].}
proc stop(playbackId: uint64) {....raises: [], tags: [], forbids: [].}
proc stop(track: string) {....raises: [KeyError], tags: [], forbids: [].}
proc unpause() {....raises: [], tags: [], forbids: [].}
proc unpause(playbackId: uint64) {....raises: [KeyError], tags: [], forbids: [].}
proc unpause(track: string) {....raises: [KeyError], tags: [], forbids: [].}
proc updateSoundBuffer(mixer: var Mixer) {....raises: [Exception], tags: [TimeEffect], forbids: [].}
proc WriteSoundData(soundDevice: NativeSoundDevice; buffer: int) {. ...raises: [Exception], tags: [], forbids: [].}