mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +01:00
Recording to SMF. Playback not quite working yet, just some buglets left to iron out.
git-svn-id: svn://localhost/ardour2/branches/midi@841 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7250433f50
commit
48a4dc072c
13 changed files with 602 additions and 52 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <pbd/pthread_utils.h>
|
||||
|
||||
#include <ardour/midi_source.h>
|
||||
#include <ardour/midi_ring_buffer.h>
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
@ -90,14 +91,14 @@ MidiSource::set_state (const XMLNode& node)
|
|||
}
|
||||
|
||||
jack_nframes_t
|
||||
MidiSource::read (MidiBuffer& dst, jack_nframes_t start, jack_nframes_t cnt) const
|
||||
MidiSource::read (MidiRingBuffer& 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 (MidiBuffer& dst, jack_nframes_t cnt)
|
||||
MidiSource::write (MidiRingBuffer& 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