Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setChannels :: MonadIO m => Int -> m ()sdl2-mixer SDL.Mixer Prepares a given number of Channels for use. There are 8 such Channels already prepared for use after withAudio is called. You may call this multiple times, even with sounds playing. If setting a lesser number of Channels than are currently in use, the higher Channels will be stopped, their finish callbacks invoked, and their memory freed. Passing in 0 or less will therefore stop and free all mixing channels. Any Music playing is not affected by this function.
setMusicPosition :: MonadIO m => Position -> m ()sdl2-mixer SDL.Mixer Set the Position for currently playing Music. Note: this only works for OGG and MP3 Music.
setMusicPositionMOD :: MonadIO m => Int -> m ()sdl2-mixer SDL.Mixer Similar to setMusicPosition, but works only with MOD Music. Pass in the pattern number.
setMusicVolume :: MonadIO m => Volume -> m ()sdl2-mixer SDL.Mixer Sets the Volume for Music. Note that this won't work if any Music is currently fading.
setVolume :: (HasVolume a, MonadIO m) => Volume -> a -> m ()sdl2-mixer SDL.Mixer Sets a value's Volume. If the value is a Chunk, the volume setting only takes effect when the Chunk is used on a Channel, being mixed into the output. In case of being used on a Channel, the volume setting takes effect during the final mix, along with the Chunk volume. For instance, setting the Volume of a certain Channel to 64 will halve the volume of all Chunks played on that Channel. If AllChannels is used, sets all Channels to the given Volume instead.
setDistance :: MonadIO m => Channel -> Word8 -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.
setMusicCMD :: MonadIO m => CString -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.
setMusicPosition :: MonadIO m => CDouble -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.
setPanning :: MonadIO m => Channel -> Word8 -> Word8 -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.
setPosition :: MonadIO m => Channel -> Int16 -> Word8 -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.