fixed bug with remote audio. You need to use variables after you make them...

This commit is contained in:
R. Aidan Campbell 2016-07-24 08:31:22 -04:00
parent 6ccf313761
commit c0e5b61425

View File

@ -376,7 +376,7 @@ function startGame(sourceEvent) {
streamWidth + "x" + streamHeight + "x" + frameRate, streamWidth + "x" + streamHeight + "x" + frameRate,
1, // Allow GFE to optimize game settings 1, // Allow GFE to optimize game settings
rikey, rikeyid, rikey, rikeyid,
0, // Play audio locally too remote_audio_enabled, // Play audio locally too
0x030002 // Surround channel mask << 16 | Surround channel count 0x030002 // Surround channel mask << 16 | Surround channel count
).then(function (ret) { ).then(function (ret) {
sendMessage('startRequest', [host, streamWidth, streamHeight, frameRate, sendMessage('startRequest', [host, streamWidth, streamHeight, frameRate,