X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-EsounD.git;a=blobdiff_plain;f=Bindings%2FEsounD.hsc;h=905702682729306c17eee7c9129579a42d79d15f;hp=dffe1933ce2de1c06a9481f29233603e648cc10a;hb=7b8a9d3d968cc40e37cdecc4f6e616e08ba6c2a7;hpb=16a27609de509d0d37b219bf29bdd290da54ad36 diff --git a/Bindings/EsounD.hsc b/Bindings/EsounD.hsc index dffe193..9057026 100644 --- a/Bindings/EsounD.hsc +++ b/Bindings/EsounD.hsc @@ -3,6 +3,7 @@ module Bindings.EsounD where #strict_import +import Bindings.AudioFile #globalarray ESD_UNIX_SOCKET_DIR , CChar #globalarray ESD_UNIX_SOCKET_NAME, CChar @@ -164,4 +165,23 @@ module Bindings.EsounD where #ccall esd_set_default_sample_pan, CInt -> CInt -> CInt -> CInt -> IO CInt #ccall esd_get_standby_mode , CInt -> IO -#ccall esd_send_file, CInt -> +#ccall esd_send_file , CInt -> -> CInt -> IO CInt +#ccall esd_play_file , Ptr CChar -> Ptr CChar -> CInt -> IO CInt +#ccall esd_file_cache, CInt -> Ptr CChar -> Ptr CChar -> IO CInt + +#globalvar esd_audio_format, +#globalvar esd_audio_rate , CInt +#globalvar esd_audio_device, Ptr CChar + +#ccall esd_audio_devices, IO (Ptr CChar) +#ccall esd_audio_open , IO CInt +#ccall esd_audio_close , IO () +#ccall esd_audio_pause , IO () +#ccall esd_audio_write , Ptr () -> CInt -> IO CInt +#ccall esd_audio_read , Ptr () -> CInt -> IO CInt +#ccall esd_audio_flush , IO () + +#ccall esd_get_socket_dirname, IO (Ptr CChar) +#ccall esd_get_socket_name , IO (Ptr CChar) + +#ccall have_ipv6, IO CInt