]> gitweb @ CieloNegro.org - bindings-EsounD.git/blobdiff - Bindings/EsounD.hsc
esd.h
[bindings-EsounD.git] / Bindings / EsounD.hsc
index dffe1933ce2de1c06a9481f29233603e648cc10a..905702682729306c17eee7c9129579a42d79d15f 100644 (file)
@@ -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 <esd_standby_mode_t>
 
-#ccall esd_send_file, CInt -> 
+#ccall esd_send_file , CInt -> <AFfilehandle> -> 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, <esd_format_t>
+#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