Refactoring of player management and integration with the main window rendering

This commit is contained in:
Sylvain Schneider
2026-07-27 23:49:09 +02:00
parent cbe165aa85
commit ee6981bda3
34 changed files with 1122 additions and 181 deletions

View File

@@ -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 */