mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
first pass (ok, third really) at internal send+return - audio routing inside ardour without JACK. lots still to do, but at least the obvious works
git-svn-id: svn://localhost/ardour2/branches/3.0@5202 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9c8ee46c76
commit
86f24d20e1
43 changed files with 992 additions and 360 deletions
|
|
@ -99,6 +99,17 @@ MidiBuffer::read_from (const Buffer& src, nframes_t nframes, nframes_t dst_offse
|
|||
_silent = src.silent();
|
||||
}
|
||||
|
||||
void
|
||||
MidiBuffer::merge_from (const Buffer& src, nframes_t nframes, nframes_t dst_offset, nframes_t src_offset)
|
||||
{
|
||||
const MidiBuffer* mbuf = dynamic_cast<const MidiBuffer*>(&src);
|
||||
assert (mbuf);
|
||||
assert (mbuf != this);
|
||||
|
||||
/* XXX use nframes, and possible offsets */
|
||||
merge_in_place (*mbuf);
|
||||
}
|
||||
|
||||
/** Push an event into the buffer.
|
||||
*
|
||||
* Note that the raw MIDI pointed to by ev will be COPIED and unmodified.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue