From ce4e469b7b4c82291dc26c64147c16f3e3668c13 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 27 Jun 2018 01:39:48 -0700 Subject: [PATCH] We can't change audio config after sending the launch or resume request, so autodetection will need to happen earlier --- app/streaming/connection.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/streaming/connection.cpp b/app/streaming/connection.cpp index f1bfd02c..1f642ead 100644 --- a/app/streaming/connection.cpp +++ b/app/streaming/connection.cpp @@ -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;