mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
More solid "fake" recording and serialization
git-svn-id: svn://localhost/ardour2/branches/midi@825 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d752986314
commit
5952c48a84
16 changed files with 84 additions and 52 deletions
|
|
@ -90,14 +90,14 @@ MidiSource::set_state (const XMLNode& node)
|
|||
}
|
||||
|
||||
jack_nframes_t
|
||||
MidiSource::read (RawMidi* dst, jack_nframes_t start, jack_nframes_t cnt) const
|
||||
MidiSource::read (MidiBuffer& dst, jack_nframes_t start, jack_nframes_t cnt) const
|
||||
{
|
||||
Glib::Mutex::Lock lm (_lock);
|
||||
return read_unlocked (dst, start, cnt);
|
||||
}
|
||||
|
||||
jack_nframes_t
|
||||
MidiSource::write (RawMidi* dst, jack_nframes_t cnt)
|
||||
MidiSource::write (MidiBuffer& dst, jack_nframes_t cnt)
|
||||
{
|
||||
Glib::Mutex::Lock lm (_lock);
|
||||
return write_unlocked (dst, cnt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue