mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 13:44:17 +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:
parent
2c4f78133f
commit
77b767ae5b
2 changed files with 7 additions and 3 deletions
|
@ -341,10 +341,14 @@ ScrollView {
|
|||
textRole: "text"
|
||||
model: ListModel {
|
||||
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"
|
||||
val: StreamingPreferences.AC_AUTO
|
||||
}
|
||||
}*/
|
||||
ListElement {
|
||||
text: "Stereo"
|
||||
val: StreamingPreferences.AC_FORCE_STEREO
|
||||
|
|
|
@ -37,7 +37,7 @@ void StreamingPreferences::reload()
|
|||
playAudioOnHost = settings.value(SER_HOSTAUDIO, false).toBool();
|
||||
multiController = settings.value(SER_MULTICONT, true).toBool();
|
||||
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,
|
||||
static_cast<int>(VideoCodecConfig::VCC_AUTO)).toInt());
|
||||
videoDecoderSelection = static_cast<VideoDecoderSelection>(settings.value(SER_VIDEODEC,
|
||||
|
|
Loading…
Reference in a new issue