enable the experimental "threaded socket" code since one outstanding issue is now fixed :"fix for the "Multiple socket notifiers for same socket" error if threaded socket is used"

This commit is contained in:
Volker Fischer 2013-08-18 07:41:30 +00:00
parent 84c93bbbe5
commit 9d05436964

View File

@ -72,14 +72,10 @@ LED bar: lbr
// does not effect the stability of the audio stream (e.g. if the GUI is on
// high load because of a table update, the incoming network packets must still
// be put in the jitter buffer with highest priority).
// Unfortunately, the current implementation of the separate thread does not
// work correctly. Therefore we introduced this macro to enable/disable the new
// code. If the new code is enabled, under Windows Qt warnings like
// "QSocketNotifier: Multiple socket notifiers for same socket" appear and after
// a while the receive socket does not receive any new network packets anymore.
// This has to be solved!
//#define ENABLE_RECEIVE_SOCKET_IN_SEPARATE_THREAD
#undef ENABLE_RECEIVE_SOCKET_IN_SEPARATE_THREAD
// Since the new code is still in "experimental state", we introduced this macro
// to enable/disable the new code.
#define ENABLE_RECEIVE_SOCKET_IN_SEPARATE_THREAD
//#undef ENABLE_RECEIVE_SOCKET_IN_SEPARATE_THREAD