mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix double entries in audio output modules
This commit is contained in:
parent
9262422d01
commit
9ac5041b43
|
@ -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)
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue