Solved [Moonlight] Surround sound and quit issues
- 
					
					
					
					
Hi
Can someone talk me through the process of adding the "-surround" option to Moonlight on recalbox.
Another problem I have is whenever I quit a PC game being streamed via Moonlight it freezes (on PC and pi3) with nVidia Moonlight grey background. Is this is known bug? Is there a fix for this? I have to shutdown the task on the PC side before the screens return to normal. - 
					
					
					
					
Hi,
The sutdown problem can happen sometimes. Don't know the steps to reproduce it, neither how to solve it. This happened to me a few times.
Concerning your option, have a look at the moonlight.conf in the configs/moonlight folder, it's easier than adding a parameter to the binary
 - 
					
					
					
					
Do you mean /recalbox/share/system/configs/moonlight/moonlight.conf ?
 - 
					
					
					
					
Yes my good sir
 - 
					
					
					
					
I don't see anything regarding "-surround" in moonlight.conf
 - 
					
					
					
					
i hoped it would work, but no
then you have to :
mount -o remount, rw /nano /usr/lib/python2.7/site-packages/configgen/generators/moonlight/moonlightGenerator.py- add 
commandArray.append('-surround')just beforecommandArray.append('-app')(you MUST respect the indentation !!!!!) - save the file (CTRL+X, say yes everytime)
 - launch your game
 
 - 
					
					
					
					
@subs
It worked!! Home Theatre show Multi Input now.
You guys are on another level. Thank you!
Am I pushing my luck by asking whether Retroarch games (MAME) can be output in 5.1 surround sound? - 
					
					
					
					
Do you realise stereo barely existed at tjat time on arcade cabs ?

 - 
					
					
					
					
 lol, yes.