Registry / other / sdl2-mixer-ext

sdl2-mixer-ext

JSON →
library2.6.0vcpkgunverified

An audio mixer library based on the SDL library, a fork of SDL_mixer

vcpkg install sdl2-mixer-ext
INSTALL
IMPORT
SIG · SDL2-MIXER-EXT
S
sdl2-mixer-ext
othercppv2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SDL_mixer_ext.h
#include <SDL_mixer_ext.h>

Initialize SDL_mixer_ext and play a WAV sound

#include "SDL_mixer_ext.h" #include <iostream> int main() { if (Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 2048) < 0) { std::cerr << "Failed to open audio: " << Mix_GetError() << std::endl; return 1; } Mix_Chunk* sound = Mix_LoadWAV("sound.wav"); if (sound) { Mix_PlayChannel(-1, sound, 0); } Mix_CloseAudio(); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

sdl2-mixer-ext — pip install sdl2-mixer-ext · libregistry