Skip to content

Commit

Permalink
SPU2: Remove GetLongName() from SndOutModule
Browse files Browse the repository at this point in the history
Unused since WX.
  • Loading branch information
stenzek authored and refractionpcsx2 committed Mar 30, 2023
1 parent b00852f commit 27b4527
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions pcsx2/SPU2/SndOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions pcsx2/SPU2/SndOut.h
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,6 @@ class SndOutModule
// (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;

Expand Down
5 changes: 0 additions & 5 deletions pcsx2/SPU2/SndOut_Cubeb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ class Cubeb : public SndOutModule
return "cubeb";
}

const char* GetLongName() const override
{
return "Cubeb (Cross-platform)";
}

const char* const* GetBackendNames() const override
{
return cubeb_get_backend_names();
Expand Down
5 changes: 0 additions & 5 deletions pcsx2/SPU2/SndOut_XAudio2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,6 @@ class XAudio2Mod final : public SndOutModule
return "xaudio2";
}

const char* GetLongName() const override
{
return "XAudio 2 (Recommended)";
}

const char* const* GetBackendNames() const override
{
return nullptr;
Expand Down

0 comments on commit 27b4527

Please sign in to comment.