-Change: Adjust recording timer so that the first event is at timestamp 0, instead of the timestamp within the jack frame.
git-svn-id: http://svn.fuzzle.org/mloop/trunk@36 ba049829-c6ef-42ef-81ac-908dd8d2e907
This commit is contained in:
@@ -98,6 +98,7 @@ int Jack::ProcessCallback(jack_nframes_t nframes)
|
||||
m_notecache.HandleEvent(ev);
|
||||
|
||||
if (m_recording) {
|
||||
if (m_delay_record) m_recording_time = -ev.time;
|
||||
ev.time += m_recording_time;
|
||||
if (m_loop_buffer->PushEvent(ev)) {
|
||||
m_delay_record = false;
|
||||
|
Reference in New Issue
Block a user