I just did a git pull of master and the compile failed with:
../../../../../src/osd/modules/sound/sdl_sound.cpp:110:13: error: ‘SDL_GetDefaultAudioInfo’ was not declared in this scope; did you mean ‘SDL_GetDefaultCursor’?
110 | if(!SDL_GetDefaultAudioInfo(&def_name, &def_spec, 0)) {
| ^~~~~~~~~~~~~~~~~~~~~~~
| SDL_GetDefaultCursor
make[2]: *** [osd_sdl.make:1387: ../../../../linux_gcc/obj/x64/Release/osd_sdl/src/osd/modules/sound/sdl_sound.o] Error 1
I'm still on Ubuntu 22.04.05 which has 2.0.20 libsdl2
from packages.ubuntu.com search:
jammy (22.04LTS) (libs): Simple DirectMedia Layer
2.0.20+dfsg-2build1: amd64 arm64 armhf i386 ppc64el riscv64 s390x
I see this pull at
https://github.com/mamedev/mame/pull/13632