On the face of the situation, the audio out port on the MacBook Pro 8,1 should not effect the video output — at least in theory but according to Mactracker the "mini display port" is actually a
Thunderbolt digital video output which is compatible with minidisplay and it also carries an audio signal as well. So there is a possibility one might effect the other.
Rain (the OP) indicated that sometimes everything works well and sometimes not and while a software glitch is not beyond the realm of possibility that is a symptom more often associated with hardware issues. I have a couple of possible theories...
- when the JBL On Tour speakers were plugged in the audio in port or more likely its connectors to the logic board were inadvertently damaged. This would be a relatively good thing as it would likely be an easy and inexpensive fix.
- as happens surprisingly often the problem with the NEC monitor and the audio are coincidental and unrelated to plugging in the JBL speakers (a.k.a. the worst case scenario.)
That leads to a coulee of troubleshooting queries…
- When the external monitor is DISconnected
- does the MacBool Pro display work reliably?
- are there any audio issues?
- Have you tried a different cable between the Thunderbolt port on the MacBook Pro and the NEC monitor?