Qt: Fix double entries in audio output modules

This commit is contained in:
Connor McLaughlin 2022-03-26 18:22:38 +10:00 committed by refractionpcsx2
parent 9262422d01
commit 9ac5041b43
2 changed files with 3 additions and 19 deletions

View File

@ -40,7 +40,7 @@ static const char* s_output_module_entries[] = {
#ifdef _WIN32 #ifdef _WIN32
QT_TRANSLATE_NOOP("AudioSettingsWidget", "XAudio2"), QT_TRANSLATE_NOOP("AudioSettingsWidget", "XAudio2"),
#endif #endif
nullptr nullptr
}; };
static const char* s_output_module_values[] = { static const char* s_output_module_values[] = {
"nullout", "nullout",
@ -48,7 +48,7 @@ static const char* s_output_module_values[] = {
#ifdef _WIN32 #ifdef _WIN32
"xaudio2", "xaudio2",
#endif #endif
nullptr nullptr
}; };
AudioSettingsWidget::AudioSettingsWidget(SettingsDialog* dialog, QWidget* parent) AudioSettingsWidget::AudioSettingsWidget(SettingsDialog* dialog, QWidget* parent)

View File

@ -147,23 +147,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="outputModule"> <widget class="QComboBox" name="outputModule" />
<item>
<property name="text">
<string>No Sound (Emulate SPU2 only)</string>
</property>
</item>
<item>
<property name="text">
<string>Cubeb (Cross-platform)</string>
</property>
</item>
<item>
<property name="text">
<string>XAudio2</string>
</property>
</item>
</widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">