Copyright | (c) David Himmelstrup 2005 |
---|---|
License | BSD-like |
Maintainer | lemmih@gmail.com |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Graphics.UI.SDL.Mixer.Music
Description
Documentation
tryLoadMUS :: FilePath -> IO (Maybe Music) Source #
tryPlayMusic :: Music -> Int -> IO Bool Source #
tryFadeInMusic :: Music -> Int -> Int -> IO Bool Source #
fadeInMusic :: Music -> Int -> Int -> IO () Source #
tryFadeInMusicPos :: Music -> Int -> Int -> Double -> IO Bool Source #
fadeInMusicPos :: Music -> Int -> Int -> Double -> IO () Source #
setMusicVolume :: Int -> IO () Source #
getMusicVolume :: IO Int Source #
modifyMusicVolume :: (Int -> Int) -> IO () Source #
pauseMusic :: IO () Source #
resumeMusic :: IO () Source #
rewindMusic :: IO () Source #
trySetMusicPosition :: Double -> IO Bool Source #
setMusicPosition :: Double -> IO () Source #
trySetMusicCmd :: String -> IO Bool Source #
setMusicCmd :: String -> IO () Source #
disableMusicCmd :: IO () Source #
tryFadeOutMusic :: Int -> IO Bool Source #
fadeOutMusic :: Int -> IO () Source #
getMusicType :: Maybe Music -> IO MusicType Source #
playingMusic :: IO Bool Source #
pausedMusic :: IO Bool Source #
fadingMusic :: IO Fading Source #