SDL Audio: Set app name hint

This commit is contained in:
Ziemas 2025-02-15 22:12:26 +01:00 committed by Ty
parent 752b1420a3
commit 4a44d2668c
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ static bool InitializeSDLAudio(Error* error)
if (initialized)
return true;
// Set the name that shows up in the audio mixers on some platforms
SDL_SetHint("SDL_AUDIO_DEVICE_APP_NAME", "PCSX2");
// May as well keep it alive until the process exits.
if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0)
{