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:
Cameron Gutman
2018-06-27 01:39:48 -07:00
parent 0bd2274462
commit ce4e469b7b

View File

@@ -63,10 +63,6 @@ StartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION streamConf
// Hold onto this for our callbacks
g_ProgressBox = progressBox;
if (streamConfig->audioConfiguration < 0) {
// This signals to us that we should auto-detect
streamConfig->audioConfiguration = SdlDetermineAudioConfiguration();
}
LiInitializeConnectionCallbacks(&listener);
listener.stageStarting = ClStageStarting;