module HGamer3D.Bindings.SFML.ClassSoundStream where
import Foreign
import Foreign.Ptr
import Foreign.C
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector
import HGamer3D.Data.Colour
import HGamer3D.Data.Angle
import HGamer3D.Bindings.SFML.Utils
import HGamer3D.Bindings.SFML.ClassPtr
import HGamer3D.Bindings.SFML.StructHG3DClass
delete :: HG3DClass -> IO ()
delete a1 =
withHG3DClass a1 $ \a1' ->
delete'_ a1' >>= \res ->
return ()
play :: HG3DClass -> IO ()
play a1 =
withHG3DClass a1 $ \a1' ->
play'_ a1' >>= \res ->
return ()
pause :: HG3DClass -> IO ()
pause a1 =
withHG3DClass a1 $ \a1' ->
pause'_ a1' >>= \res ->
return ()
stop :: HG3DClass -> IO ()
stop a1 =
withHG3DClass a1 $ \a1' ->
stop'_ a1' >>= \res ->
return ()
getChannelCount :: HG3DClass -> IO (Int)
getChannelCount a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getChannelCount'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
getSampleRate :: HG3DClass -> IO (Int)
getSampleRate a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getSampleRate'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
setLoop :: HG3DClass -> Bool -> IO ()
setLoop a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
setLoop'_ a1' a2' >>= \res ->
return ()
getLoop :: HG3DClass -> IO (Bool)
getLoop a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getLoop'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_destruct"
delete'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_play"
play'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_pause"
pause'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_stop"
stop'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_getChannelCount"
getChannelCount'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_getSampleRate"
getSampleRate'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_setLoop"
setLoop'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\SFML\\ClassSoundStream.chs.h sfml_snst_getLoop"
getLoop'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))