-- ----------------------------------------------------------------------------
-- This file was automatically generated by SWIG (http://www.swig.org).
-- Version 1.3.31
--
-- Do not make changes to this file unless you know what you are doing--modify
-- the SWIG interface file instead.
-- ----------------------------------------------------------------------------- 

--** Interface to foreign library [@text occSDLsound].
-- Generated automatically using SWIG 1.3.31.
-- @module occSDLsound

#IF NOT DEFINED (WRAPPERS.occSDLsound.INC)
#DEFINE WRAPPERS.occSDLsound.INC
--{{{  data types
--* Foreign enumeration type [@text Sound_SampleFlags].
DATA TYPE Sound.SampleFlags IS INT:
--* Foreign struct type [@text Sound_AudioInfo].
DATA TYPE Sound.AudioInfo IS INT:
--* Foreign struct type [@text Sound_Version].
DATA TYPE Sound.Version IS INT:
--* Foreign struct type [@text Sound_Sample].
DATA TYPE Sound.Sample IS INT:
--* Foreign struct type [@text Sound_DecoderInfo].
DATA TYPE Sound.DecoderInfo IS INT:
--}}}
--  not wrapped: typedef Uint8
--  not wrapped: typedef Sint8
--  not wrapped: typedef Uint16
--  not wrapped: typedef Sint16
--  not wrapped: typedef Uint32
--  not wrapped: typedef Sint32
--{{{  constant SOUND_VER_MAJOR
--* Foreign constant [@text SOUND_VER_MAJOR].
VAL INT SOUND.VER.MAJOR IS 1:
--}}}
--{{{  constant SOUND_VER_MINOR
--* Foreign constant [@text SOUND_VER_MINOR].
VAL INT SOUND.VER.MINOR IS 0:
--}}}
--{{{  constant SOUND_VER_PATCH
--* Foreign constant [@text SOUND_VER_PATCH].
VAL INT SOUND.VER.PATCH IS 1:
--}}}
--{{{  enum Sound_SampleFlags
--*{ Sound.SampleFlags Foreign enumeration [@text Sound_SampleFlags].
VAL Sound.SampleFlags SOUND.SAMPLEFLAG.NONE IS 0:
VAL Sound.SampleFlags SOUND.SAMPLEFLAG.CANSEEK IS 1:
VAL Sound.SampleFlags SOUND.SAMPLEFLAG.EOF IS 1:
VAL Sound.SampleFlags SOUND.SAMPLEFLAG.ERROR IS 1:
VAL Sound.SampleFlags SOUND.SAMPLEFLAG.EAGAIN IS 1:
--*}
--}}}
--{{{  struct Sound_AudioInfo
--{{{  function Sound_AudioInfo_format_set
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.format.set (VAL Sound.AudioInfo self, VAL INT16 format) = 0"
--* Foreign function [@text Sound_AudioInfo_format_set].
INLINE PROC Sound.AudioInfo.format.set (VAL Sound.AudioInfo self, VAL INT16 format)
  C.Sound.AudioInfo.format.set (self, format)
:
--}}}
--{{{  function Sound_AudioInfo_format_get
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.format.get (VAL Sound.AudioInfo self, RESULT INT16 return.value) = 0"
--* Foreign function [@text Sound_AudioInfo_format_get].
INLINE PROC Sound.AudioInfo.format.get (VAL Sound.AudioInfo self, RESULT INT16 return.value)
  C.Sound.AudioInfo.format.get (self, return.value)
:
--}}}
--{{{  function Sound_AudioInfo_channels_set
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.channels.set (VAL Sound.AudioInfo self, VAL BYTE channels) = 0"
--* Foreign function [@text Sound_AudioInfo_channels_set].
INLINE PROC Sound.AudioInfo.channels.set (VAL Sound.AudioInfo self, VAL BYTE channels)
  C.Sound.AudioInfo.channels.set (self, channels)
:
--}}}
--{{{  function Sound_AudioInfo_channels_get
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.channels.get (VAL Sound.AudioInfo self, RESULT BYTE return.value) = 0"
--* Foreign function [@text Sound_AudioInfo_channels_get].
INLINE PROC Sound.AudioInfo.channels.get (VAL Sound.AudioInfo self, RESULT BYTE return.value)
  C.Sound.AudioInfo.channels.get (self, return.value)
:
--}}}
--{{{  function Sound_AudioInfo_rate_set
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.rate.set (VAL Sound.AudioInfo self, VAL INT rate) = 0"
--* Foreign function [@text Sound_AudioInfo_rate_set].
INLINE PROC Sound.AudioInfo.rate.set (VAL Sound.AudioInfo self, VAL INT rate)
  C.Sound.AudioInfo.rate.set (self, rate)
:
--}}}
--{{{  function Sound_AudioInfo_rate_get
#PRAGMA EXTERNAL "PROC C.Sound.AudioInfo.rate.get (VAL Sound.AudioInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_AudioInfo_rate_get].
INLINE PROC Sound.AudioInfo.rate.get (VAL Sound.AudioInfo self, RESULT INT return.value)
  C.Sound.AudioInfo.rate.get (self, return.value)
:
--}}}
--{{{  function new_Sound_AudioInfo
#PRAGMA EXTERNAL "PROC C.new.Sound.AudioInfo (RESULT Sound.AudioInfo return.value) = 0"
--* Foreign function [@text new_Sound_AudioInfo].
INLINE PROC new.Sound.AudioInfo (RESULT Sound.AudioInfo return.value)
  C.new.Sound.AudioInfo (return.value)
:
--}}}
--{{{  function delete_Sound_AudioInfo
#PRAGMA EXTERNAL "PROC C.delete.Sound.AudioInfo (VAL Sound.AudioInfo self) = 0"
--* Foreign function [@text delete_Sound_AudioInfo].
INLINE PROC delete.Sound.AudioInfo (VAL Sound.AudioInfo self)
  C.delete.Sound.AudioInfo (self)
:
--}}}
--}}}
--{{{  struct Sound_DecoderInfo
--{{{  function Sound_DecoderInfo_extensions_set
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.extensions.set (VAL Sound.DecoderInfo self, VAL INT extensions) = 0"
--* Foreign function [@text Sound_DecoderInfo_extensions_set].
INLINE PROC Sound.DecoderInfo.extensions.set (VAL Sound.DecoderInfo self, VAL INT extensions)
  C.Sound.DecoderInfo.extensions.set (self, extensions)
:
--}}}
--{{{  function Sound_DecoderInfo_extensions_get
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.extensions.get (VAL Sound.DecoderInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_DecoderInfo_extensions_get].
INLINE PROC Sound.DecoderInfo.extensions.get (VAL Sound.DecoderInfo self, RESULT INT return.value)
  C.Sound.DecoderInfo.extensions.get (self, return.value)
:
--}}}
--{{{  function Sound_DecoderInfo_description_set
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.description.set (VAL Sound.DecoderInfo self, VAL []BYTE description) = 0"
--* Foreign function [@text Sound_DecoderInfo_description_set].
INLINE PROC Sound.DecoderInfo.description.set (VAL Sound.DecoderInfo self, VAL []BYTE description)
  C.Sound.DecoderInfo.description.set (self, description)
:
--}}}
--{{{  function Sound_DecoderInfo_description_get
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.description.get (VAL Sound.DecoderInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_DecoderInfo_description_get].
INLINE PROC Sound.DecoderInfo.description.get (VAL Sound.DecoderInfo self, RESULT INT return.value)
  C.Sound.DecoderInfo.description.get (self, return.value)
:
--}}}
--{{{  function Sound_DecoderInfo_author_set
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.author.set (VAL Sound.DecoderInfo self, VAL []BYTE author) = 0"
--* Foreign function [@text Sound_DecoderInfo_author_set].
INLINE PROC Sound.DecoderInfo.author.set (VAL Sound.DecoderInfo self, VAL []BYTE author)
  C.Sound.DecoderInfo.author.set (self, author)
:
--}}}
--{{{  function Sound_DecoderInfo_author_get
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.author.get (VAL Sound.DecoderInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_DecoderInfo_author_get].
INLINE PROC Sound.DecoderInfo.author.get (VAL Sound.DecoderInfo self, RESULT INT return.value)
  C.Sound.DecoderInfo.author.get (self, return.value)
:
--}}}
--{{{  function Sound_DecoderInfo_url_set
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.url.set (VAL Sound.DecoderInfo self, VAL []BYTE url) = 0"
--* Foreign function [@text Sound_DecoderInfo_url_set].
INLINE PROC Sound.DecoderInfo.url.set (VAL Sound.DecoderInfo self, VAL []BYTE url)
  C.Sound.DecoderInfo.url.set (self, url)
:
--}}}
--{{{  function Sound_DecoderInfo_url_get
#PRAGMA EXTERNAL "PROC C.Sound.DecoderInfo.url.get (VAL Sound.DecoderInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_DecoderInfo_url_get].
INLINE PROC Sound.DecoderInfo.url.get (VAL Sound.DecoderInfo self, RESULT INT return.value)
  C.Sound.DecoderInfo.url.get (self, return.value)
:
--}}}
--{{{  function new_Sound_DecoderInfo
#PRAGMA EXTERNAL "PROC C.new.Sound.DecoderInfo (RESULT Sound.DecoderInfo return.value) = 0"
--* Foreign function [@text new_Sound_DecoderInfo].
INLINE PROC new.Sound.DecoderInfo (RESULT Sound.DecoderInfo return.value)
  C.new.Sound.DecoderInfo (return.value)
:
--}}}
--{{{  function delete_Sound_DecoderInfo
#PRAGMA EXTERNAL "PROC C.delete.Sound.DecoderInfo (VAL Sound.DecoderInfo self) = 0"
--* Foreign function [@text delete_Sound_DecoderInfo].
INLINE PROC delete.Sound.DecoderInfo (VAL Sound.DecoderInfo self)
  C.delete.Sound.DecoderInfo (self)
:
--}}}
--}}}
--{{{  struct Sound_Sample
--{{{  function Sound_Sample_decoder_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.decoder.set (VAL Sound.Sample self, VAL Sound.DecoderInfo decoder) = 0"
--* Foreign function [@text Sound_Sample_decoder_set].
INLINE PROC Sound.Sample.decoder.set (VAL Sound.Sample self, VAL Sound.DecoderInfo decoder)
  C.Sound.Sample.decoder.set (self, decoder)
:
--}}}
--{{{  function Sound_Sample_decoder_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.decoder.get (VAL Sound.Sample self, RESULT Sound.DecoderInfo return.value) = 0"
--* Foreign function [@text Sound_Sample_decoder_get].
INLINE PROC Sound.Sample.decoder.get (VAL Sound.Sample self, RESULT Sound.DecoderInfo return.value)
  C.Sound.Sample.decoder.get (self, return.value)
:
--}}}
--{{{  function Sound_Sample_desired_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.desired.set (VAL Sound.Sample self, VAL Sound.AudioInfo desired) = 0"
--* Foreign function [@text Sound_Sample_desired_set].
INLINE PROC Sound.Sample.desired.set (VAL Sound.Sample self, VAL Sound.AudioInfo desired)
  C.Sound.Sample.desired.set (self, desired)
:
--}}}
--{{{  function Sound_Sample_desired_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.desired.get (VAL Sound.Sample self, RESULT Sound.AudioInfo return.value) = 0"
--* Foreign function [@text Sound_Sample_desired_get].
INLINE PROC Sound.Sample.desired.get (VAL Sound.Sample self, RESULT Sound.AudioInfo return.value)
  C.Sound.Sample.desired.get (self, return.value)
:
--}}}
--{{{  function Sound_Sample_actual_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.actual.set (VAL Sound.Sample self, VAL Sound.AudioInfo actual) = 0"
--* Foreign function [@text Sound_Sample_actual_set].
INLINE PROC Sound.Sample.actual.set (VAL Sound.Sample self, VAL Sound.AudioInfo actual)
  C.Sound.Sample.actual.set (self, actual)
:
--}}}
--{{{  function Sound_Sample_actual_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.actual.get (VAL Sound.Sample self, RESULT Sound.AudioInfo return.value) = 0"
--* Foreign function [@text Sound_Sample_actual_get].
INLINE PROC Sound.Sample.actual.get (VAL Sound.Sample self, RESULT Sound.AudioInfo return.value)
  C.Sound.Sample.actual.get (self, return.value)
:
--}}}
--{{{  function Sound_Sample_buffer_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.buffer.set (VAL Sound.Sample self, VAL INT buffer) = 0"
--* Foreign function [@text Sound_Sample_buffer_set].
INLINE PROC Sound.Sample.buffer.set (VAL Sound.Sample self, VAL INT buffer)
  C.Sound.Sample.buffer.set (self, buffer)
:
--}}}
--{{{  function Sound_Sample_buffer_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.buffer.get (VAL Sound.Sample self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Sample_buffer_get].
INLINE PROC Sound.Sample.buffer.get (VAL Sound.Sample self, RESULT INT return.value)
  C.Sound.Sample.buffer.get (self, return.value)
:
--}}}
--{{{  function Sound_Sample_buffer_size_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.buffer.size.set (VAL Sound.Sample self, VAL INT buffer.size) = 0"
--* Foreign function [@text Sound_Sample_buffer_size_set].
INLINE PROC Sound.Sample.buffer.size.set (VAL Sound.Sample self, VAL INT buffer.size)
  C.Sound.Sample.buffer.size.set (self, buffer.size)
:
--}}}
--{{{  function Sound_Sample_buffer_size_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.buffer.size.get (VAL Sound.Sample self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Sample_buffer_size_get].
INLINE PROC Sound.Sample.buffer.size.get (VAL Sound.Sample self, RESULT INT return.value)
  C.Sound.Sample.buffer.size.get (self, return.value)
:
--}}}
--{{{  function Sound_Sample_flags_set
#PRAGMA EXTERNAL "PROC C.Sound.Sample.flags.set (VAL Sound.Sample self, VAL Sound.SampleFlags flags) = 0"
--* Foreign function [@text Sound_Sample_flags_set].
INLINE PROC Sound.Sample.flags.set (VAL Sound.Sample self, VAL Sound.SampleFlags flags)
  C.Sound.Sample.flags.set (self, flags)
:
--}}}
--{{{  function Sound_Sample_flags_get
#PRAGMA EXTERNAL "PROC C.Sound.Sample.flags.get (VAL Sound.Sample self, RESULT Sound.SampleFlags return.value) = 0"
--* Foreign function [@text Sound_Sample_flags_get].
INLINE PROC Sound.Sample.flags.get (VAL Sound.Sample self, RESULT Sound.SampleFlags return.value)
  C.Sound.Sample.flags.get (self, return.value)
:
--}}}
--{{{  function new_Sound_Sample
#PRAGMA EXTERNAL "PROC C.new.Sound.Sample (RESULT Sound.Sample return.value) = 0"
--* Foreign function [@text new_Sound_Sample].
INLINE PROC new.Sound.Sample (RESULT Sound.Sample return.value)
  C.new.Sound.Sample (return.value)
:
--}}}
--{{{  function delete_Sound_Sample
#PRAGMA EXTERNAL "PROC C.delete.Sound.Sample (VAL Sound.Sample self) = 0"
--* Foreign function [@text delete_Sound_Sample].
INLINE PROC delete.Sound.Sample (VAL Sound.Sample self)
  C.delete.Sound.Sample (self)
:
--}}}
--}}}
--{{{  struct Sound_Version
--{{{  function Sound_Version_major_set
#PRAGMA EXTERNAL "PROC C.Sound.Version.major.set (VAL Sound.Version self, VAL INT major) = 0"
--* Foreign function [@text Sound_Version_major_set].
INLINE PROC Sound.Version.major.set (VAL Sound.Version self, VAL INT major)
  C.Sound.Version.major.set (self, major)
:
--}}}
--{{{  function Sound_Version_major_get
#PRAGMA EXTERNAL "PROC C.Sound.Version.major.get (VAL Sound.Version self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Version_major_get].
INLINE PROC Sound.Version.major.get (VAL Sound.Version self, RESULT INT return.value)
  C.Sound.Version.major.get (self, return.value)
:
--}}}
--{{{  function Sound_Version_minor_set
#PRAGMA EXTERNAL "PROC C.Sound.Version.minor.set (VAL Sound.Version self, VAL INT minor) = 0"
--* Foreign function [@text Sound_Version_minor_set].
INLINE PROC Sound.Version.minor.set (VAL Sound.Version self, VAL INT minor)
  C.Sound.Version.minor.set (self, minor)
:
--}}}
--{{{  function Sound_Version_minor_get
#PRAGMA EXTERNAL "PROC C.Sound.Version.minor.get (VAL Sound.Version self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Version_minor_get].
INLINE PROC Sound.Version.minor.get (VAL Sound.Version self, RESULT INT return.value)
  C.Sound.Version.minor.get (self, return.value)
:
--}}}
--{{{  function Sound_Version_patch_set
#PRAGMA EXTERNAL "PROC C.Sound.Version.patch.set (VAL Sound.Version self, VAL INT patch) = 0"
--* Foreign function [@text Sound_Version_patch_set].
INLINE PROC Sound.Version.patch.set (VAL Sound.Version self, VAL INT patch)
  C.Sound.Version.patch.set (self, patch)
:
--}}}
--{{{  function Sound_Version_patch_get
#PRAGMA EXTERNAL "PROC C.Sound.Version.patch.get (VAL Sound.Version self, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Version_patch_get].
INLINE PROC Sound.Version.patch.get (VAL Sound.Version self, RESULT INT return.value)
  C.Sound.Version.patch.get (self, return.value)
:
--}}}
--{{{  function new_Sound_Version
#PRAGMA EXTERNAL "PROC C.new.Sound.Version (RESULT Sound.Version return.value) = 0"
--* Foreign function [@text new_Sound_Version].
INLINE PROC new.Sound.Version (RESULT Sound.Version return.value)
  C.new.Sound.Version (return.value)
:
--}}}
--{{{  function delete_Sound_Version
#PRAGMA EXTERNAL "PROC C.delete.Sound.Version (VAL Sound.Version self) = 0"
--* Foreign function [@text delete_Sound_Version].
INLINE PROC delete.Sound.Version (VAL Sound.Version self)
  C.delete.Sound.Version (self)
:
--}}}
--}}}
--{{{  function Sound_GetLinkedVersion
#PRAGMA EXTERNAL "PROC C.Sound.GetLinkedVersion (VAL Sound.Version ver) = 0"
--* Foreign function [@text Sound_GetLinkedVersion].
INLINE PROC Sound.GetLinkedVersion (VAL Sound.Version ver)
  C.Sound.GetLinkedVersion (ver)
:
--}}}
--{{{  function Sound_Init
#PRAGMA EXTERNAL "PROC C.Sound.Init (RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Init].
INLINE PROC Sound.Init (RESULT INT return.value)
  C.Sound.Init (return.value)
:
--}}}
--{{{  function Sound_Quit
#PRAGMA EXTERNAL "PROC C.Sound.Quit (RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Quit].
INLINE PROC Sound.Quit (RESULT INT return.value)
  C.Sound.Quit (return.value)
:
--}}}
--{{{  function Sound_AvailableDecoders
#PRAGMA EXTERNAL "PROC C.Sound.AvailableDecoders (RESULT Sound.DecoderInfo return.value) = 0"
--* Foreign function [@text Sound_AvailableDecoders].
INLINE PROC Sound.AvailableDecoders (RESULT Sound.DecoderInfo return.value)
  C.Sound.AvailableDecoders (return.value)
:
--}}}
--{{{  function Sound_GetError
#PRAGMA EXTERNAL "PROC C.Sound.GetError (RESULT INT return.value) = 0"
--* Foreign function [@text Sound_GetError].
INLINE PROC Sound.GetError (RESULT INT return.value)
  C.Sound.GetError (return.value)
:
--}}}
--{{{  function occ_Sound_GetError
#PRAGMA EXTERNAL "PROC C.occ.Sound.GetError ([]BYTE err.str, VAL INT err.str.len, RESULT INT return.value) = 0"
--* Foreign function [@text occ_Sound_GetError].
INLINE PROC occ.Sound.GetError ([]BYTE err.str, VAL INT err.str.len, RESULT INT return.value)
  C.occ.Sound.GetError (err.str, err.str.len, return.value)
:
--}}}
--{{{  function Sound_ClearError
#PRAGMA EXTERNAL "PROC C.Sound.ClearError () = 0"
--* Foreign function [@text Sound_ClearError].
INLINE PROC Sound.ClearError ()
  C.Sound.ClearError ()
:
--}}}
--{{{  function Sound_NewSample
#PRAGMA EXTERNAL "PROC C.Sound.NewSample (VAL INT rw, VAL []BYTE ext, VAL Sound.AudioInfo desired, VAL INT bufferSize, RESULT Sound.Sample return.value) = 0"
--* Foreign function [@text Sound_NewSample].
INLINE PROC Sound.NewSample (VAL INT rw, VAL []BYTE ext, VAL Sound.AudioInfo desired, VAL INT bufferSize, RESULT Sound.Sample return.value)
  C.Sound.NewSample (rw, ext, desired, bufferSize, return.value)
:
--}}}
--{{{  function Sound_NewSampleFromFile
#PRAGMA EXTERNAL "PROC C.Sound.NewSampleFromFile (VAL []BYTE fname, VAL Sound.AudioInfo desired, VAL INT bufferSize, RESULT Sound.Sample return.value) = 0"
--* Foreign function [@text Sound_NewSampleFromFile].
INLINE PROC Sound.NewSampleFromFile (VAL []BYTE fname, VAL Sound.AudioInfo desired, VAL INT bufferSize, RESULT Sound.Sample return.value)
  C.Sound.NewSampleFromFile (fname, desired, bufferSize, return.value)
:
--}}}
--{{{  function Sound_FreeSample
#PRAGMA EXTERNAL "PROC C.Sound.FreeSample (VAL Sound.Sample sample) = 0"
--* Foreign function [@text Sound_FreeSample].
INLINE PROC Sound.FreeSample (VAL Sound.Sample sample)
  C.Sound.FreeSample (sample)
:
--}}}
--{{{  function Sound_SetBufferSize
#PRAGMA EXTERNAL "PROC C.Sound.SetBufferSize (VAL Sound.Sample sample, VAL INT new.size, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_SetBufferSize].
INLINE PROC Sound.SetBufferSize (VAL Sound.Sample sample, VAL INT new.size, RESULT INT return.value)
  C.Sound.SetBufferSize (sample, new.size, return.value)
:
--}}}
--{{{  function Sound_Decode
#PRAGMA EXTERNAL "PROC C.Sound.Decode (VAL Sound.Sample sample, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Decode].
INLINE PROC Sound.Decode (VAL Sound.Sample sample, RESULT INT return.value)
  C.Sound.Decode (sample, return.value)
:
--}}}
--{{{  function Sound_DecodeAll
#PRAGMA EXTERNAL "PROC C.Sound.DecodeAll (VAL Sound.Sample sample, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_DecodeAll].
INLINE PROC Sound.DecodeAll (VAL Sound.Sample sample, RESULT INT return.value)
  C.Sound.DecodeAll (sample, return.value)
:
--}}}
--{{{  function Sound_Rewind
#PRAGMA EXTERNAL "PROC C.Sound.Rewind (VAL Sound.Sample sample, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Rewind].
INLINE PROC Sound.Rewind (VAL Sound.Sample sample, RESULT INT return.value)
  C.Sound.Rewind (sample, return.value)
:
--}}}
--{{{  function Sound_Seek
#PRAGMA EXTERNAL "PROC C.Sound.Seek (VAL Sound.Sample sample, VAL INT ms, RESULT INT return.value) = 0"
--* Foreign function [@text Sound_Seek].
INLINE PROC Sound.Seek (VAL Sound.Sample sample, VAL INT ms, RESULT INT return.value)
  C.Sound.Seek (sample, ms, return.value)
:
--}}}
--{{{  function get_audio_callback_ptr
#PRAGMA EXTERNAL "PROC C.get.audio.callback.ptr (RESULT INT return.value) = 0"
--* Foreign function [@text get_audio_callback_ptr].
INLINE PROC get.audio.callback.ptr (RESULT INT return.value)
  C.get.audio.callback.ptr (return.value)
:
--}}}
--{{{  function check_if_done_playing
#PRAGMA EXTERNAL "PROC C.check.if.done.playing (RESULT INT return.value) = 0"
--* Foreign function [@text check_if_done_playing].
INLINE PROC check.if.done.playing (RESULT INT return.value)
  C.check.if.done.playing (return.value)
:
--}}}
#ENDIF
