Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- audioInit :: MonadIO m => CString -> m CInt
- audioQuit :: MonadIO m => m ()
- buildAudioCVT :: MonadIO m => Ptr AudioCVT -> AudioFormat -> Word8 -> CInt -> AudioFormat -> Word8 -> CInt -> m CInt
- clearQueuedAudio :: MonadIO m => AudioDeviceID -> m ()
- closeAudio :: MonadIO m => m ()
- closeAudioDevice :: MonadIO m => AudioDeviceID -> m ()
- convertAudio :: MonadIO m => Ptr AudioCVT -> m CInt
- freeWAV :: MonadIO m => Ptr Word8 -> m ()
- getAudioDeviceName :: MonadIO m => CInt -> CInt -> m CString
- getAudioDeviceStatus :: MonadIO m => AudioDeviceID -> m AudioStatus
- getAudioDriver :: MonadIO m => CInt -> m CString
- getAudioStatus :: MonadIO m => m AudioStatus
- getCurrentAudioDriver :: MonadIO m => m CString
- getNumAudioDevices :: MonadIO m => CInt -> m CInt
- getNumAudioDrivers :: MonadIO m => m CInt
- getQueuedAudioSize :: MonadIO m => AudioDeviceID -> m Word32
- loadWAV :: MonadIO m => CString -> Ptr AudioSpec -> Ptr (Ptr Word8) -> Ptr Word32 -> m (Ptr AudioSpec)
- loadWAV_RW :: MonadIO m => Ptr RWops -> CInt -> Ptr AudioSpec -> Ptr (Ptr Word8) -> Ptr Word32 -> m (Ptr AudioSpec)
- lockAudio :: MonadIO m => m ()
- lockAudioDevice :: MonadIO m => AudioDeviceID -> m ()
- mixAudio :: MonadIO m => Ptr Word8 -> Ptr Word8 -> Word32 -> CInt -> m ()
- mixAudioFormat :: MonadIO m => Ptr Word8 -> Ptr Word8 -> AudioFormat -> Word32 -> CInt -> m ()
- openAudio :: MonadIO m => Ptr AudioSpec -> Ptr AudioSpec -> m CInt
- openAudioDevice :: MonadIO m => CString -> CInt -> Ptr AudioSpec -> Ptr AudioSpec -> CInt -> m AudioDeviceID
- pauseAudio :: MonadIO m => CInt -> m ()
- pauseAudioDevice :: MonadIO m => AudioDeviceID -> CInt -> m ()
- queueAudio :: MonadIO m => AudioDeviceID -> Ptr () -> Word32 -> m CInt
- unlockAudio :: MonadIO m => m ()
- unlockAudioDevice :: MonadIO m => AudioDeviceID -> m ()
Audio Device Management, Playing and Recording
buildAudioCVT :: MonadIO m => Ptr AudioCVT -> AudioFormat -> Word8 -> CInt -> AudioFormat -> Word8 -> CInt -> m CInt Source #
clearQueuedAudio :: MonadIO m => AudioDeviceID -> m () Source #
closeAudio :: MonadIO m => m () Source #
closeAudioDevice :: MonadIO m => AudioDeviceID -> m () Source #
getAudioDeviceStatus :: MonadIO m => AudioDeviceID -> m AudioStatus Source #
getAudioStatus :: MonadIO m => m AudioStatus Source #
getCurrentAudioDriver :: MonadIO m => m CString Source #
getNumAudioDrivers :: MonadIO m => m CInt Source #
getQueuedAudioSize :: MonadIO m => AudioDeviceID -> m Word32 Source #
loadWAV :: MonadIO m => CString -> Ptr AudioSpec -> Ptr (Ptr Word8) -> Ptr Word32 -> m (Ptr AudioSpec) Source #
loadWAV_RW :: MonadIO m => Ptr RWops -> CInt -> Ptr AudioSpec -> Ptr (Ptr Word8) -> Ptr Word32 -> m (Ptr AudioSpec) Source #
lockAudioDevice :: MonadIO m => AudioDeviceID -> m () Source #
mixAudioFormat :: MonadIO m => Ptr Word8 -> Ptr Word8 -> AudioFormat -> Word32 -> CInt -> m () Source #
openAudioDevice :: MonadIO m => CString -> CInt -> Ptr AudioSpec -> Ptr AudioSpec -> CInt -> m AudioDeviceID Source #
pauseAudio :: MonadIO m => CInt -> m () Source #
pauseAudioDevice :: MonadIO m => AudioDeviceID -> CInt -> m () Source #
queueAudio :: MonadIO m => AudioDeviceID -> Ptr () -> Word32 -> m CInt Source #
unlockAudio :: MonadIO m => m () Source #
unlockAudioDevice :: MonadIO m => AudioDeviceID -> m () Source #