mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
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:
parent
0051f92a4c
commit
13fce7e753
1 changed files with 2 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue