Skip to content

Commit

Permalink
Qt: Fix double entries in audio output modules
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek authored and refractionpcsx2 committed Mar 26, 2022
1 parent 9262422 commit 9ac5041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
4 changes: 2 additions & 2 deletions pcsx2-qt/Settings/AudioSettingsWidget.cpp
Expand Up @@ -40,15 +40,15 @@ static const char* s_output_module_entries[] = {
#ifdef _WIN32
QT_TRANSLATE_NOOP("AudioSettingsWidget", "XAudio2"),
#endif
nullptr
nullptr
};
static const char* s_output_module_values[] = {
"nullout",
"cubeb",
#ifdef _WIN32
"xaudio2",
#endif
nullptr
nullptr
};

AudioSettingsWidget::AudioSettingsWidget(SettingsDialog* dialog, QWidget* parent)
Expand Down
18 changes: 1 addition & 17 deletions pcsx2-qt/Settings/AudioSettingsWidget.ui
Expand Up @@ -147,23 +147,7 @@
</widget>
</item>
<item row="0" column="1">
<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>
<widget class="QComboBox" name="outputModule" />
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
Expand Down

0 comments on commit 9ac5041

Please sign in to comment.