SDL_Mixer failed on Windows Store

I submitted my game Slay to the MS Windows Store but it got rejected as they reported that my app exited after it called:

Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 2048);

I re-submitted the app with the only change (based on Lazy Foo’s settings):

Mix_OpenAudio(22050, MIX_DEFAULT_FORMAT, 2, 4096);

and it has now been accepted. Both versions worked fine for me locally though when I built the .appx file and installed it here so I’m not sure why it failed at MS’s end. Unfortunately the SDL_ShowSimpleMessageBox I draw if Mix_OpenAudio fails didn’t include the error code so I can’t report on what that error code was.

I was using SDL_Mixer 2.0.2, so I’ll update that, but not sure if that was relevant.

I’ve just now also had the same error reported from a user who bought my game through Steam. So it doesn’t look like it’s anything to do with being on the MS Store or being a .appx file, but it seems to me that on some Windows 10 computers calling:

Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 2048);

fails.