Skip to content

Commit d839b56

Browse files
committed
Merge branch 'event-broadcaster-json-release' of https://github.com/tne-lab/plugin-GUI into event-broadcaster-json-release
2 parents 3d486d1 + 6bd8740 commit d839b56

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Source/Plugins/EventBroadcaster/EventBroadcaster.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ void* EventBroadcaster::ZMQContext::createZMQSocket()
3434
jassert(context != nullptr);
3535
return zmq_socket(context, ZMQ_PUB);
3636
#else
37+
jassertfalse; // should never be called in this case
3738
return nullptr;
3839
#endif
3940
}
@@ -214,6 +215,18 @@ void EventBroadcaster::setOutputFormat(int format)
214215
outputFormat = format;
215216
}
216217

218+
int EventBroadcaster::getOutputFormat() const
219+
{
220+
return outputFormat;
221+
}
222+
223+
224+
void EventBroadcaster::setOutputFormat(int format)
225+
{
226+
outputFormat = format;
227+
}
228+
229+
217230
void EventBroadcaster::process(AudioSampleBuffer& continuousBuffer)
218231
{
219232
checkForEvents(true);
@@ -410,6 +423,7 @@ void EventBroadcaster::sendEvent(const InfoObjectCommon* channel, const MidiMess
410423

411424
sendMessage(message);
412425
#endif
426+
return 0;
413427
}
414428

415429
int EventBroadcaster::sendMessage(const Array<MsgPart>& parts) const

0 commit comments

Comments
 (0)