libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
sound.hpp File Reference

SDL_mixer audio subsystem wrapper (requires WITH_MIXER build flag). More...

#include "config.h"
#include "SDL.h"
#include "SDL_mixer.h"
#include <vector>
#include <string>
Include dependency graph for sound.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mx::Mixer
 SDL_mixer–based audio manager. More...

Namespaces

namespace  mx

Detailed Description

SDL_mixer audio subsystem wrapper (requires WITH_MIXER build flag).

The Mixer class manages loading and playback of both background music (Mix_Music) and short sound effects (Mix_Chunk).

Definition in file sound.hpp.