{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Audio.Safe (
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetNumAudioDrivers,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioDriver,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetCurrentAudioDriver,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioPlaybackDevices,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioRecordingDevices,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioDeviceName,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioDeviceFormat,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioDeviceChannelMap,
SDL3.Sys.Bindgen.Audio.Safe.sDL_OpenAudioDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_IsAudioDevicePhysical,
SDL3.Sys.Bindgen.Audio.Safe.sDL_IsAudioDevicePlayback,
SDL3.Sys.Bindgen.Audio.Safe.sDL_PauseAudioDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_ResumeAudioDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_AudioDevicePaused,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioDeviceGain,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioDeviceGain,
SDL3.Sys.Bindgen.Audio.Safe.sDL_CloseAudioDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_BindAudioStreams,
SDL3.Sys.Bindgen.Audio.Safe.sDL_BindAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_UnbindAudioStreams,
SDL3.Sys.Bindgen.Audio.Safe.sDL_UnbindAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_CreateAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamProperties,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamFormat,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamFormat,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamFrequencyRatio,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamFrequencyRatio,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamGain,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamGain,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamInputChannelMap,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamOutputChannelMap,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamInputChannelMap,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamOutputChannelMap,
SDL3.Sys.Bindgen.Audio.Safe.sDL_PutAudioStreamData,
SDL3.Sys.Bindgen.Audio.Safe.sDL_PutAudioStreamDataNoCopy,
SDL3.Sys.Bindgen.Audio.Safe.sDL_PutAudioStreamPlanarData,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamData,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamAvailable,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioStreamQueued,
SDL3.Sys.Bindgen.Audio.Safe.sDL_FlushAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_ClearAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_PauseAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_ResumeAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Safe.sDL_AudioStreamDevicePaused,
SDL3.Sys.Bindgen.Audio.Safe.sDL_LockAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_UnlockAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamGetCallback,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioStreamPutCallback,
SDL3.Sys.Bindgen.Audio.Safe.sDL_DestroyAudioStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_OpenAudioDeviceStream,
SDL3.Sys.Bindgen.Audio.Safe.sDL_SetAudioPostmixCallback,
SDL3.Sys.Bindgen.Audio.Safe.sDL_LoadWAV_IO,
SDL3.Sys.Bindgen.Audio.Safe.sDL_LoadWAV,
SDL3.Sys.Bindgen.Audio.Safe.sDL_MixAudio,
SDL3.Sys.Bindgen.Audio.Safe.sDL_ConvertAudioSamples,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetAudioFormatName,
SDL3.Sys.Bindgen.Audio.Safe.sDL_GetSilenceValueForFormat,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Audio
import SDL3.Sys.Bindgen.Iostream qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Stdinc qualified
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_audio.h>"
, "signed int hs_bindgen_aec6557cf376f51a (void)"
, "{"
, " return (SDL_GetNumAudioDrivers)();"
, "}"
, "char const *hs_bindgen_a7a9924f3ded1aac ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetAudioDriver)(arg1);"
, "}"
, "char const *hs_bindgen_eb8c87e3006e6e3e (void)"
, "{"
, " return (SDL_GetCurrentAudioDriver)();"
, "}"
, "SDL_AudioDeviceID *hs_bindgen_116eecdd1dba02ce ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetAudioPlaybackDevices)(arg1);"
, "}"
, "SDL_AudioDeviceID *hs_bindgen_f9bbcb7cbaba1df7 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetAudioRecordingDevices)(arg1);"
, "}"
, "char const *hs_bindgen_499713655ad12ded ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_GetAudioDeviceName)(arg1);"
, "}"
, "_Bool hs_bindgen_1607be856719fe9f ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec *arg2,"
, " signed int *arg3"
, ")"
, "{"
, " return (SDL_GetAudioDeviceFormat)(arg1, arg2, arg3);"
, "}"
, "signed int *hs_bindgen_87920ef47db02c9e ("
, " SDL_AudioDeviceID arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioDeviceChannelMap)(arg1, arg2);"
, "}"
, "SDL_AudioDeviceID hs_bindgen_7c422eec383d378d ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec const *arg2"
, ")"
, "{"
, " return (SDL_OpenAudioDevice)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9124a0c657594930 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_IsAudioDevicePhysical)(arg1);"
, "}"
, "_Bool hs_bindgen_e66327fd3002e936 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_IsAudioDevicePlayback)(arg1);"
, "}"
, "_Bool hs_bindgen_6dcc3c4ea1398f2b ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_PauseAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_4fce882c920cc91a ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_ResumeAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_8ece1cc27cedcd76 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_AudioDevicePaused)(arg1);"
, "}"
, "float hs_bindgen_49cef71585b71d2d ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_GetAudioDeviceGain)(arg1);"
, "}"
, "_Bool hs_bindgen_b40aa45597fa463a ("
, " SDL_AudioDeviceID arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioDeviceGain)(arg1, arg2);"
, "}"
, "void hs_bindgen_e8af3f72de564cf1 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " (SDL_CloseAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_0af2b20aae7d1772 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioStream *const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_BindAudioStreams)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_63b077caa3c6f246 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioStream *arg2"
, ")"
, "{"
, " return (SDL_BindAudioStream)(arg1, arg2);"
, "}"
, "void hs_bindgen_c2645d811582f0a9 ("
, " SDL_AudioStream *const *arg1,"
, " signed int arg2"
, ")"
, "{"
, " (SDL_UnbindAudioStreams)(arg1, arg2);"
, "}"
, "void hs_bindgen_d4d919dbf9ca4924 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " (SDL_UnbindAudioStream)(arg1);"
, "}"
, "SDL_AudioDeviceID hs_bindgen_8dd61683a1d75595 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamDevice)(arg1);"
, "}"
, "SDL_AudioStream *hs_bindgen_aca7047ab74c15f6 ("
, " SDL_AudioSpec const *arg1,"
, " SDL_AudioSpec const *arg2"
, ")"
, "{"
, " return (SDL_CreateAudioStream)(arg1, arg2);"
, "}"
, "SDL_PropertiesID hs_bindgen_cd9dda2135997250 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_5011d0cad394b582 ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioSpec *arg2,"
, " SDL_AudioSpec *arg3"
, ")"
, "{"
, " return (SDL_GetAudioStreamFormat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_b7e0d40673e5b425 ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioSpec const *arg2,"
, " SDL_AudioSpec const *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamFormat)(arg1, arg2, arg3);"
, "}"
, "float hs_bindgen_3c13c77fea7457b6 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamFrequencyRatio)(arg1);"
, "}"
, "_Bool hs_bindgen_7be7b2b980ff1f01 ("
, " SDL_AudioStream *arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioStreamFrequencyRatio)(arg1, arg2);"
, "}"
, "float hs_bindgen_125acd9c795cad57 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamGain)(arg1);"
, "}"
, "_Bool hs_bindgen_5684b3f0e33987ea ("
, " SDL_AudioStream *arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioStreamGain)(arg1, arg2);"
, "}"
, "signed int *hs_bindgen_92fa355f815c3314 ("
, " SDL_AudioStream *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioStreamInputChannelMap)(arg1, arg2);"
, "}"
, "signed int *hs_bindgen_9b5ffd54b64ea0ea ("
, " SDL_AudioStream *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioStreamOutputChannelMap)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d47a0e77e800172e ("
, " SDL_AudioStream *arg1,"
, " signed int const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamInputChannelMap)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_b53ca7ca85639b18 ("
, " SDL_AudioStream *arg1,"
, " signed int const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamOutputChannelMap)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_aaa4efec7abd5cd4 ("
, " SDL_AudioStream *arg1,"
, " void const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_PutAudioStreamData)(arg1, arg2, arg3);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef void *SDL_AudioStreamDataCompleteCallback;"
, "#endif"
, "_Bool hs_bindgen_619ed51504fee204 ("
, " SDL_AudioStream *arg1,"
, " void const *arg2,"
, " signed int arg3,"
, " SDL_AudioStreamDataCompleteCallback arg4,"
, " void *arg5"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_PutAudioStreamDataNoCopy)(arg1, arg2, arg3, arg4, arg5);"
, "#else"
, " (void)arg1; (void)arg2; (void)arg3; (void)arg4; (void)arg5; SDL_SetError(\"SDL_PutAudioStreamDataNoCopy requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "_Bool hs_bindgen_a35f9b9040c608a3 ("
, " SDL_AudioStream *arg1,"
, " void const *const *arg2,"
, " signed int arg3,"
, " signed int arg4"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_PutAudioStreamPlanarData)(arg1, arg2, arg3, arg4);"
, "#else"
, " (void)arg1; (void)arg2; (void)arg3; (void)arg4; SDL_SetError(\"SDL_PutAudioStreamPlanarData requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "signed int hs_bindgen_80c78d4a6767c5c1 ("
, " SDL_AudioStream *arg1,"
, " void *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_GetAudioStreamData)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_2ddc379eb0f7050b ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamAvailable)(arg1);"
, "}"
, "signed int hs_bindgen_3c01027250fa0224 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamQueued)(arg1);"
, "}"
, "_Bool hs_bindgen_a08de3ff3d4b6b48 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_FlushAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_495b0c63dde7c64f ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_ClearAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_b5ae37aa80b742a5 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_PauseAudioStreamDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_df0b3314efa54fdd ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_ResumeAudioStreamDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_1ff005643c24e6c0 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_AudioStreamDevicePaused)(arg1);"
, "}"
, "_Bool hs_bindgen_3d4874ba18717a32 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_LockAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_0175d2c579f38af7 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_UnlockAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_65648a5a73743f2d ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioStreamCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamGetCallback)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_61ea9930449caa3b ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioStreamCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamPutCallback)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_2f2920f372de3f91 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " (SDL_DestroyAudioStream)(arg1);"
, "}"
, "SDL_AudioStream *hs_bindgen_41a1f387b2d98901 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec const *arg2,"
, " SDL_AudioStreamCallback arg3,"
, " void *arg4"
, ")"
, "{"
, " return (SDL_OpenAudioDeviceStream)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_4e2802e9ed6e7f25 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioPostmixCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioPostmixCallback)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_a910288634dd93c9 ("
, " SDL_IOStream *arg1,"
, " _Bool arg2,"
, " SDL_AudioSpec *arg3,"
, " Uint8 **arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_LoadWAV_IO)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_9dc1494e309920f0 ("
, " char const *arg1,"
, " SDL_AudioSpec *arg2,"
, " Uint8 **arg3,"
, " Uint32 *arg4"
, ")"
, "{"
, " return (SDL_LoadWAV)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_f90c9509d9c249ee ("
, " Uint8 *arg1,"
, " Uint8 const *arg2,"
, " SDL_AudioFormat arg3,"
, " Uint32 arg4,"
, " float arg5"
, ")"
, "{"
, " return (SDL_MixAudio)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_ee64493d4496844f ("
, " SDL_AudioSpec const *arg1,"
, " Uint8 const *arg2,"
, " signed int arg3,"
, " SDL_AudioSpec const *arg4,"
, " Uint8 **arg5,"
, " signed int *arg6"
, ")"
, "{"
, " return (SDL_ConvertAudioSamples)(arg1, arg2, arg3, arg4, arg5, arg6);"
, "}"
, "char const *hs_bindgen_427a7131d02ce29b ("
, " SDL_AudioFormat arg1"
, ")"
, "{"
, " return (SDL_GetAudioFormatName)(arg1);"
, "}"
, "signed int hs_bindgen_a78d31ca2af16da3 ("
, " SDL_AudioFormat arg1"
, ")"
, "{"
, " return (SDL_GetSilenceValueForFormat)(arg1);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_aec6557cf376f51a"
hs_bindgen_aec6557cf376f51a_base
:: IO BG.CInt
hs_bindgen_aec6557cf376f51a :: IO BG.CInt
hs_bindgen_aec6557cf376f51a :: IO CInt
hs_bindgen_aec6557cf376f51a =
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CInt
hs_bindgen_aec6557cf376f51a_base
sDL_GetNumAudioDrivers :: IO BG.CInt
sDL_GetNumAudioDrivers :: IO CInt
sDL_GetNumAudioDrivers = IO CInt
hs_bindgen_aec6557cf376f51a
foreign import ccall safe "hs_bindgen_a7a9924f3ded1aac"
hs_bindgen_a7a9924f3ded1aac_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_a7a9924f3ded1aac
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_a7a9924f3ded1aac :: CInt -> IO (PtrConst CChar)
hs_bindgen_a7a9924f3ded1aac =
\CInt
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CInt -> IO (Ptr Void)
hs_bindgen_a7a9924f3ded1aac_base (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0))
sDL_GetAudioDriver
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetAudioDriver :: CInt -> IO (PtrConst CChar)
sDL_GetAudioDriver = CInt -> IO (PtrConst CChar)
hs_bindgen_a7a9924f3ded1aac
foreign import ccall safe "hs_bindgen_eb8c87e3006e6e3e"
hs_bindgen_eb8c87e3006e6e3e_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_eb8c87e3006e6e3e :: IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_eb8c87e3006e6e3e :: IO (PtrConst CChar)
hs_bindgen_eb8c87e3006e6e3e =
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (Ptr Void)
hs_bindgen_eb8c87e3006e6e3e_base
sDL_GetCurrentAudioDriver :: IO (PtrConst.PtrConst BG.CChar)
sDL_GetCurrentAudioDriver :: IO (PtrConst CChar)
sDL_GetCurrentAudioDriver =
IO (PtrConst CChar)
hs_bindgen_eb8c87e3006e6e3e
foreign import ccall safe "hs_bindgen_116eecdd1dba02ce"
hs_bindgen_116eecdd1dba02ce_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_116eecdd1dba02ce
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
hs_bindgen_116eecdd1dba02ce :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_116eecdd1dba02ce =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr SDL_AudioDeviceID)
-> IO (Ptr Void) -> IO (Ptr SDL_AudioDeviceID)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_AudioDeviceID
FFIType (Ptr SDL_AudioDeviceID) -> Ptr SDL_AudioDeviceID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_116eecdd1dba02ce_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetAudioPlaybackDevices
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
sDL_GetAudioPlaybackDevices :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
sDL_GetAudioPlaybackDevices =
Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_116eecdd1dba02ce
foreign import ccall safe "hs_bindgen_f9bbcb7cbaba1df7"
hs_bindgen_f9bbcb7cbaba1df7_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_f9bbcb7cbaba1df7
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
hs_bindgen_f9bbcb7cbaba1df7 :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_f9bbcb7cbaba1df7 =
\Ptr CInt
x0 ->
(Ptr Void -> Ptr SDL_AudioDeviceID)
-> IO (Ptr Void) -> IO (Ptr SDL_AudioDeviceID)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_AudioDeviceID
FFIType (Ptr SDL_AudioDeviceID) -> Ptr SDL_AudioDeviceID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_f9bbcb7cbaba1df7_base (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x0))
sDL_GetAudioRecordingDevices
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
sDL_GetAudioRecordingDevices :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
sDL_GetAudioRecordingDevices =
Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_f9bbcb7cbaba1df7
foreign import ccall safe "hs_bindgen_499713655ad12ded"
hs_bindgen_499713655ad12ded_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_499713655ad12ded
:: SDL_AudioDeviceID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_499713655ad12ded :: SDL_AudioDeviceID -> IO (PtrConst CChar)
hs_bindgen_499713655ad12ded =
\SDL_AudioDeviceID
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_499713655ad12ded_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_GetAudioDeviceName
:: SDL_AudioDeviceID
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetAudioDeviceName :: SDL_AudioDeviceID -> IO (PtrConst CChar)
sDL_GetAudioDeviceName = SDL_AudioDeviceID -> IO (PtrConst CChar)
hs_bindgen_499713655ad12ded
foreign import ccall safe "hs_bindgen_1607be856719fe9f"
hs_bindgen_1607be856719fe9f_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1607be856719fe9f
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_1607be856719fe9f :: SDL_AudioDeviceID -> Ptr SDL_AudioSpec -> Ptr CInt -> IO CBool
hs_bindgen_1607be856719fe9f =
\SDL_AudioDeviceID
x0 ->
\Ptr SDL_AudioSpec
x1 ->
\Ptr CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_1607be856719fe9f_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (Ptr SDL_AudioSpec -> FFIType (Ptr SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioSpec
x1) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x2))
sDL_GetAudioDeviceFormat
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr BG.CInt
-> IO BG.CBool
sDL_GetAudioDeviceFormat :: SDL_AudioDeviceID -> Ptr SDL_AudioSpec -> Ptr CInt -> IO CBool
sDL_GetAudioDeviceFormat =
SDL_AudioDeviceID -> Ptr SDL_AudioSpec -> Ptr CInt -> IO CBool
hs_bindgen_1607be856719fe9f
foreign import ccall safe "hs_bindgen_87920ef47db02c9e"
hs_bindgen_87920ef47db02c9e_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_87920ef47db02c9e
:: SDL_AudioDeviceID
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_87920ef47db02c9e :: SDL_AudioDeviceID -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_87920ef47db02c9e =
\SDL_AudioDeviceID
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr CInt) -> IO (Ptr Void) -> IO (Ptr CInt)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr CInt
FFIType (Ptr CInt) -> Ptr CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO (Ptr Void)
hs_bindgen_87920ef47db02c9e_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetAudioDeviceChannelMap
:: SDL_AudioDeviceID
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
sDL_GetAudioDeviceChannelMap :: SDL_AudioDeviceID -> Ptr CInt -> IO (Ptr CInt)
sDL_GetAudioDeviceChannelMap =
SDL_AudioDeviceID -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_87920ef47db02c9e
foreign import ccall safe "hs_bindgen_7c422eec383d378d"
hs_bindgen_7c422eec383d378d_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_7c422eec383d378d
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> IO SDL_AudioDeviceID
hs_bindgen_7c422eec383d378d :: SDL_AudioDeviceID -> PtrConst SDL_AudioSpec -> IO SDL_AudioDeviceID
hs_bindgen_7c422eec383d378d =
\SDL_AudioDeviceID
x0 ->
\PtrConst SDL_AudioSpec
x1 ->
(Word32 -> SDL_AudioDeviceID) -> IO Word32 -> IO SDL_AudioDeviceID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_AudioDeviceID
FFIType SDL_AudioDeviceID -> SDL_AudioDeviceID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO Word32
hs_bindgen_7c422eec383d378d_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x1))
sDL_OpenAudioDevice
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> IO SDL_AudioDeviceID
sDL_OpenAudioDevice :: SDL_AudioDeviceID -> PtrConst SDL_AudioSpec -> IO SDL_AudioDeviceID
sDL_OpenAudioDevice = SDL_AudioDeviceID -> PtrConst SDL_AudioSpec -> IO SDL_AudioDeviceID
hs_bindgen_7c422eec383d378d
foreign import ccall safe "hs_bindgen_9124a0c657594930"
hs_bindgen_9124a0c657594930_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_9124a0c657594930
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_9124a0c657594930 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_9124a0c657594930 =
\SDL_AudioDeviceID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_9124a0c657594930_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_IsAudioDevicePhysical
:: SDL_AudioDeviceID
-> IO BG.CBool
sDL_IsAudioDevicePhysical :: SDL_AudioDeviceID -> IO CBool
sDL_IsAudioDevicePhysical =
SDL_AudioDeviceID -> IO CBool
hs_bindgen_9124a0c657594930
foreign import ccall safe "hs_bindgen_e66327fd3002e936"
hs_bindgen_e66327fd3002e936_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_e66327fd3002e936
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_e66327fd3002e936 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_e66327fd3002e936 =
\SDL_AudioDeviceID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_e66327fd3002e936_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_IsAudioDevicePlayback
:: SDL_AudioDeviceID
-> IO BG.CBool
sDL_IsAudioDevicePlayback :: SDL_AudioDeviceID -> IO CBool
sDL_IsAudioDevicePlayback =
SDL_AudioDeviceID -> IO CBool
hs_bindgen_e66327fd3002e936
foreign import ccall safe "hs_bindgen_6dcc3c4ea1398f2b"
hs_bindgen_6dcc3c4ea1398f2b_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_6dcc3c4ea1398f2b
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_6dcc3c4ea1398f2b :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_6dcc3c4ea1398f2b =
\SDL_AudioDeviceID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_6dcc3c4ea1398f2b_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_PauseAudioDevice
:: SDL_AudioDeviceID
-> IO BG.CBool
sDL_PauseAudioDevice :: SDL_AudioDeviceID -> IO CBool
sDL_PauseAudioDevice = SDL_AudioDeviceID -> IO CBool
hs_bindgen_6dcc3c4ea1398f2b
foreign import ccall safe "hs_bindgen_4fce882c920cc91a"
hs_bindgen_4fce882c920cc91a_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_4fce882c920cc91a
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_4fce882c920cc91a :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_4fce882c920cc91a =
\SDL_AudioDeviceID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_4fce882c920cc91a_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_ResumeAudioDevice
:: SDL_AudioDeviceID
-> IO BG.CBool
sDL_ResumeAudioDevice :: SDL_AudioDeviceID -> IO CBool
sDL_ResumeAudioDevice = SDL_AudioDeviceID -> IO CBool
hs_bindgen_4fce882c920cc91a
foreign import ccall safe "hs_bindgen_8ece1cc27cedcd76"
hs_bindgen_8ece1cc27cedcd76_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_8ece1cc27cedcd76
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_8ece1cc27cedcd76 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_8ece1cc27cedcd76 =
\SDL_AudioDeviceID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_8ece1cc27cedcd76_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_AudioDevicePaused
:: SDL_AudioDeviceID
-> IO BG.CBool
sDL_AudioDevicePaused :: SDL_AudioDeviceID -> IO CBool
sDL_AudioDevicePaused = SDL_AudioDeviceID -> IO CBool
hs_bindgen_8ece1cc27cedcd76
foreign import ccall safe "hs_bindgen_49cef71585b71d2d"
hs_bindgen_49cef71585b71d2d_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CFloat
hs_bindgen_49cef71585b71d2d
:: SDL_AudioDeviceID
-> IO BG.CFloat
hs_bindgen_49cef71585b71d2d :: SDL_AudioDeviceID -> IO CFloat
hs_bindgen_49cef71585b71d2d =
\SDL_AudioDeviceID
x0 ->
(CFloat -> CFloat) -> IO CFloat -> IO CFloat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CFloat -> CFloat
FFIType CFloat -> CFloat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CFloat
hs_bindgen_49cef71585b71d2d_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0))
sDL_GetAudioDeviceGain
:: SDL_AudioDeviceID
-> IO BG.CFloat
sDL_GetAudioDeviceGain :: SDL_AudioDeviceID -> IO CFloat
sDL_GetAudioDeviceGain = SDL_AudioDeviceID -> IO CFloat
hs_bindgen_49cef71585b71d2d
foreign import ccall safe "hs_bindgen_b40aa45597fa463a"
hs_bindgen_b40aa45597fa463a_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_b40aa45597fa463a
:: SDL_AudioDeviceID
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_b40aa45597fa463a :: SDL_AudioDeviceID -> CFloat -> IO CBool
hs_bindgen_b40aa45597fa463a =
\SDL_AudioDeviceID
x0 ->
\CFloat
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> CFloat -> IO CBool
hs_bindgen_b40aa45597fa463a_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1))
sDL_SetAudioDeviceGain
:: SDL_AudioDeviceID
-> BG.CFloat
-> IO BG.CBool
sDL_SetAudioDeviceGain :: SDL_AudioDeviceID -> CFloat -> IO CBool
sDL_SetAudioDeviceGain = SDL_AudioDeviceID -> CFloat -> IO CBool
hs_bindgen_b40aa45597fa463a
foreign import ccall safe "hs_bindgen_e8af3f72de564cf1"
hs_bindgen_e8af3f72de564cf1_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_e8af3f72de564cf1
:: SDL_AudioDeviceID
-> IO ()
hs_bindgen_e8af3f72de564cf1 :: SDL_AudioDeviceID -> IO ()
hs_bindgen_e8af3f72de564cf1 =
\SDL_AudioDeviceID
x0 ->
Word32 -> IO ()
hs_bindgen_e8af3f72de564cf1_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0)
sDL_CloseAudioDevice
:: SDL_AudioDeviceID
-> IO ()
sDL_CloseAudioDevice :: SDL_AudioDeviceID -> IO ()
sDL_CloseAudioDevice = SDL_AudioDeviceID -> IO ()
hs_bindgen_e8af3f72de564cf1
foreign import ccall safe "hs_bindgen_0af2b20aae7d1772"
hs_bindgen_0af2b20aae7d1772_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_0af2b20aae7d1772
:: SDL_AudioDeviceID
-> PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO BG.CBool
hs_bindgen_0af2b20aae7d1772 :: SDL_AudioDeviceID
-> PtrConst (Ptr SDL_AudioStream) -> CInt -> IO CBool
hs_bindgen_0af2b20aae7d1772 =
\SDL_AudioDeviceID
x0 ->
\PtrConst (Ptr SDL_AudioStream)
x1 ->
\CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> CInt -> IO CBool
hs_bindgen_0af2b20aae7d1772_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (PtrConst (Ptr SDL_AudioStream)
-> FFIType (PtrConst (Ptr SDL_AudioStream))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_AudioStream)
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_BindAudioStreams
:: SDL_AudioDeviceID
-> PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO BG.CBool
sDL_BindAudioStreams :: SDL_AudioDeviceID
-> PtrConst (Ptr SDL_AudioStream) -> CInt -> IO CBool
sDL_BindAudioStreams = SDL_AudioDeviceID
-> PtrConst (Ptr SDL_AudioStream) -> CInt -> IO CBool
hs_bindgen_0af2b20aae7d1772
foreign import ccall safe "hs_bindgen_63b077caa3c6f246"
hs_bindgen_63b077caa3c6f246_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_63b077caa3c6f246
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_63b077caa3c6f246 :: SDL_AudioDeviceID -> Ptr SDL_AudioStream -> IO CBool
hs_bindgen_63b077caa3c6f246 =
\SDL_AudioDeviceID
x0 ->
\Ptr SDL_AudioStream
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CBool
hs_bindgen_63b077caa3c6f246_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x1))
sDL_BindAudioStream
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_BindAudioStream :: SDL_AudioDeviceID -> Ptr SDL_AudioStream -> IO CBool
sDL_BindAudioStream = SDL_AudioDeviceID -> Ptr SDL_AudioStream -> IO CBool
hs_bindgen_63b077caa3c6f246
foreign import ccall safe "hs_bindgen_c2645d811582f0a9"
hs_bindgen_c2645d811582f0a9_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO ()
hs_bindgen_c2645d811582f0a9
:: PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO ()
hs_bindgen_c2645d811582f0a9 :: PtrConst (Ptr SDL_AudioStream) -> CInt -> IO ()
hs_bindgen_c2645d811582f0a9 =
\PtrConst (Ptr SDL_AudioStream)
x0 ->
\CInt
x1 ->
Ptr Void -> CInt -> IO ()
hs_bindgen_c2645d811582f0a9_base (PtrConst (Ptr SDL_AudioStream)
-> FFIType (PtrConst (Ptr SDL_AudioStream))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_AudioStream)
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
sDL_UnbindAudioStreams
:: PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO ()
sDL_UnbindAudioStreams :: PtrConst (Ptr SDL_AudioStream) -> CInt -> IO ()
sDL_UnbindAudioStreams = PtrConst (Ptr SDL_AudioStream) -> CInt -> IO ()
hs_bindgen_c2645d811582f0a9
foreign import ccall safe "hs_bindgen_d4d919dbf9ca4924"
hs_bindgen_d4d919dbf9ca4924_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_d4d919dbf9ca4924
:: BG.Ptr SDL_AudioStream
-> IO ()
hs_bindgen_d4d919dbf9ca4924 :: Ptr SDL_AudioStream -> IO ()
hs_bindgen_d4d919dbf9ca4924 =
\Ptr SDL_AudioStream
x0 ->
Ptr Void -> IO ()
hs_bindgen_d4d919dbf9ca4924_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0)
sDL_UnbindAudioStream
:: BG.Ptr SDL_AudioStream
-> IO ()
sDL_UnbindAudioStream :: Ptr SDL_AudioStream -> IO ()
sDL_UnbindAudioStream = Ptr SDL_AudioStream -> IO ()
hs_bindgen_d4d919dbf9ca4924
foreign import ccall safe "hs_bindgen_8dd61683a1d75595"
hs_bindgen_8dd61683a1d75595_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_8dd61683a1d75595
:: BG.Ptr SDL_AudioStream
-> IO SDL_AudioDeviceID
hs_bindgen_8dd61683a1d75595 :: Ptr SDL_AudioStream -> IO SDL_AudioDeviceID
hs_bindgen_8dd61683a1d75595 =
\Ptr SDL_AudioStream
x0 ->
(Word32 -> SDL_AudioDeviceID) -> IO Word32 -> IO SDL_AudioDeviceID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_AudioDeviceID
FFIType SDL_AudioDeviceID -> SDL_AudioDeviceID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_8dd61683a1d75595_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamDevice
:: BG.Ptr SDL_AudioStream
-> IO SDL_AudioDeviceID
sDL_GetAudioStreamDevice :: Ptr SDL_AudioStream -> IO SDL_AudioDeviceID
sDL_GetAudioStreamDevice =
Ptr SDL_AudioStream -> IO SDL_AudioDeviceID
hs_bindgen_8dd61683a1d75595
foreign import ccall safe "hs_bindgen_aca7047ab74c15f6"
hs_bindgen_aca7047ab74c15f6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_aca7047ab74c15f6
:: PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO (BG.Ptr SDL_AudioStream)
hs_bindgen_aca7047ab74c15f6 :: PtrConst SDL_AudioSpec
-> PtrConst SDL_AudioSpec -> IO (Ptr SDL_AudioStream)
hs_bindgen_aca7047ab74c15f6 =
\PtrConst SDL_AudioSpec
x0 ->
\PtrConst SDL_AudioSpec
x1 ->
(Ptr Void -> Ptr SDL_AudioStream)
-> IO (Ptr Void) -> IO (Ptr SDL_AudioStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_AudioStream
FFIType (Ptr SDL_AudioStream) -> Ptr SDL_AudioStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_aca7047ab74c15f6_base (PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x0) (PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x1))
sDL_CreateAudioStream
:: PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO (BG.Ptr SDL_AudioStream)
sDL_CreateAudioStream :: PtrConst SDL_AudioSpec
-> PtrConst SDL_AudioSpec -> IO (Ptr SDL_AudioStream)
sDL_CreateAudioStream = PtrConst SDL_AudioSpec
-> PtrConst SDL_AudioSpec -> IO (Ptr SDL_AudioStream)
hs_bindgen_aca7047ab74c15f6
foreign import ccall safe "hs_bindgen_cd9dda2135997250"
hs_bindgen_cd9dda2135997250_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_cd9dda2135997250
:: BG.Ptr SDL_AudioStream
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_cd9dda2135997250 :: Ptr SDL_AudioStream -> IO SDL_PropertiesID
hs_bindgen_cd9dda2135997250 =
\Ptr SDL_AudioStream
x0 ->
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_cd9dda2135997250_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamProperties
:: BG.Ptr SDL_AudioStream
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetAudioStreamProperties :: Ptr SDL_AudioStream -> IO SDL_PropertiesID
sDL_GetAudioStreamProperties =
Ptr SDL_AudioStream -> IO SDL_PropertiesID
hs_bindgen_cd9dda2135997250
foreign import ccall safe "hs_bindgen_5011d0cad394b582"
hs_bindgen_5011d0cad394b582_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5011d0cad394b582
:: BG.Ptr SDL_AudioStream
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr SDL_AudioSpec
-> IO BG.CBool
hs_bindgen_5011d0cad394b582 :: Ptr SDL_AudioStream
-> Ptr SDL_AudioSpec -> Ptr SDL_AudioSpec -> IO CBool
hs_bindgen_5011d0cad394b582 =
\Ptr SDL_AudioStream
x0 ->
\Ptr SDL_AudioSpec
x1 ->
\Ptr SDL_AudioSpec
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_5011d0cad394b582_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (Ptr SDL_AudioSpec -> FFIType (Ptr SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioSpec
x1) (Ptr SDL_AudioSpec -> FFIType (Ptr SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioSpec
x2))
sDL_GetAudioStreamFormat
:: BG.Ptr SDL_AudioStream
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr SDL_AudioSpec
-> IO BG.CBool
sDL_GetAudioStreamFormat :: Ptr SDL_AudioStream
-> Ptr SDL_AudioSpec -> Ptr SDL_AudioSpec -> IO CBool
sDL_GetAudioStreamFormat =
Ptr SDL_AudioStream
-> Ptr SDL_AudioSpec -> Ptr SDL_AudioSpec -> IO CBool
hs_bindgen_5011d0cad394b582
foreign import ccall safe "hs_bindgen_b7e0d40673e5b425"
hs_bindgen_b7e0d40673e5b425_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b7e0d40673e5b425
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO BG.CBool
hs_bindgen_b7e0d40673e5b425 :: Ptr SDL_AudioStream
-> PtrConst SDL_AudioSpec -> PtrConst SDL_AudioSpec -> IO CBool
hs_bindgen_b7e0d40673e5b425 =
\Ptr SDL_AudioStream
x0 ->
\PtrConst SDL_AudioSpec
x1 ->
\PtrConst SDL_AudioSpec
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b7e0d40673e5b425_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x1) (PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x2))
sDL_SetAudioStreamFormat
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO BG.CBool
sDL_SetAudioStreamFormat :: Ptr SDL_AudioStream
-> PtrConst SDL_AudioSpec -> PtrConst SDL_AudioSpec -> IO CBool
sDL_SetAudioStreamFormat =
Ptr SDL_AudioStream
-> PtrConst SDL_AudioSpec -> PtrConst SDL_AudioSpec -> IO CBool
hs_bindgen_b7e0d40673e5b425
foreign import ccall safe "hs_bindgen_3c13c77fea7457b6"
hs_bindgen_3c13c77fea7457b6_base
:: BG.Ptr BG.Void
-> IO BG.CFloat
hs_bindgen_3c13c77fea7457b6
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
hs_bindgen_3c13c77fea7457b6 :: Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_3c13c77fea7457b6 =
\Ptr SDL_AudioStream
x0 ->
(CFloat -> CFloat) -> IO CFloat -> IO CFloat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CFloat -> CFloat
FFIType CFloat -> CFloat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CFloat
hs_bindgen_3c13c77fea7457b6_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamFrequencyRatio
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
sDL_GetAudioStreamFrequencyRatio :: Ptr SDL_AudioStream -> IO CFloat
sDL_GetAudioStreamFrequencyRatio =
Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_3c13c77fea7457b6
foreign import ccall safe "hs_bindgen_7be7b2b980ff1f01"
hs_bindgen_7be7b2b980ff1f01_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_7be7b2b980ff1f01
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_7be7b2b980ff1f01 :: Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_7be7b2b980ff1f01 =
\Ptr SDL_AudioStream
x0 ->
\CFloat
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CFloat -> IO CBool
hs_bindgen_7be7b2b980ff1f01_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1))
sDL_SetAudioStreamFrequencyRatio
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
sDL_SetAudioStreamFrequencyRatio :: Ptr SDL_AudioStream -> CFloat -> IO CBool
sDL_SetAudioStreamFrequencyRatio =
Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_7be7b2b980ff1f01
foreign import ccall safe "hs_bindgen_125acd9c795cad57"
hs_bindgen_125acd9c795cad57_base
:: BG.Ptr BG.Void
-> IO BG.CFloat
hs_bindgen_125acd9c795cad57
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
hs_bindgen_125acd9c795cad57 :: Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_125acd9c795cad57 =
\Ptr SDL_AudioStream
x0 ->
(CFloat -> CFloat) -> IO CFloat -> IO CFloat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CFloat -> CFloat
FFIType CFloat -> CFloat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CFloat
hs_bindgen_125acd9c795cad57_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamGain
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
sDL_GetAudioStreamGain :: Ptr SDL_AudioStream -> IO CFloat
sDL_GetAudioStreamGain = Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_125acd9c795cad57
foreign import ccall safe "hs_bindgen_5684b3f0e33987ea"
hs_bindgen_5684b3f0e33987ea_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_5684b3f0e33987ea
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_5684b3f0e33987ea :: Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_5684b3f0e33987ea =
\Ptr SDL_AudioStream
x0 ->
\CFloat
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CFloat -> IO CBool
hs_bindgen_5684b3f0e33987ea_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1))
sDL_SetAudioStreamGain
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
sDL_SetAudioStreamGain :: Ptr SDL_AudioStream -> CFloat -> IO CBool
sDL_SetAudioStreamGain = Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_5684b3f0e33987ea
foreign import ccall safe "hs_bindgen_92fa355f815c3314"
hs_bindgen_92fa355f815c3314_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_92fa355f815c3314
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_92fa355f815c3314 :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_92fa355f815c3314 =
\Ptr SDL_AudioStream
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr CInt) -> IO (Ptr Void) -> IO (Ptr CInt)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr CInt
FFIType (Ptr CInt) -> Ptr CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_92fa355f815c3314_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetAudioStreamInputChannelMap
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
sDL_GetAudioStreamInputChannelMap :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
sDL_GetAudioStreamInputChannelMap =
Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_92fa355f815c3314
foreign import ccall safe "hs_bindgen_9b5ffd54b64ea0ea"
hs_bindgen_9b5ffd54b64ea0ea_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9b5ffd54b64ea0ea
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_9b5ffd54b64ea0ea :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_9b5ffd54b64ea0ea =
\Ptr SDL_AudioStream
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr CInt) -> IO (Ptr Void) -> IO (Ptr CInt)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr CInt
FFIType (Ptr CInt) -> Ptr CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_9b5ffd54b64ea0ea_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetAudioStreamOutputChannelMap
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
sDL_GetAudioStreamOutputChannelMap :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
sDL_GetAudioStreamOutputChannelMap =
Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_9b5ffd54b64ea0ea
foreign import ccall safe "hs_bindgen_d47a0e77e800172e"
hs_bindgen_d47a0e77e800172e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_d47a0e77e800172e
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_d47a0e77e800172e :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_d47a0e77e800172e =
\Ptr SDL_AudioStream
x0 ->
\PtrConst CInt
x1 ->
\CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_d47a0e77e800172e_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (PtrConst CInt -> FFIType (PtrConst CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CInt
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_SetAudioStreamInputChannelMap
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
sDL_SetAudioStreamInputChannelMap :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
sDL_SetAudioStreamInputChannelMap =
Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_d47a0e77e800172e
foreign import ccall safe "hs_bindgen_b53ca7ca85639b18"
hs_bindgen_b53ca7ca85639b18_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_b53ca7ca85639b18
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_b53ca7ca85639b18 :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_b53ca7ca85639b18 =
\Ptr SDL_AudioStream
x0 ->
\PtrConst CInt
x1 ->
\CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_b53ca7ca85639b18_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (PtrConst CInt -> FFIType (PtrConst CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CInt
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_SetAudioStreamOutputChannelMap
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
sDL_SetAudioStreamOutputChannelMap :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
sDL_SetAudioStreamOutputChannelMap =
Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_b53ca7ca85639b18
foreign import ccall safe "hs_bindgen_aaa4efec7abd5cd4"
hs_bindgen_aaa4efec7abd5cd4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_aaa4efec7abd5cd4
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_aaa4efec7abd5cd4 :: Ptr SDL_AudioStream -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_aaa4efec7abd5cd4 =
\Ptr SDL_AudioStream
x0 ->
\PtrConst Void
x1 ->
\CInt
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_aaa4efec7abd5cd4_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_PutAudioStreamData
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
sDL_PutAudioStreamData :: Ptr SDL_AudioStream -> PtrConst Void -> CInt -> IO CBool
sDL_PutAudioStreamData = Ptr SDL_AudioStream -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_aaa4efec7abd5cd4
foreign import ccall safe "hs_bindgen_619ed51504fee204"
hs_bindgen_619ed51504fee204_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_619ed51504fee204
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL_AudioStreamDataCompleteCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_619ed51504fee204 :: Ptr SDL_AudioStream
-> PtrConst Void
-> CInt
-> SDL_AudioStreamDataCompleteCallback
-> Ptr Void
-> IO CBool
hs_bindgen_619ed51504fee204 =
\Ptr SDL_AudioStream
x0 ->
\PtrConst Void
x1 ->
\CInt
x2 ->
\SDL_AudioStreamDataCompleteCallback
x3 ->
\Ptr Void
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> CInt -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_619ed51504fee204_base
(Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(SDL_AudioStreamDataCompleteCallback
-> FFIType SDL_AudioStreamDataCompleteCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioStreamDataCompleteCallback
x3)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x4)
)
sDL_PutAudioStreamDataNoCopy
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL_AudioStreamDataCompleteCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_PutAudioStreamDataNoCopy :: Ptr SDL_AudioStream
-> PtrConst Void
-> CInt
-> SDL_AudioStreamDataCompleteCallback
-> Ptr Void
-> IO CBool
sDL_PutAudioStreamDataNoCopy =
Ptr SDL_AudioStream
-> PtrConst Void
-> CInt
-> SDL_AudioStreamDataCompleteCallback
-> Ptr Void
-> IO CBool
hs_bindgen_619ed51504fee204
foreign import ccall safe "hs_bindgen_a35f9b9040c608a3"
hs_bindgen_a35f9b9040c608a3_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_a35f9b9040c608a3
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst (PtrConst.PtrConst BG.Void)
-> BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_a35f9b9040c608a3 :: Ptr SDL_AudioStream
-> PtrConst (PtrConst Void) -> CInt -> CInt -> IO CBool
hs_bindgen_a35f9b9040c608a3 =
\Ptr SDL_AudioStream
x0 ->
\PtrConst (PtrConst Void)
x1 ->
\CInt
x2 ->
\CInt
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> CInt -> CInt -> IO CBool
hs_bindgen_a35f9b9040c608a3_base
(Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0)
(PtrConst (PtrConst Void) -> FFIType (PtrConst (PtrConst Void))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (PtrConst Void)
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x3)
)
sDL_PutAudioStreamPlanarData
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst (PtrConst.PtrConst BG.Void)
-> BG.CInt
-> BG.CInt
-> IO BG.CBool
sDL_PutAudioStreamPlanarData :: Ptr SDL_AudioStream
-> PtrConst (PtrConst Void) -> CInt -> CInt -> IO CBool
sDL_PutAudioStreamPlanarData =
Ptr SDL_AudioStream
-> PtrConst (PtrConst Void) -> CInt -> CInt -> IO CBool
hs_bindgen_a35f9b9040c608a3
foreign import ccall safe "hs_bindgen_80c78d4a6767c5c1"
hs_bindgen_80c78d4a6767c5c1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_80c78d4a6767c5c1
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_80c78d4a6767c5c1 :: Ptr SDL_AudioStream -> Ptr Void -> CInt -> IO CInt
hs_bindgen_80c78d4a6767c5c1 =
\Ptr SDL_AudioStream
x0 ->
\Ptr Void
x1 ->
\CInt
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CInt -> IO CInt
hs_bindgen_80c78d4a6767c5c1_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x1) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2))
sDL_GetAudioStreamData
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
sDL_GetAudioStreamData :: Ptr SDL_AudioStream -> Ptr Void -> CInt -> IO CInt
sDL_GetAudioStreamData = Ptr SDL_AudioStream -> Ptr Void -> CInt -> IO CInt
hs_bindgen_80c78d4a6767c5c1
foreign import ccall safe "hs_bindgen_2ddc379eb0f7050b"
hs_bindgen_2ddc379eb0f7050b_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_2ddc379eb0f7050b
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
hs_bindgen_2ddc379eb0f7050b :: Ptr SDL_AudioStream -> IO CInt
hs_bindgen_2ddc379eb0f7050b =
\Ptr SDL_AudioStream
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_2ddc379eb0f7050b_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamAvailable
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
sDL_GetAudioStreamAvailable :: Ptr SDL_AudioStream -> IO CInt
sDL_GetAudioStreamAvailable =
Ptr SDL_AudioStream -> IO CInt
hs_bindgen_2ddc379eb0f7050b
foreign import ccall safe "hs_bindgen_3c01027250fa0224"
hs_bindgen_3c01027250fa0224_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_3c01027250fa0224
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
hs_bindgen_3c01027250fa0224 :: Ptr SDL_AudioStream -> IO CInt
hs_bindgen_3c01027250fa0224 =
\Ptr SDL_AudioStream
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_3c01027250fa0224_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_GetAudioStreamQueued
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
sDL_GetAudioStreamQueued :: Ptr SDL_AudioStream -> IO CInt
sDL_GetAudioStreamQueued =
Ptr SDL_AudioStream -> IO CInt
hs_bindgen_3c01027250fa0224
foreign import ccall safe "hs_bindgen_a08de3ff3d4b6b48"
hs_bindgen_a08de3ff3d4b6b48_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a08de3ff3d4b6b48
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_a08de3ff3d4b6b48 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_a08de3ff3d4b6b48 =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_a08de3ff3d4b6b48_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_FlushAudioStream
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_FlushAudioStream :: Ptr SDL_AudioStream -> IO CBool
sDL_FlushAudioStream = Ptr SDL_AudioStream -> IO CBool
hs_bindgen_a08de3ff3d4b6b48
foreign import ccall safe "hs_bindgen_495b0c63dde7c64f"
hs_bindgen_495b0c63dde7c64f_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_495b0c63dde7c64f
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_495b0c63dde7c64f :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_495b0c63dde7c64f =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_495b0c63dde7c64f_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_ClearAudioStream
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_ClearAudioStream :: Ptr SDL_AudioStream -> IO CBool
sDL_ClearAudioStream = Ptr SDL_AudioStream -> IO CBool
hs_bindgen_495b0c63dde7c64f
foreign import ccall safe "hs_bindgen_b5ae37aa80b742a5"
hs_bindgen_b5ae37aa80b742a5_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b5ae37aa80b742a5
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_b5ae37aa80b742a5 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_b5ae37aa80b742a5 =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_b5ae37aa80b742a5_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_PauseAudioStreamDevice
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_PauseAudioStreamDevice :: Ptr SDL_AudioStream -> IO CBool
sDL_PauseAudioStreamDevice =
Ptr SDL_AudioStream -> IO CBool
hs_bindgen_b5ae37aa80b742a5
foreign import ccall safe "hs_bindgen_df0b3314efa54fdd"
hs_bindgen_df0b3314efa54fdd_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_df0b3314efa54fdd
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_df0b3314efa54fdd :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_df0b3314efa54fdd =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_df0b3314efa54fdd_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_ResumeAudioStreamDevice
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_ResumeAudioStreamDevice :: Ptr SDL_AudioStream -> IO CBool
sDL_ResumeAudioStreamDevice =
Ptr SDL_AudioStream -> IO CBool
hs_bindgen_df0b3314efa54fdd
foreign import ccall safe "hs_bindgen_1ff005643c24e6c0"
hs_bindgen_1ff005643c24e6c0_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1ff005643c24e6c0
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_1ff005643c24e6c0 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_1ff005643c24e6c0 =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_1ff005643c24e6c0_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_AudioStreamDevicePaused
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_AudioStreamDevicePaused :: Ptr SDL_AudioStream -> IO CBool
sDL_AudioStreamDevicePaused =
Ptr SDL_AudioStream -> IO CBool
hs_bindgen_1ff005643c24e6c0
foreign import ccall safe "hs_bindgen_3d4874ba18717a32"
hs_bindgen_3d4874ba18717a32_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_3d4874ba18717a32
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_3d4874ba18717a32 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_3d4874ba18717a32 =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_3d4874ba18717a32_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_LockAudioStream
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_LockAudioStream :: Ptr SDL_AudioStream -> IO CBool
sDL_LockAudioStream = Ptr SDL_AudioStream -> IO CBool
hs_bindgen_3d4874ba18717a32
foreign import ccall safe "hs_bindgen_0175d2c579f38af7"
hs_bindgen_0175d2c579f38af7_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0175d2c579f38af7
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_0175d2c579f38af7 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_0175d2c579f38af7 =
\Ptr SDL_AudioStream
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_0175d2c579f38af7_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0))
sDL_UnlockAudioStream
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
sDL_UnlockAudioStream :: Ptr SDL_AudioStream -> IO CBool
sDL_UnlockAudioStream = Ptr SDL_AudioStream -> IO CBool
hs_bindgen_0175d2c579f38af7
foreign import ccall safe "hs_bindgen_65648a5a73743f2d"
hs_bindgen_65648a5a73743f2d_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_65648a5a73743f2d
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_65648a5a73743f2d :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_65648a5a73743f2d =
\Ptr SDL_AudioStream
x0 ->
\SDL_AudioStreamCallback
x1 ->
\Ptr Void
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_65648a5a73743f2d_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (SDL_AudioStreamCallback -> FFIType SDL_AudioStreamCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioStreamCallback
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_SetAudioStreamGetCallback
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_SetAudioStreamGetCallback :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
sDL_SetAudioStreamGetCallback =
Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_65648a5a73743f2d
foreign import ccall safe "hs_bindgen_61ea9930449caa3b"
hs_bindgen_61ea9930449caa3b_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_61ea9930449caa3b
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_61ea9930449caa3b :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_61ea9930449caa3b =
\Ptr SDL_AudioStream
x0 ->
\SDL_AudioStreamCallback
x1 ->
\Ptr Void
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_61ea9930449caa3b_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0) (SDL_AudioStreamCallback -> FFIType SDL_AudioStreamCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioStreamCallback
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_SetAudioStreamPutCallback
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_SetAudioStreamPutCallback :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
sDL_SetAudioStreamPutCallback =
Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_61ea9930449caa3b
foreign import ccall safe "hs_bindgen_2f2920f372de3f91"
hs_bindgen_2f2920f372de3f91_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_2f2920f372de3f91
:: BG.Ptr SDL_AudioStream
-> IO ()
hs_bindgen_2f2920f372de3f91 :: Ptr SDL_AudioStream -> IO ()
hs_bindgen_2f2920f372de3f91 =
\Ptr SDL_AudioStream
x0 ->
Ptr Void -> IO ()
hs_bindgen_2f2920f372de3f91_base (Ptr SDL_AudioStream -> FFIType (Ptr SDL_AudioStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioStream
x0)
sDL_DestroyAudioStream
:: BG.Ptr SDL_AudioStream
-> IO ()
sDL_DestroyAudioStream :: Ptr SDL_AudioStream -> IO ()
sDL_DestroyAudioStream = Ptr SDL_AudioStream -> IO ()
hs_bindgen_2f2920f372de3f91
foreign import ccall safe "hs_bindgen_41a1f387b2d98901"
hs_bindgen_41a1f387b2d98901_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_41a1f387b2d98901
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO (BG.Ptr SDL_AudioStream)
hs_bindgen_41a1f387b2d98901 :: SDL_AudioDeviceID
-> PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> Ptr Void
-> IO (Ptr SDL_AudioStream)
hs_bindgen_41a1f387b2d98901 =
\SDL_AudioDeviceID
x0 ->
\PtrConst SDL_AudioSpec
x1 ->
\SDL_AudioStreamCallback
x2 ->
\Ptr Void
x3 ->
(Ptr Void -> Ptr SDL_AudioStream)
-> IO (Ptr Void) -> IO (Ptr SDL_AudioStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr SDL_AudioStream
FFIType (Ptr SDL_AudioStream) -> Ptr SDL_AudioStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Word32 -> Ptr Void -> FunPtr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_41a1f387b2d98901_base
(SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0)
(PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x1)
(SDL_AudioStreamCallback -> FFIType SDL_AudioStreamCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioStreamCallback
x2)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x3)
)
sDL_OpenAudioDeviceStream
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO (BG.Ptr SDL_AudioStream)
sDL_OpenAudioDeviceStream :: SDL_AudioDeviceID
-> PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> Ptr Void
-> IO (Ptr SDL_AudioStream)
sDL_OpenAudioDeviceStream =
SDL_AudioDeviceID
-> PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> Ptr Void
-> IO (Ptr SDL_AudioStream)
hs_bindgen_41a1f387b2d98901
foreign import ccall safe "hs_bindgen_4e2802e9ed6e7f25"
hs_bindgen_4e2802e9ed6e7f25_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_4e2802e9ed6e7f25
:: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_4e2802e9ed6e7f25 :: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback -> Ptr Void -> IO CBool
hs_bindgen_4e2802e9ed6e7f25 =
\SDL_AudioDeviceID
x0 ->
\SDL_AudioPostmixCallback
x1 ->
\Ptr Void
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_4e2802e9ed6e7f25_base (SDL_AudioDeviceID -> FFIType SDL_AudioDeviceID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioDeviceID
x0) (SDL_AudioPostmixCallback -> FFIType SDL_AudioPostmixCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioPostmixCallback
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_SetAudioPostmixCallback
:: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_SetAudioPostmixCallback :: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback -> Ptr Void -> IO CBool
sDL_SetAudioPostmixCallback =
SDL_AudioDeviceID
-> SDL_AudioPostmixCallback -> Ptr Void -> IO CBool
hs_bindgen_4e2802e9ed6e7f25
foreign import ccall safe "hs_bindgen_a910288634dd93c9"
hs_bindgen_a910288634dd93c9_base
:: BG.Ptr BG.Void
-> BG.CBool
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a910288634dd93c9
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_a910288634dd93c9 :: Ptr SDL_IOStream
-> CBool
-> Ptr SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr Uint32
-> IO CBool
hs_bindgen_a910288634dd93c9 =
\Ptr SDL_IOStream
x0 ->
\CBool
x1 ->
\Ptr SDL_AudioSpec
x2 ->
\Ptr (Ptr Uint8)
x3 ->
\Ptr Uint32
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CBool -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_a910288634dd93c9_base
(Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1)
(Ptr SDL_AudioSpec -> FFIType (Ptr SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioSpec
x2)
(Ptr (Ptr Uint8) -> FFIType (Ptr (Ptr Uint8))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr (Ptr Uint8)
x3)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x4)
)
sDL_LoadWAV_IO
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_LoadWAV_IO :: Ptr SDL_IOStream
-> CBool
-> Ptr SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr Uint32
-> IO CBool
sDL_LoadWAV_IO = Ptr SDL_IOStream
-> CBool
-> Ptr SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr Uint32
-> IO CBool
hs_bindgen_a910288634dd93c9
foreign import ccall safe "hs_bindgen_9dc1494e309920f0"
hs_bindgen_9dc1494e309920f0_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9dc1494e309920f0
:: PtrConst.PtrConst BG.CChar
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_9dc1494e309920f0 :: PtrConst CChar
-> Ptr SDL_AudioSpec -> Ptr (Ptr Uint8) -> Ptr Uint32 -> IO CBool
hs_bindgen_9dc1494e309920f0 =
\PtrConst CChar
x0 ->
\Ptr SDL_AudioSpec
x1 ->
\Ptr (Ptr Uint8)
x2 ->
\Ptr Uint32
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_9dc1494e309920f0_base
(PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0)
(Ptr SDL_AudioSpec -> FFIType (Ptr SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_AudioSpec
x1)
(Ptr (Ptr Uint8) -> FFIType (Ptr (Ptr Uint8))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr (Ptr Uint8)
x2)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x3)
)
sDL_LoadWAV
:: PtrConst.PtrConst BG.CChar
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_LoadWAV :: PtrConst CChar
-> Ptr SDL_AudioSpec -> Ptr (Ptr Uint8) -> Ptr Uint32 -> IO CBool
sDL_LoadWAV = PtrConst CChar
-> Ptr SDL_AudioSpec -> Ptr (Ptr Uint8) -> Ptr Uint32 -> IO CBool
hs_bindgen_9dc1494e309920f0
foreign import ccall safe "hs_bindgen_f90c9509d9c249ee"
hs_bindgen_f90c9509d9c249ee_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_f90c9509d9c249ee
:: BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL_AudioFormat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_f90c9509d9c249ee :: Ptr Uint8
-> PtrConst Uint8
-> SDL_AudioFormat
-> Uint32
-> CFloat
-> IO CBool
hs_bindgen_f90c9509d9c249ee =
\Ptr Uint8
x0 ->
\PtrConst Uint8
x1 ->
\SDL_AudioFormat
x2 ->
\Uint32
x3 ->
\CFloat
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> CUInt -> Word32 -> CFloat -> IO CBool
hs_bindgen_f90c9509d9c249ee_base
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x0)
(PtrConst Uint8 -> FFIType (PtrConst Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Uint8
x1)
(SDL_AudioFormat -> FFIType SDL_AudioFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioFormat
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x4)
)
sDL_MixAudio
:: BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL_AudioFormat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CFloat
-> IO BG.CBool
sDL_MixAudio :: Ptr Uint8
-> PtrConst Uint8
-> SDL_AudioFormat
-> Uint32
-> CFloat
-> IO CBool
sDL_MixAudio = Ptr Uint8
-> PtrConst Uint8
-> SDL_AudioFormat
-> Uint32
-> CFloat
-> IO CBool
hs_bindgen_f90c9509d9c249ee
foreign import ccall safe "hs_bindgen_ee64493d4496844f"
hs_bindgen_ee64493d4496844f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ee64493d4496844f
:: PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.CInt
-> PtrConst.PtrConst SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_ee64493d4496844f :: PtrConst SDL_AudioSpec
-> PtrConst Uint8
-> CInt
-> PtrConst SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr CInt
-> IO CBool
hs_bindgen_ee64493d4496844f =
\PtrConst SDL_AudioSpec
x0 ->
\PtrConst Uint8
x1 ->
\CInt
x2 ->
\PtrConst SDL_AudioSpec
x3 ->
\Ptr (Ptr Uint8)
x4 ->
\Ptr CInt
x5 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> CInt -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_ee64493d4496844f_base
(PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x0)
(PtrConst Uint8 -> FFIType (PtrConst Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Uint8
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(PtrConst SDL_AudioSpec -> FFIType (PtrConst SDL_AudioSpec)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_AudioSpec
x3)
(Ptr (Ptr Uint8) -> FFIType (Ptr (Ptr Uint8))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr (Ptr Uint8)
x4)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x5)
)
sDL_ConvertAudioSamples
:: PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.CInt
-> PtrConst.PtrConst SDL_AudioSpec
-> BG.Ptr (BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8)
-> BG.Ptr BG.CInt
-> IO BG.CBool
sDL_ConvertAudioSamples :: PtrConst SDL_AudioSpec
-> PtrConst Uint8
-> CInt
-> PtrConst SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr CInt
-> IO CBool
sDL_ConvertAudioSamples = PtrConst SDL_AudioSpec
-> PtrConst Uint8
-> CInt
-> PtrConst SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr CInt
-> IO CBool
hs_bindgen_ee64493d4496844f
foreign import ccall safe "hs_bindgen_427a7131d02ce29b"
hs_bindgen_427a7131d02ce29b_base
:: BG.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_427a7131d02ce29b
:: SDL_AudioFormat
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_427a7131d02ce29b :: SDL_AudioFormat -> IO (PtrConst CChar)
hs_bindgen_427a7131d02ce29b =
\SDL_AudioFormat
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO (Ptr Void)
hs_bindgen_427a7131d02ce29b_base (SDL_AudioFormat -> FFIType SDL_AudioFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioFormat
x0))
sDL_GetAudioFormatName
:: SDL_AudioFormat
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetAudioFormatName :: SDL_AudioFormat -> IO (PtrConst CChar)
sDL_GetAudioFormatName = SDL_AudioFormat -> IO (PtrConst CChar)
hs_bindgen_427a7131d02ce29b
foreign import ccall safe "hs_bindgen_a78d31ca2af16da3"
hs_bindgen_a78d31ca2af16da3_base
:: BG.CUInt
-> IO BG.CInt
hs_bindgen_a78d31ca2af16da3
:: SDL_AudioFormat
-> IO BG.CInt
hs_bindgen_a78d31ca2af16da3 :: SDL_AudioFormat -> IO CInt
hs_bindgen_a78d31ca2af16da3 =
\SDL_AudioFormat
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO CInt
hs_bindgen_a78d31ca2af16da3_base (SDL_AudioFormat -> FFIType SDL_AudioFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_AudioFormat
x0))
sDL_GetSilenceValueForFormat
:: SDL_AudioFormat
-> IO BG.CInt
sDL_GetSilenceValueForFormat :: SDL_AudioFormat -> IO CInt
sDL_GetSilenceValueForFormat =
SDL_AudioFormat -> IO CInt
hs_bindgen_a78d31ca2af16da3