SDL_mixer icon indicating copy to clipboard operation
SDL_mixer copied to clipboard

SDL_mixer: Adding the ability to have multiple sound devices to each have their own mixer

Open superhac opened this issue 11 months ago • 2 comments

Hi! I was looking to have two sound devices in use simultaneously with each having its own mixer. From what I've been able to determine is that you can open multiple mixers on different sound devices but you can't specify which one you would like to use with any of the calls that affect the mixer. For instance this one: https://wiki.libsdl.org/SDL3_mixer/Mix_FadeInMusic. I asked about this and it was confirmed on the Discord channel as a limitation. Do you think we could get this added to next release of SDL mixer?

Thanks!

superhac avatar Jan 17 '25 13:01 superhac

Yes, we'll keep this in mind for SDL_mixer 3.0 release.

slouken avatar Jan 17 '25 16:01 slouken

That's great. Thank you!

superhac avatar Jan 17 '25 17:01 superhac

You can do this with the new SDL3_mixer API that just landed in main!

icculus avatar Jul 24 '25 04:07 icculus