Do unto MIDI as thou hath done unto audio.
git-svn-id: svn://localhost/ardour2/trunk@2582 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
||||
#include <glib.h>
|
||||
#include <ardour/base_midi_port.h>
|
||||
#include <ardour/data_type.h>
|
||||
|
||||
@@ -61,9 +61,5 @@ BaseMidiPort::default_mixdown (const set<Port*>& ports, MidiBuffer* dest, nframe
|
||||
void
|
||||
BaseMidiPort::set_mixdown_function (void (*func)(const set<Port*>&, MidiBuffer*, nframes_t, nframes_t, bool))
|
||||
{
|
||||
/* caller should (but not must) hold process lock since this is an atomic operation on most platforms
|
||||
and even if its not, it doesn't really matter.
|
||||
*/
|
||||
|
||||
_mixdown = func;
|
||||
g_atomic_pointer_set(&_mixdown, func);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user