Module sdl2::mixer

source ·
Expand description

A binding for the library SDL2_mixer

Note that you need to build with the feature mixer for this module to be enabled, like so:

$ cargo build --features "mixer"

If you want to use this with from inside your own crate, you will need to add this in your Cargo.toml

[dependencies.sdl2]
version = ...
default-features = false
features = ["mixer"]

Structs

  • Sound effect channel.
  • The internal format for an audio chunk.
  • Sound effect channel grouping.
  • This is an opaque data type used for Music data.
  • Context manager for sdl2_mixer to manage init and quit

Enums

Constants

Traits

Functions

Type Aliases