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.

  1. 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.

  2. 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.

  3. setMusicPositionMOD :: MonadIO m => Int -> m ()

    sdl2-mixer SDL.Mixer

    Similar to setMusicPosition, but works only with MOD Music. Pass in the pattern number.

  4. 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.

  5. 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.

  6. setDistance :: MonadIO m => Channel -> Word8 -> m CInt

    sdl2-mixer SDL.Raw.Mixer

    No documentation available.

  7. setMusicCMD :: MonadIO m => CString -> m CInt

    sdl2-mixer SDL.Raw.Mixer

    No documentation available.

  8. setMusicPosition :: MonadIO m => CDouble -> m CInt

    sdl2-mixer SDL.Raw.Mixer

    No documentation available.

  9. setPanning :: MonadIO m => Channel -> Word8 -> Word8 -> m CInt

    sdl2-mixer SDL.Raw.Mixer

    No documentation available.

  10. setPosition :: MonadIO m => Channel -> Int16 -> Word8 -> m CInt

    sdl2-mixer SDL.Raw.Mixer

    No documentation available.

Page 838 of many | Previous | Next