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:
parent
84c93bbbe5
commit
9d05436964
1 changed files with 4 additions and 8 deletions
12
src/global.h
12
src/global.h
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue