Showing the changes to src (2 of 2 files). Show all
Unified · Split
| @@ -90,7 +90,7 @@ · 89 unmodified lines | ||
| 90 | 90 | |
| 91 | 91 | |
| 92 | 92 | // chuck statics |
| 93 | −const char ChucK::VERSION[] = "1.4.2.1-bleed-2023.02.20 (numchucks)"; | |
| 93 | +const char ChucK::VERSION[] = "1.4.2.1-bleed-2023.02.21 (numchucks)"; | |
| 94 | 94 | t_CKUINT ChucK::o_numVMs = 0; |
| 95 | 95 | t_CKBOOL ChucK::o_isGlobalInit = FALSE; |
| 96 | 96 | t_CKBOOL ChucK::enableSystemCall = FALSE; |
| @@ -310,7 +310,13 @@ public: · 309 unmodified lines | ||
| 310 | 310 | } |
| 311 | 311 | |
| 312 | 312 | int port(int port) { m_port = port; return m_port; } |
| 313 | − int port() { return OscInServer::forPort(m_port)->port(); } | |
| 313 | + int port() | |
| 314 | + { | |
| 315 | + // 1.4.2.1 (ge) simply return the current m_port | |
| 316 | + return m_port; | |
| 317 | + // previously (which returns an assigned port is always set) | |
| 318 | + // return OscInServer::forPort(m_port)->port(); | |
| 319 | + } | |
| 314 | 320 | |
| 315 | 321 | private: |
| 316 | 322 | |