mirror of https://github.com/PCSX2/pcsx2.git
SDL Audio: Set app name hint
This commit is contained in:
parent
752b1420a3
commit
4a44d2668c
|
@ -37,6 +37,9 @@ static bool InitializeSDLAudio(Error* error)
|
||||||
if (initialized)
|
if (initialized)
|
||||||
return true;
|
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.
|
// May as well keep it alive until the process exits.
|
||||||
if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0)
|
if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue