Commit c362b8b0 authored by Stephane Letz's avatar Stephane Letz
Browse files

Add set_threaded_log_function in CoreMidi RT thread.

parent f21223cf
......@@ -195,7 +195,7 @@ OSStatus JackCoreAudioDriver::Render(void *inRefCon,
driver->fCurrentTime = (AudioTimeStamp *)inTimeStamp;
driver->fDriverOutputData = ioData;
// Setup threadded based log function once...
// Setup threaded based log function et get RT thread parameters once...
if (set_threaded_log_function()) {
jack_log("set_threaded_log_function");
......
......@@ -66,6 +66,8 @@ JackCoreMidiInputPort::Initialize(const char *alias_name,
void
JackCoreMidiInputPort::ProcessCoreMidi(const MIDIPacketList *packet_list)
{
set_threaded_log_function();
unsigned int packet_count = packet_list->numPackets;
assert(packet_count);
MIDIPacket *packet = (MIDIPacket *) packet_list->packet;
......
......@@ -45,7 +45,7 @@ namespace Jack {
MIDIEndpointRef endpoint, bool is_output);
double time_ratio;
MIDIEndpointRef endpoint;
MIDIEndpointRef endpoint;
public:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment