mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Hide autodetect option for audio configuration since it's broken on macOS and Linux (and to some extent, Windows)
This commit is contained in:
@@ -341,10 +341,14 @@ ScrollView {
|
|||||||
textRole: "text"
|
textRole: "text"
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
id: audioListModel
|
id: audioListModel
|
||||||
ListElement {
|
// Detection of audio channels only works on Windows
|
||||||
|
// and even so, it's still unreliable because audio devices
|
||||||
|
// lie about how many channels they can support. Hide the
|
||||||
|
// option to autodetect until this is resolved.
|
||||||
|
/*ListElement {
|
||||||
text: "Autodetect"
|
text: "Autodetect"
|
||||||
val: StreamingPreferences.AC_AUTO
|
val: StreamingPreferences.AC_AUTO
|
||||||
}
|
}*/
|
||||||
ListElement {
|
ListElement {
|
||||||
text: "Stereo"
|
text: "Stereo"
|
||||||
val: StreamingPreferences.AC_FORCE_STEREO
|
val: StreamingPreferences.AC_FORCE_STEREO
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ void StreamingPreferences::reload()
|
|||||||
playAudioOnHost = settings.value(SER_HOSTAUDIO, false).toBool();
|
playAudioOnHost = settings.value(SER_HOSTAUDIO, false).toBool();
|
||||||
multiController = settings.value(SER_MULTICONT, true).toBool();
|
multiController = settings.value(SER_MULTICONT, true).toBool();
|
||||||
audioConfig = static_cast<AudioConfig>(settings.value(SER_AUDIOCFG,
|
audioConfig = static_cast<AudioConfig>(settings.value(SER_AUDIOCFG,
|
||||||
static_cast<int>(AudioConfig::AC_AUTO)).toInt());
|
static_cast<int>(AudioConfig::AC_FORCE_STEREO)).toInt());
|
||||||
videoCodecConfig = static_cast<VideoCodecConfig>(settings.value(SER_VIDEOCFG,
|
videoCodecConfig = static_cast<VideoCodecConfig>(settings.value(SER_VIDEOCFG,
|
||||||
static_cast<int>(VideoCodecConfig::VCC_AUTO)).toInt());
|
static_cast<int>(VideoCodecConfig::VCC_AUTO)).toInt());
|
||||||
videoDecoderSelection = static_cast<VideoDecoderSelection>(settings.value(SER_VIDEODEC,
|
videoDecoderSelection = static_cast<VideoDecoderSelection>(settings.value(SER_VIDEODEC,
|
||||||
|
|||||||
Reference in New Issue
Block a user