mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
We can't change audio config after sending the launch or resume request, so autodetection will need to happen earlier
This commit is contained in:
@@ -63,10 +63,6 @@ StartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION streamConf
|
|||||||
// Hold onto this for our callbacks
|
// Hold onto this for our callbacks
|
||||||
g_ProgressBox = progressBox;
|
g_ProgressBox = progressBox;
|
||||||
|
|
||||||
if (streamConfig->audioConfiguration < 0) {
|
|
||||||
// This signals to us that we should auto-detect
|
|
||||||
streamConfig->audioConfiguration = SdlDetermineAudioConfiguration();
|
|
||||||
}
|
|
||||||
|
|
||||||
LiInitializeConnectionCallbacks(&listener);
|
LiInitializeConnectionCallbacks(&listener);
|
||||||
listener.stageStarting = ClStageStarting;
|
listener.stageStarting = ClStageStarting;
|
||||||
|
|||||||
Reference in New Issue
Block a user