{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Audio.Unsafe (
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetNumAudioDrivers,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioDriver,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetCurrentAudioDriver,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioPlaybackDevices,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioRecordingDevices,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioDeviceName,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioDeviceFormat,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioDeviceChannelMap,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_OpenAudioDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_IsAudioDevicePhysical,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_IsAudioDevicePlayback,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_PauseAudioDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_ResumeAudioDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_AudioDevicePaused,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioDeviceGain,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioDeviceGain,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_CloseAudioDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_BindAudioStreams,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_BindAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_UnbindAudioStreams,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_UnbindAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_CreateAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamProperties,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamFormat,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamFormat,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamFrequencyRatio,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamFrequencyRatio,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamGain,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamGain,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamInputChannelMap,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamOutputChannelMap,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamInputChannelMap,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamOutputChannelMap,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_PutAudioStreamData,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_PutAudioStreamDataNoCopy,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_PutAudioStreamPlanarData,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamData,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamAvailable,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioStreamQueued,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_FlushAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_ClearAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_PauseAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_ResumeAudioStreamDevice,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_AudioStreamDevicePaused,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_LockAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_UnlockAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamGetCallback,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioStreamPutCallback,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_DestroyAudioStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_OpenAudioDeviceStream,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_SetAudioPostmixCallback,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_LoadWAV_IO,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_LoadWAV,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_MixAudio,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_ConvertAudioSamples,
SDL3.Sys.Bindgen.Audio.Unsafe.sDL_GetAudioFormatName,
SDL3.Sys.Bindgen.Audio.Unsafe.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_3fadb766434bf32a (void)"
, "{"
, " return (SDL_GetNumAudioDrivers)();"
, "}"
, "char const *hs_bindgen_088e341c96ec752f ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetAudioDriver)(arg1);"
, "}"
, "char const *hs_bindgen_8d83991bf7c57ced (void)"
, "{"
, " return (SDL_GetCurrentAudioDriver)();"
, "}"
, "SDL_AudioDeviceID *hs_bindgen_ac01234fb497c823 ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetAudioPlaybackDevices)(arg1);"
, "}"
, "SDL_AudioDeviceID *hs_bindgen_3d763bb9432bd9eb ("
, " signed int *arg1"
, ")"
, "{"
, " return (SDL_GetAudioRecordingDevices)(arg1);"
, "}"
, "char const *hs_bindgen_b2c73ae14aa40e78 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_GetAudioDeviceName)(arg1);"
, "}"
, "_Bool hs_bindgen_8117a6bb4c2d4973 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec *arg2,"
, " signed int *arg3"
, ")"
, "{"
, " return (SDL_GetAudioDeviceFormat)(arg1, arg2, arg3);"
, "}"
, "signed int *hs_bindgen_4c4c9c72b628a61b ("
, " SDL_AudioDeviceID arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioDeviceChannelMap)(arg1, arg2);"
, "}"
, "SDL_AudioDeviceID hs_bindgen_b33e26bd03556385 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec const *arg2"
, ")"
, "{"
, " return (SDL_OpenAudioDevice)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_40b4f5474e930396 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_IsAudioDevicePhysical)(arg1);"
, "}"
, "_Bool hs_bindgen_3529c6e832f821e2 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_IsAudioDevicePlayback)(arg1);"
, "}"
, "_Bool hs_bindgen_8b915f5bea8027b8 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_PauseAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_459b30881d6df917 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_ResumeAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_672dd7353e8716ce ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_AudioDevicePaused)(arg1);"
, "}"
, "float hs_bindgen_c8b5c017b7910d18 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " return (SDL_GetAudioDeviceGain)(arg1);"
, "}"
, "_Bool hs_bindgen_13f5c18c777458dd ("
, " SDL_AudioDeviceID arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioDeviceGain)(arg1, arg2);"
, "}"
, "void hs_bindgen_1f1d897129d034a7 ("
, " SDL_AudioDeviceID arg1"
, ")"
, "{"
, " (SDL_CloseAudioDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_347a950bd3b0f9b2 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioStream *const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_BindAudioStreams)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_98bc5733fab56d11 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioStream *arg2"
, ")"
, "{"
, " return (SDL_BindAudioStream)(arg1, arg2);"
, "}"
, "void hs_bindgen_ec7f859bb5c9ee4b ("
, " SDL_AudioStream *const *arg1,"
, " signed int arg2"
, ")"
, "{"
, " (SDL_UnbindAudioStreams)(arg1, arg2);"
, "}"
, "void hs_bindgen_4c718e02b5ad1279 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " (SDL_UnbindAudioStream)(arg1);"
, "}"
, "SDL_AudioDeviceID hs_bindgen_caea3c9230448fae ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamDevice)(arg1);"
, "}"
, "SDL_AudioStream *hs_bindgen_bcc8d812c83afb38 ("
, " SDL_AudioSpec const *arg1,"
, " SDL_AudioSpec const *arg2"
, ")"
, "{"
, " return (SDL_CreateAudioStream)(arg1, arg2);"
, "}"
, "SDL_PropertiesID hs_bindgen_a513bf944ff78877 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_4b2310dc9f80a9f8 ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioSpec *arg2,"
, " SDL_AudioSpec *arg3"
, ")"
, "{"
, " return (SDL_GetAudioStreamFormat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_a8488bb9b411fc5d ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioSpec const *arg2,"
, " SDL_AudioSpec const *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamFormat)(arg1, arg2, arg3);"
, "}"
, "float hs_bindgen_15397b18d1ddad29 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamFrequencyRatio)(arg1);"
, "}"
, "_Bool hs_bindgen_86275fb04d01b569 ("
, " SDL_AudioStream *arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioStreamFrequencyRatio)(arg1, arg2);"
, "}"
, "float hs_bindgen_b0201fb647f1a55c ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamGain)(arg1);"
, "}"
, "_Bool hs_bindgen_90b7daeac2130f28 ("
, " SDL_AudioStream *arg1,"
, " float arg2"
, ")"
, "{"
, " return (SDL_SetAudioStreamGain)(arg1, arg2);"
, "}"
, "signed int *hs_bindgen_1b79fdfec2f48b4f ("
, " SDL_AudioStream *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioStreamInputChannelMap)(arg1, arg2);"
, "}"
, "signed int *hs_bindgen_0c6aa9ee60372768 ("
, " SDL_AudioStream *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetAudioStreamOutputChannelMap)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c2adfd0bb37d9aa2 ("
, " SDL_AudioStream *arg1,"
, " signed int const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamInputChannelMap)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_b0ed00a566f29be4 ("
, " SDL_AudioStream *arg1,"
, " signed int const *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamOutputChannelMap)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_32b25453fa9b8c52 ("
, " 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_8e034cb6408bf39f ("
, " 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_2517bbaa11deade2 ("
, " 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_05c01671d414ec35 ("
, " SDL_AudioStream *arg1,"
, " void *arg2,"
, " signed int arg3"
, ")"
, "{"
, " return (SDL_GetAudioStreamData)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_6693b5a0bc38b7f9 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamAvailable)(arg1);"
, "}"
, "signed int hs_bindgen_75fb0631cff6ceae ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_GetAudioStreamQueued)(arg1);"
, "}"
, "_Bool hs_bindgen_ad5616a591f54851 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_FlushAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_f4d190bd770b2df3 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_ClearAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_fa7a02853d833a6c ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_PauseAudioStreamDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_0460d36f7042c57a ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_ResumeAudioStreamDevice)(arg1);"
, "}"
, "_Bool hs_bindgen_ffc6b2bb5b052f6d ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_AudioStreamDevicePaused)(arg1);"
, "}"
, "_Bool hs_bindgen_0f17d22c674fb4db ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_LockAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_03cca6936a438b69 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " return (SDL_UnlockAudioStream)(arg1);"
, "}"
, "_Bool hs_bindgen_dc2f74eae1a93c31 ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioStreamCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamGetCallback)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_146f387abf38d92a ("
, " SDL_AudioStream *arg1,"
, " SDL_AudioStreamCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioStreamPutCallback)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_49f1ea9de2669438 ("
, " SDL_AudioStream *arg1"
, ")"
, "{"
, " (SDL_DestroyAudioStream)(arg1);"
, "}"
, "SDL_AudioStream *hs_bindgen_c626b93042e17a97 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioSpec const *arg2,"
, " SDL_AudioStreamCallback arg3,"
, " void *arg4"
, ")"
, "{"
, " return (SDL_OpenAudioDeviceStream)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_2207c9d46d721c22 ("
, " SDL_AudioDeviceID arg1,"
, " SDL_AudioPostmixCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetAudioPostmixCallback)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_7d7f4ec89c051bd9 ("
, " SDL_IOStream *arg1,"
, " _Bool arg2,"
, " SDL_AudioSpec *arg3,"
, " Uint8 **arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_LoadWAV_IO)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_618ebcf6bf6e8650 ("
, " char const *arg1,"
, " SDL_AudioSpec *arg2,"
, " Uint8 **arg3,"
, " Uint32 *arg4"
, ")"
, "{"
, " return (SDL_LoadWAV)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_da6d00b62c3fdd0b ("
, " Uint8 *arg1,"
, " Uint8 const *arg2,"
, " SDL_AudioFormat arg3,"
, " Uint32 arg4,"
, " float arg5"
, ")"
, "{"
, " return (SDL_MixAudio)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_a6d61748227d6f0b ("
, " 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_43b528b55cc775cf ("
, " SDL_AudioFormat arg1"
, ")"
, "{"
, " return (SDL_GetAudioFormatName)(arg1);"
, "}"
, "signed int hs_bindgen_0154acf0cb371eab ("
, " SDL_AudioFormat arg1"
, ")"
, "{"
, " return (SDL_GetSilenceValueForFormat)(arg1);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_3fadb766434bf32a"
hs_bindgen_3fadb766434bf32a_base
:: IO BG.CInt
hs_bindgen_3fadb766434bf32a :: IO BG.CInt
hs_bindgen_3fadb766434bf32a :: IO CInt
hs_bindgen_3fadb766434bf32a =
(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_3fadb766434bf32a_base
sDL_GetNumAudioDrivers :: IO BG.CInt
sDL_GetNumAudioDrivers :: IO CInt
sDL_GetNumAudioDrivers = IO CInt
hs_bindgen_3fadb766434bf32a
foreign import ccall unsafe "hs_bindgen_088e341c96ec752f"
hs_bindgen_088e341c96ec752f_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_088e341c96ec752f
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_088e341c96ec752f :: CInt -> IO (PtrConst CChar)
hs_bindgen_088e341c96ec752f =
\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_088e341c96ec752f_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_088e341c96ec752f
foreign import ccall unsafe "hs_bindgen_8d83991bf7c57ced"
hs_bindgen_8d83991bf7c57ced_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_8d83991bf7c57ced :: IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_8d83991bf7c57ced :: IO (PtrConst CChar)
hs_bindgen_8d83991bf7c57ced =
(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_8d83991bf7c57ced_base
sDL_GetCurrentAudioDriver :: IO (PtrConst.PtrConst BG.CChar)
sDL_GetCurrentAudioDriver :: IO (PtrConst CChar)
sDL_GetCurrentAudioDriver =
IO (PtrConst CChar)
hs_bindgen_8d83991bf7c57ced
foreign import ccall unsafe "hs_bindgen_ac01234fb497c823"
hs_bindgen_ac01234fb497c823_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_ac01234fb497c823
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
hs_bindgen_ac01234fb497c823 :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_ac01234fb497c823 =
\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_ac01234fb497c823_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_ac01234fb497c823
foreign import ccall unsafe "hs_bindgen_3d763bb9432bd9eb"
hs_bindgen_3d763bb9432bd9eb_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3d763bb9432bd9eb
:: BG.Ptr BG.CInt
-> IO (BG.Ptr SDL_AudioDeviceID)
hs_bindgen_3d763bb9432bd9eb :: Ptr CInt -> IO (Ptr SDL_AudioDeviceID)
hs_bindgen_3d763bb9432bd9eb =
\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_3d763bb9432bd9eb_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_3d763bb9432bd9eb
foreign import ccall unsafe "hs_bindgen_b2c73ae14aa40e78"
hs_bindgen_b2c73ae14aa40e78_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_b2c73ae14aa40e78
:: SDL_AudioDeviceID
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_b2c73ae14aa40e78 :: SDL_AudioDeviceID -> IO (PtrConst CChar)
hs_bindgen_b2c73ae14aa40e78 =
\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_b2c73ae14aa40e78_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_b2c73ae14aa40e78
foreign import ccall unsafe "hs_bindgen_8117a6bb4c2d4973"
hs_bindgen_8117a6bb4c2d4973_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8117a6bb4c2d4973
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_8117a6bb4c2d4973 :: SDL_AudioDeviceID -> Ptr SDL_AudioSpec -> Ptr CInt -> IO CBool
hs_bindgen_8117a6bb4c2d4973 =
\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_8117a6bb4c2d4973_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_8117a6bb4c2d4973
foreign import ccall unsafe "hs_bindgen_4c4c9c72b628a61b"
hs_bindgen_4c4c9c72b628a61b_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_4c4c9c72b628a61b
:: SDL_AudioDeviceID
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_4c4c9c72b628a61b :: SDL_AudioDeviceID -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_4c4c9c72b628a61b =
\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_4c4c9c72b628a61b_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_4c4c9c72b628a61b
foreign import ccall unsafe "hs_bindgen_b33e26bd03556385"
hs_bindgen_b33e26bd03556385_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_b33e26bd03556385
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> IO SDL_AudioDeviceID
hs_bindgen_b33e26bd03556385 :: SDL_AudioDeviceID -> PtrConst SDL_AudioSpec -> IO SDL_AudioDeviceID
hs_bindgen_b33e26bd03556385 =
\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_b33e26bd03556385_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_b33e26bd03556385
foreign import ccall unsafe "hs_bindgen_40b4f5474e930396"
hs_bindgen_40b4f5474e930396_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_40b4f5474e930396
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_40b4f5474e930396 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_40b4f5474e930396 =
\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_40b4f5474e930396_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_40b4f5474e930396
foreign import ccall unsafe "hs_bindgen_3529c6e832f821e2"
hs_bindgen_3529c6e832f821e2_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_3529c6e832f821e2
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_3529c6e832f821e2 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_3529c6e832f821e2 =
\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_3529c6e832f821e2_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_3529c6e832f821e2
foreign import ccall unsafe "hs_bindgen_8b915f5bea8027b8"
hs_bindgen_8b915f5bea8027b8_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_8b915f5bea8027b8
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_8b915f5bea8027b8 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_8b915f5bea8027b8 =
\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_8b915f5bea8027b8_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_8b915f5bea8027b8
foreign import ccall unsafe "hs_bindgen_459b30881d6df917"
hs_bindgen_459b30881d6df917_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_459b30881d6df917
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_459b30881d6df917 :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_459b30881d6df917 =
\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_459b30881d6df917_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_459b30881d6df917
foreign import ccall unsafe "hs_bindgen_672dd7353e8716ce"
hs_bindgen_672dd7353e8716ce_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_672dd7353e8716ce
:: SDL_AudioDeviceID
-> IO BG.CBool
hs_bindgen_672dd7353e8716ce :: SDL_AudioDeviceID -> IO CBool
hs_bindgen_672dd7353e8716ce =
\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_672dd7353e8716ce_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_672dd7353e8716ce
foreign import ccall unsafe "hs_bindgen_c8b5c017b7910d18"
hs_bindgen_c8b5c017b7910d18_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CFloat
hs_bindgen_c8b5c017b7910d18
:: SDL_AudioDeviceID
-> IO BG.CFloat
hs_bindgen_c8b5c017b7910d18 :: SDL_AudioDeviceID -> IO CFloat
hs_bindgen_c8b5c017b7910d18 =
\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_c8b5c017b7910d18_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_c8b5c017b7910d18
foreign import ccall unsafe "hs_bindgen_13f5c18c777458dd"
hs_bindgen_13f5c18c777458dd_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_13f5c18c777458dd
:: SDL_AudioDeviceID
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_13f5c18c777458dd :: SDL_AudioDeviceID -> CFloat -> IO CBool
hs_bindgen_13f5c18c777458dd =
\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_13f5c18c777458dd_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_13f5c18c777458dd
foreign import ccall unsafe "hs_bindgen_1f1d897129d034a7"
hs_bindgen_1f1d897129d034a7_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_1f1d897129d034a7
:: SDL_AudioDeviceID
-> IO ()
hs_bindgen_1f1d897129d034a7 :: SDL_AudioDeviceID -> IO ()
hs_bindgen_1f1d897129d034a7 =
\SDL_AudioDeviceID
x0 ->
Word32 -> IO ()
hs_bindgen_1f1d897129d034a7_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_1f1d897129d034a7
foreign import ccall unsafe "hs_bindgen_347a950bd3b0f9b2"
hs_bindgen_347a950bd3b0f9b2_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_347a950bd3b0f9b2
:: SDL_AudioDeviceID
-> PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO BG.CBool
hs_bindgen_347a950bd3b0f9b2 :: SDL_AudioDeviceID
-> PtrConst (Ptr SDL_AudioStream) -> CInt -> IO CBool
hs_bindgen_347a950bd3b0f9b2 =
\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_347a950bd3b0f9b2_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_347a950bd3b0f9b2
foreign import ccall unsafe "hs_bindgen_98bc5733fab56d11"
hs_bindgen_98bc5733fab56d11_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_98bc5733fab56d11
:: SDL_AudioDeviceID
-> BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_98bc5733fab56d11 :: SDL_AudioDeviceID -> Ptr SDL_AudioStream -> IO CBool
hs_bindgen_98bc5733fab56d11 =
\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_98bc5733fab56d11_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_98bc5733fab56d11
foreign import ccall unsafe "hs_bindgen_ec7f859bb5c9ee4b"
hs_bindgen_ec7f859bb5c9ee4b_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO ()
hs_bindgen_ec7f859bb5c9ee4b
:: PtrConst.PtrConst (BG.Ptr SDL_AudioStream)
-> BG.CInt
-> IO ()
hs_bindgen_ec7f859bb5c9ee4b :: PtrConst (Ptr SDL_AudioStream) -> CInt -> IO ()
hs_bindgen_ec7f859bb5c9ee4b =
\PtrConst (Ptr SDL_AudioStream)
x0 ->
\CInt
x1 ->
Ptr Void -> CInt -> IO ()
hs_bindgen_ec7f859bb5c9ee4b_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_ec7f859bb5c9ee4b
foreign import ccall unsafe "hs_bindgen_4c718e02b5ad1279"
hs_bindgen_4c718e02b5ad1279_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_4c718e02b5ad1279
:: BG.Ptr SDL_AudioStream
-> IO ()
hs_bindgen_4c718e02b5ad1279 :: Ptr SDL_AudioStream -> IO ()
hs_bindgen_4c718e02b5ad1279 =
\Ptr SDL_AudioStream
x0 ->
Ptr Void -> IO ()
hs_bindgen_4c718e02b5ad1279_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_4c718e02b5ad1279
foreign import ccall unsafe "hs_bindgen_caea3c9230448fae"
hs_bindgen_caea3c9230448fae_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_caea3c9230448fae
:: BG.Ptr SDL_AudioStream
-> IO SDL_AudioDeviceID
hs_bindgen_caea3c9230448fae :: Ptr SDL_AudioStream -> IO SDL_AudioDeviceID
hs_bindgen_caea3c9230448fae =
\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_caea3c9230448fae_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_caea3c9230448fae
foreign import ccall unsafe "hs_bindgen_bcc8d812c83afb38"
hs_bindgen_bcc8d812c83afb38_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_bcc8d812c83afb38
:: PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO (BG.Ptr SDL_AudioStream)
hs_bindgen_bcc8d812c83afb38 :: PtrConst SDL_AudioSpec
-> PtrConst SDL_AudioSpec -> IO (Ptr SDL_AudioStream)
hs_bindgen_bcc8d812c83afb38 =
\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_bcc8d812c83afb38_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_bcc8d812c83afb38
foreign import ccall unsafe "hs_bindgen_a513bf944ff78877"
hs_bindgen_a513bf944ff78877_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_a513bf944ff78877
:: BG.Ptr SDL_AudioStream
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_a513bf944ff78877 :: Ptr SDL_AudioStream -> IO SDL_PropertiesID
hs_bindgen_a513bf944ff78877 =
\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_a513bf944ff78877_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_a513bf944ff78877
foreign import ccall unsafe "hs_bindgen_4b2310dc9f80a9f8"
hs_bindgen_4b2310dc9f80a9f8_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_4b2310dc9f80a9f8
:: BG.Ptr SDL_AudioStream
-> BG.Ptr SDL_AudioSpec
-> BG.Ptr SDL_AudioSpec
-> IO BG.CBool
hs_bindgen_4b2310dc9f80a9f8 :: Ptr SDL_AudioStream
-> Ptr SDL_AudioSpec -> Ptr SDL_AudioSpec -> IO CBool
hs_bindgen_4b2310dc9f80a9f8 =
\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_4b2310dc9f80a9f8_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_4b2310dc9f80a9f8
foreign import ccall unsafe "hs_bindgen_a8488bb9b411fc5d"
hs_bindgen_a8488bb9b411fc5d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a8488bb9b411fc5d
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst SDL_AudioSpec
-> PtrConst.PtrConst SDL_AudioSpec
-> IO BG.CBool
hs_bindgen_a8488bb9b411fc5d :: Ptr SDL_AudioStream
-> PtrConst SDL_AudioSpec -> PtrConst SDL_AudioSpec -> IO CBool
hs_bindgen_a8488bb9b411fc5d =
\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_a8488bb9b411fc5d_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_a8488bb9b411fc5d
foreign import ccall unsafe "hs_bindgen_15397b18d1ddad29"
hs_bindgen_15397b18d1ddad29_base
:: BG.Ptr BG.Void
-> IO BG.CFloat
hs_bindgen_15397b18d1ddad29
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
hs_bindgen_15397b18d1ddad29 :: Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_15397b18d1ddad29 =
\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_15397b18d1ddad29_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_15397b18d1ddad29
foreign import ccall unsafe "hs_bindgen_86275fb04d01b569"
hs_bindgen_86275fb04d01b569_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_86275fb04d01b569
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_86275fb04d01b569 :: Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_86275fb04d01b569 =
\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_86275fb04d01b569_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_86275fb04d01b569
foreign import ccall unsafe "hs_bindgen_b0201fb647f1a55c"
hs_bindgen_b0201fb647f1a55c_base
:: BG.Ptr BG.Void
-> IO BG.CFloat
hs_bindgen_b0201fb647f1a55c
:: BG.Ptr SDL_AudioStream
-> IO BG.CFloat
hs_bindgen_b0201fb647f1a55c :: Ptr SDL_AudioStream -> IO CFloat
hs_bindgen_b0201fb647f1a55c =
\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_b0201fb647f1a55c_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_b0201fb647f1a55c
foreign import ccall unsafe "hs_bindgen_90b7daeac2130f28"
hs_bindgen_90b7daeac2130f28_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_90b7daeac2130f28
:: BG.Ptr SDL_AudioStream
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_90b7daeac2130f28 :: Ptr SDL_AudioStream -> CFloat -> IO CBool
hs_bindgen_90b7daeac2130f28 =
\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_90b7daeac2130f28_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_90b7daeac2130f28
foreign import ccall unsafe "hs_bindgen_1b79fdfec2f48b4f"
hs_bindgen_1b79fdfec2f48b4f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_1b79fdfec2f48b4f
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_1b79fdfec2f48b4f :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_1b79fdfec2f48b4f =
\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_1b79fdfec2f48b4f_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_1b79fdfec2f48b4f
foreign import ccall unsafe "hs_bindgen_0c6aa9ee60372768"
hs_bindgen_0c6aa9ee60372768_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_0c6aa9ee60372768
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.CInt
-> IO (BG.Ptr BG.CInt)
hs_bindgen_0c6aa9ee60372768 :: Ptr SDL_AudioStream -> Ptr CInt -> IO (Ptr CInt)
hs_bindgen_0c6aa9ee60372768 =
\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_0c6aa9ee60372768_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_0c6aa9ee60372768
foreign import ccall unsafe "hs_bindgen_c2adfd0bb37d9aa2"
hs_bindgen_c2adfd0bb37d9aa2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c2adfd0bb37d9aa2
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c2adfd0bb37d9aa2 :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_c2adfd0bb37d9aa2 =
\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_c2adfd0bb37d9aa2_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_c2adfd0bb37d9aa2
foreign import ccall unsafe "hs_bindgen_b0ed00a566f29be4"
hs_bindgen_b0ed00a566f29be4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_b0ed00a566f29be4
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_b0ed00a566f29be4 :: Ptr SDL_AudioStream -> PtrConst CInt -> CInt -> IO CBool
hs_bindgen_b0ed00a566f29be4 =
\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_b0ed00a566f29be4_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_b0ed00a566f29be4
foreign import ccall unsafe "hs_bindgen_32b25453fa9b8c52"
hs_bindgen_32b25453fa9b8c52_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_32b25453fa9b8c52
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_32b25453fa9b8c52 :: Ptr SDL_AudioStream -> PtrConst Void -> CInt -> IO CBool
hs_bindgen_32b25453fa9b8c52 =
\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_32b25453fa9b8c52_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_32b25453fa9b8c52
foreign import ccall unsafe "hs_bindgen_8e034cb6408bf39f"
hs_bindgen_8e034cb6408bf39f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8e034cb6408bf39f
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL_AudioStreamDataCompleteCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8e034cb6408bf39f :: Ptr SDL_AudioStream
-> PtrConst Void
-> CInt
-> SDL_AudioStreamDataCompleteCallback
-> Ptr Void
-> IO CBool
hs_bindgen_8e034cb6408bf39f =
\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_8e034cb6408bf39f_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_8e034cb6408bf39f
foreign import ccall unsafe "hs_bindgen_2517bbaa11deade2"
hs_bindgen_2517bbaa11deade2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_2517bbaa11deade2
:: BG.Ptr SDL_AudioStream
-> PtrConst.PtrConst (PtrConst.PtrConst BG.Void)
-> BG.CInt
-> BG.CInt
-> IO BG.CBool
hs_bindgen_2517bbaa11deade2 :: Ptr SDL_AudioStream
-> PtrConst (PtrConst Void) -> CInt -> CInt -> IO CBool
hs_bindgen_2517bbaa11deade2 =
\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_2517bbaa11deade2_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_2517bbaa11deade2
foreign import ccall unsafe "hs_bindgen_05c01671d414ec35"
hs_bindgen_05c01671d414ec35_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_05c01671d414ec35
:: BG.Ptr SDL_AudioStream
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_05c01671d414ec35 :: Ptr SDL_AudioStream -> Ptr Void -> CInt -> IO CInt
hs_bindgen_05c01671d414ec35 =
\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_05c01671d414ec35_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_05c01671d414ec35
foreign import ccall unsafe "hs_bindgen_6693b5a0bc38b7f9"
hs_bindgen_6693b5a0bc38b7f9_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_6693b5a0bc38b7f9
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
hs_bindgen_6693b5a0bc38b7f9 :: Ptr SDL_AudioStream -> IO CInt
hs_bindgen_6693b5a0bc38b7f9 =
\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_6693b5a0bc38b7f9_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_6693b5a0bc38b7f9
foreign import ccall unsafe "hs_bindgen_75fb0631cff6ceae"
hs_bindgen_75fb0631cff6ceae_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_75fb0631cff6ceae
:: BG.Ptr SDL_AudioStream
-> IO BG.CInt
hs_bindgen_75fb0631cff6ceae :: Ptr SDL_AudioStream -> IO CInt
hs_bindgen_75fb0631cff6ceae =
\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_75fb0631cff6ceae_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_75fb0631cff6ceae
foreign import ccall unsafe "hs_bindgen_ad5616a591f54851"
hs_bindgen_ad5616a591f54851_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ad5616a591f54851
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_ad5616a591f54851 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_ad5616a591f54851 =
\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_ad5616a591f54851_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_ad5616a591f54851
foreign import ccall unsafe "hs_bindgen_f4d190bd770b2df3"
hs_bindgen_f4d190bd770b2df3_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_f4d190bd770b2df3
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_f4d190bd770b2df3 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_f4d190bd770b2df3 =
\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_f4d190bd770b2df3_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_f4d190bd770b2df3
foreign import ccall unsafe "hs_bindgen_fa7a02853d833a6c"
hs_bindgen_fa7a02853d833a6c_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_fa7a02853d833a6c
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_fa7a02853d833a6c :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_fa7a02853d833a6c =
\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_fa7a02853d833a6c_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_fa7a02853d833a6c
foreign import ccall unsafe "hs_bindgen_0460d36f7042c57a"
hs_bindgen_0460d36f7042c57a_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0460d36f7042c57a
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_0460d36f7042c57a :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_0460d36f7042c57a =
\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_0460d36f7042c57a_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_0460d36f7042c57a
foreign import ccall unsafe "hs_bindgen_ffc6b2bb5b052f6d"
hs_bindgen_ffc6b2bb5b052f6d_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ffc6b2bb5b052f6d
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_ffc6b2bb5b052f6d :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_ffc6b2bb5b052f6d =
\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_ffc6b2bb5b052f6d_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_ffc6b2bb5b052f6d
foreign import ccall unsafe "hs_bindgen_0f17d22c674fb4db"
hs_bindgen_0f17d22c674fb4db_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0f17d22c674fb4db
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_0f17d22c674fb4db :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_0f17d22c674fb4db =
\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_0f17d22c674fb4db_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_0f17d22c674fb4db
foreign import ccall unsafe "hs_bindgen_03cca6936a438b69"
hs_bindgen_03cca6936a438b69_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_03cca6936a438b69
:: BG.Ptr SDL_AudioStream
-> IO BG.CBool
hs_bindgen_03cca6936a438b69 :: Ptr SDL_AudioStream -> IO CBool
hs_bindgen_03cca6936a438b69 =
\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_03cca6936a438b69_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_03cca6936a438b69
foreign import ccall unsafe "hs_bindgen_dc2f74eae1a93c31"
hs_bindgen_dc2f74eae1a93c31_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_dc2f74eae1a93c31
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_dc2f74eae1a93c31 :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_dc2f74eae1a93c31 =
\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_dc2f74eae1a93c31_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_dc2f74eae1a93c31
foreign import ccall unsafe "hs_bindgen_146f387abf38d92a"
hs_bindgen_146f387abf38d92a_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_146f387abf38d92a
:: BG.Ptr SDL_AudioStream
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_146f387abf38d92a :: Ptr SDL_AudioStream
-> SDL_AudioStreamCallback -> Ptr Void -> IO CBool
hs_bindgen_146f387abf38d92a =
\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_146f387abf38d92a_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_146f387abf38d92a
foreign import ccall unsafe "hs_bindgen_49f1ea9de2669438"
hs_bindgen_49f1ea9de2669438_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_49f1ea9de2669438
:: BG.Ptr SDL_AudioStream
-> IO ()
hs_bindgen_49f1ea9de2669438 :: Ptr SDL_AudioStream -> IO ()
hs_bindgen_49f1ea9de2669438 =
\Ptr SDL_AudioStream
x0 ->
Ptr Void -> IO ()
hs_bindgen_49f1ea9de2669438_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_49f1ea9de2669438
foreign import ccall unsafe "hs_bindgen_c626b93042e17a97"
hs_bindgen_c626b93042e17a97_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c626b93042e17a97
:: SDL_AudioDeviceID
-> PtrConst.PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> BG.Ptr BG.Void
-> IO (BG.Ptr SDL_AudioStream)
hs_bindgen_c626b93042e17a97 :: SDL_AudioDeviceID
-> PtrConst SDL_AudioSpec
-> SDL_AudioStreamCallback
-> Ptr Void
-> IO (Ptr SDL_AudioStream)
hs_bindgen_c626b93042e17a97 =
\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_c626b93042e17a97_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_c626b93042e17a97
foreign import ccall unsafe "hs_bindgen_2207c9d46d721c22"
hs_bindgen_2207c9d46d721c22_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2207c9d46d721c22
:: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2207c9d46d721c22 :: SDL_AudioDeviceID
-> SDL_AudioPostmixCallback -> Ptr Void -> IO CBool
hs_bindgen_2207c9d46d721c22 =
\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_2207c9d46d721c22_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_2207c9d46d721c22
foreign import ccall unsafe "hs_bindgen_7d7f4ec89c051bd9"
hs_bindgen_7d7f4ec89c051bd9_base
:: BG.Ptr BG.Void
-> BG.CBool
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7d7f4ec89c051bd9
:: 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_7d7f4ec89c051bd9 :: Ptr SDL_IOStream
-> CBool
-> Ptr SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr Uint32
-> IO CBool
hs_bindgen_7d7f4ec89c051bd9 =
\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_7d7f4ec89c051bd9_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_7d7f4ec89c051bd9
foreign import ccall unsafe "hs_bindgen_618ebcf6bf6e8650"
hs_bindgen_618ebcf6bf6e8650_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_618ebcf6bf6e8650
:: 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_618ebcf6bf6e8650 :: PtrConst CChar
-> Ptr SDL_AudioSpec -> Ptr (Ptr Uint8) -> Ptr Uint32 -> IO CBool
hs_bindgen_618ebcf6bf6e8650 =
\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_618ebcf6bf6e8650_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_618ebcf6bf6e8650
foreign import ccall unsafe "hs_bindgen_da6d00b62c3fdd0b"
hs_bindgen_da6d00b62c3fdd0b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_da6d00b62c3fdd0b
:: 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_da6d00b62c3fdd0b :: Ptr Uint8
-> PtrConst Uint8
-> SDL_AudioFormat
-> Uint32
-> CFloat
-> IO CBool
hs_bindgen_da6d00b62c3fdd0b =
\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_da6d00b62c3fdd0b_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_da6d00b62c3fdd0b
foreign import ccall unsafe "hs_bindgen_a6d61748227d6f0b"
hs_bindgen_a6d61748227d6f0b_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_a6d61748227d6f0b
:: 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_a6d61748227d6f0b :: PtrConst SDL_AudioSpec
-> PtrConst Uint8
-> CInt
-> PtrConst SDL_AudioSpec
-> Ptr (Ptr Uint8)
-> Ptr CInt
-> IO CBool
hs_bindgen_a6d61748227d6f0b =
\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_a6d61748227d6f0b_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_a6d61748227d6f0b
foreign import ccall unsafe "hs_bindgen_43b528b55cc775cf"
hs_bindgen_43b528b55cc775cf_base
:: BG.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_43b528b55cc775cf
:: SDL_AudioFormat
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_43b528b55cc775cf :: SDL_AudioFormat -> IO (PtrConst CChar)
hs_bindgen_43b528b55cc775cf =
\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_43b528b55cc775cf_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_43b528b55cc775cf
foreign import ccall unsafe "hs_bindgen_0154acf0cb371eab"
hs_bindgen_0154acf0cb371eab_base
:: BG.CUInt
-> IO BG.CInt
hs_bindgen_0154acf0cb371eab
:: SDL_AudioFormat
-> IO BG.CInt
hs_bindgen_0154acf0cb371eab :: SDL_AudioFormat -> IO CInt
hs_bindgen_0154acf0cb371eab =
\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_0154acf0cb371eab_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_0154acf0cb371eab