summaryrefslogtreecommitdiffstats
path: root/src/libs/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/shared')
-rw-r--r--src/libs/shared/OSCSender.cpp4
-rw-r--r--src/libs/shared/OSCSender.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/shared/OSCSender.cpp b/src/libs/shared/OSCSender.cpp
index 340786db..3936cf96 100644
--- a/src/libs/shared/OSCSender.cpp
+++ b/src/libs/shared/OSCSender.cpp
@@ -94,8 +94,8 @@ void
OSCSender::send_message(const char* path, lo_message msg)
{
// FIXME: size? liblo doesn't export this.
- // Don't want to exceed max UDP packet size (1500 bytes?)
- static const size_t MAX_BUNDLE_SIZE = 1500 - 32*5;
+ // Don't want to exceed max UDP packet size (good default value?)
+ static const size_t MAX_BUNDLE_SIZE = 1024;
if (!_enabled)
return;
diff --git a/src/libs/shared/OSCSender.hpp b/src/libs/shared/OSCSender.hpp
index 16b6dd22..da91caed 100644
--- a/src/libs/shared/OSCSender.hpp
+++ b/src/libs/shared/OSCSender.hpp
@@ -27,7 +27,7 @@ namespace Shared {
class OSCSender {
public:
OSCSender();
- ~OSCSender();
+ virtual ~OSCSender() {}
lo_address address() const { return _address; }