SDL-mixer-0.6.1: Binding to libSDL_mixer

Portability | portable
Stability | provisional
Maintainer | lemmih@gmail.com
Safe Haskell | None

Graphics.UI.SDL.Mixer.Music

Description

# Documentation

freeMusic :: Music -> IO ()Source

tryLoadMUS :: FilePath -> IO (Maybe Music)Source

loadMUS :: FilePath -> IO Music Source

tryPlayMusic :: Music -> Int -> IO Bool Source

playMusic :: Music -> Int -> IO ()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

haltMusic :: 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