diff --git a/plugins/spu2-x/src/Linux/Alsa.cpp b/plugins/spu2-x/src/Linux/Alsa.cpp
index 9bf0ff1de5..67c7bfde2b 100644
--- a/plugins/spu2-x/src/Linux/Alsa.cpp
+++ b/plugins/spu2-x/src/Linux/Alsa.cpp
@@ -223,7 +223,7 @@ public:
const wchar_t* GetLongName() const
{
- return L"Alsa ('tis all ya get)";
+ return L"Alsa";
}
void ReadSettings()
diff --git a/plugins/spu2-x/src/Linux/Config.cpp b/plugins/spu2-x/src/Linux/Config.cpp
index cfebfbe90e..08d64505f0 100644
--- a/plugins/spu2-x/src/Linux/Config.cpp
+++ b/plugins/spu2-x/src/Linux/Config.cpp
@@ -175,10 +175,8 @@ void DisplayDialog()
mod_box = gtk_combo_box_new_text ();
gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "0 - No Sound (emulate SPU2 only)");
gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "1 - PortAudio (cross-platform)");
- if (OutputModule == 0)
- gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), 0);
- else
- gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), 1);
+ //gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "2 - Alsa (probably doesn't work)");
+ gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), OutputModule);
latency_label = gtk_label_new ("Latency:");
latency_slide = gtk_hscale_new_with_range(LATENCY_MIN, LATENCY_MAX, 5);
@@ -246,10 +244,8 @@ void DisplayDialog()
if (gtk_combo_box_get_active(GTK_COMBO_BOX(reverb_box)) != -1)
ReverbBoost = gtk_combo_box_get_active(GTK_COMBO_BOX(reverb_box));
- if (gtk_combo_box_get_active(GTK_COMBO_BOX(mod_box)) != 1)
- OutputModule = 0;
- else
- OutputModule = FindOutputModuleById( PortaudioOut->GetIdent() );
+ if (gtk_combo_box_get_active(GTK_COMBO_BOX(mod_box)) != -1)
+ OutputModule = gtk_combo_box_get_active(GTK_COMBO_BOX(mod_box));
SndOutLatencyMS = gtk_range_get_value(GTK_RANGE(latency_slide));
diff --git a/plugins/spu2-x/src/Linux/SPU2-X.cbp b/plugins/spu2-x/src/Linux/SPU2-X.cbp
index 29a5912bf7..4ef2735763 100644
--- a/plugins/spu2-x/src/Linux/SPU2-X.cbp
+++ b/plugins/spu2-x/src/Linux/SPU2-X.cbp
@@ -68,30 +68,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/spu2-x/src/SndOut.cpp b/plugins/spu2-x/src/SndOut.cpp
index 0eef712446..edf2d71f01 100644
--- a/plugins/spu2-x/src/SndOut.cpp
+++ b/plugins/spu2-x/src/SndOut.cpp
@@ -89,6 +89,9 @@ SndOutModule* mods[]=
WaveOut,
#endif
PortaudioOut,
+#ifdef __LINUX__
+ AlsaOut,
+#endif
NULL // signals the end of our list
};
diff --git a/plugins/spu2-x/src/SndOut.h b/plugins/spu2-x/src/SndOut.h
index 9ba9f9e9e4..9d863eb34d 100644
--- a/plugins/spu2-x/src/SndOut.h
+++ b/plugins/spu2-x/src/SndOut.h
@@ -489,6 +489,9 @@ extern SndOutModule* DSoundOut;
extern SndOutModule* XAudio2Out;
#endif
extern SndOutModule* PortaudioOut;
+#ifdef __LINUX__
+extern SndOutModule* AlsaOut;
+#endif
extern SndOutModule* mods[];