#include #include module Bindings.Sound.SC3 where #strict_import #opaque_t World #starttype struct WorldOptions #field mPassword , CString #field mNumBuffers , CUInt #field mMaxLogins , CUInt #field mMaxNodes , CUInt #field mMaxGraphDefs , CUInt #field mMaxWireBufs , CUInt #field mNumAudioBusChannels , CUInt #field mNumInputBusChannels , CUInt #field mNumOutputBusChannels , CUInt #field mNumControlBusChannels , CUInt #field mBufLength , CUInt #field mRealTimeMemorySize , CUInt #field mNumSharedControls , CInt #field mSharedControls , Ptr CFloat #field mRealTime , CInt #field mMemoryLocking , CInt #field mNonRealTimeCmdFilename , CString #field mNonRealTimeInputFilename , CString #field mNonRealTimeOutputFilename , CString #field mNonRealTimeOutputHeaderFormat , CString #field mNonRealTimeOutputSampleFormat , CString #field mPreferredSampleRate , CUInt #field mNumRGens , CUInt #field mPreferredHardwareBufferFrameSize , CUInt #field mLoadGraphDefs , CUInt #field mInputStreamsEnabled , CString #field mOutputStreamsEnabled , CString #field mInDeviceName , CString #field mVerbosity , CInt #field mRendezvous , CInt #field mUGensPluginPath , CString #field mOutDeviceName , CString #field mRestrictedPath , CString #stoptype #cinline kDefaultWorldOptions , IO (Ptr ) #opaque_t struct ReplyAddress #callback ReplyFunc , Ptr -> Ptr CChar -> CInt -> IO () -- | Access the data pointer in reply address. #ccall ReplyAddress_ReplyData , Ptr -> IO (Ptr ()) -- | Create a new world. #ccall World_New , Ptr -> IO (Ptr ) #ccall World_Cleanup , Ptr -> IO () #ccall World_NonRealTimeSynthesis , Ptr -> Ptr -> IO () #ccall World_OpenUDP , Ptr -> CInt -> IO CInt #ccall World_OpenTCP , Ptr -> CInt -> CInt -> CInt -> IO CInt #ccall World_WaitForQuit , Ptr -> IO () #ccall World_SendPacket , Ptr -> CInt -> Ptr CChar -> -> IO Bool #ccall World_SendPacketWithContext , Ptr -> CInt -> Ptr CChar -> -> Ptr () -> IO Bool -- | Haskell print function. #callback HaskellPrintFunc , Ptr CChar -> IO () -- | Set the global Haskell print function. #ccall SetHaskellPrintFunc , -> IO ()