From 27b45276aefec924c5782e6b7487bcca3ef0880f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 31 Mar 2023 01:22:31 +1000 Subject: [PATCH] SPU2: Remove GetLongName() from SndOutModule Unused since WX. --- pcsx2/SPU2/SndOut.cpp | 5 ----- pcsx2/SPU2/SndOut.h | 4 ---- pcsx2/SPU2/SndOut_Cubeb.cpp | 5 ----- pcsx2/SPU2/SndOut_XAudio2.cpp | 5 ----- 4 files changed, 19 deletions(-) diff --git a/pcsx2/SPU2/SndOut.cpp b/pcsx2/SPU2/SndOut.cpp index f78b2131da..b349af90c6 100644 --- a/pcsx2/SPU2/SndOut.cpp +++ b/pcsx2/SPU2/SndOut.cpp @@ -48,11 +48,6 @@ namespace return "nullout"; } - const char* GetLongName() const override - { - return "No Sound (Emulate SPU2 only)"; - } - const char* const* GetBackendNames() const override { return nullptr; diff --git a/pcsx2/SPU2/SndOut.h b/pcsx2/SPU2/SndOut.h index b94adf9705..26e00c230c 100644 --- a/pcsx2/SPU2/SndOut.h +++ b/pcsx2/SPU2/SndOut.h @@ -326,10 +326,6 @@ public: // (usually just matches the driver's cpp filename) virtual const char* GetIdent() const = 0; - // Returns the long name / description for this driver. - // (for use in configuration screen) - virtual const char* GetLongName() const = 0; - // Returns a null-terminated list of backends, or nullptr. virtual const char* const* GetBackendNames() const = 0; diff --git a/pcsx2/SPU2/SndOut_Cubeb.cpp b/pcsx2/SPU2/SndOut_Cubeb.cpp index 69b1d74a7a..6e8571fd8f 100644 --- a/pcsx2/SPU2/SndOut_Cubeb.cpp +++ b/pcsx2/SPU2/SndOut_Cubeb.cpp @@ -378,11 +378,6 @@ public: return "cubeb"; } - const char* GetLongName() const override - { - return "Cubeb (Cross-platform)"; - } - const char* const* GetBackendNames() const override { return cubeb_get_backend_names(); diff --git a/pcsx2/SPU2/SndOut_XAudio2.cpp b/pcsx2/SPU2/SndOut_XAudio2.cpp index b9a712974d..8f4345ba8b 100644 --- a/pcsx2/SPU2/SndOut_XAudio2.cpp +++ b/pcsx2/SPU2/SndOut_XAudio2.cpp @@ -359,11 +359,6 @@ public: return "xaudio2"; } - const char* GetLongName() const override - { - return "XAudio 2 (Recommended)"; - } - const char* const* GetBackendNames() const override { return nullptr;