diff --git a/pcsx2/SPU2/SndOut.cpp b/pcsx2/SPU2/SndOut.cpp index 38d13abf47..00a2010607 100644 --- a/pcsx2/SPU2/SndOut.cpp +++ b/pcsx2/SPU2/SndOut.cpp @@ -85,13 +85,6 @@ public: static NullOutModule s_NullOut; static SndOutModule* NullOut = &s_NullOut; -#ifdef _WIN32 -extern SndOutModule* XAudio2Out; -#endif -#if defined(SPU2X_CUBEB) -extern SndOutModule* CubebOut; -#endif - static SndOutModule* mods[] = { NullOut, diff --git a/pcsx2/SPU2/SndOut.h b/pcsx2/SPU2/SndOut.h index 1a2a1b454b..444ad25de2 100644 --- a/pcsx2/SPU2/SndOut.h +++ b/pcsx2/SPU2/SndOut.h @@ -488,6 +488,13 @@ public: virtual int GetEmptySampleCount() = 0; }; +#ifdef _WIN32 +extern SndOutModule* XAudio2Out; +#endif +#if defined(SPU2X_CUBEB) +extern SndOutModule* CubebOut; +#endif + // ===================================================================================================== extern bool WavRecordEnabled;