Refactoring of player management and integration with the main window rendering
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
#include "TrackLockProxy.h"
|
||||
|
||||
#include "Track.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace track;
|
||||
//--------------------------------------------------------------
|
||||
/* Constructor */
|
||||
TrackLockProxy::TrackLockProxy(std::mutex &mtx, const NotesView notes)
|
||||
TrackLockProxy::TrackLockProxy(std::mutex &mtx, const Track *track)
|
||||
: m_lock(mtx)
|
||||
, m_notes(notes)
|
||||
, m_track(track)
|
||||
{
|
||||
m_notes = m_track->m_notes;
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
/* Access a note by index */
|
||||
|
||||
Reference in New Issue
Block a user