mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-08 09:27:11 +01:00
Hold safer shared_ptrs to tracks in MixerBoard
This commit is contained in:
@@ -77,7 +77,7 @@ class MixerTrackCluster final : public wxPanelWrapper
|
||||
public:
|
||||
MixerTrackCluster(wxWindow* parent,
|
||||
MixerBoard* grandParent, AudacityProject* project,
|
||||
PlayableTrack* pTrack,
|
||||
const std::shared_ptr<PlayableTrack> &pTrack,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize);
|
||||
virtual ~MixerTrackCluster() {}
|
||||
@@ -134,7 +134,7 @@ private:
|
||||
|
||||
|
||||
public:
|
||||
PlayableTrack * mTrack;
|
||||
std::shared_ptr<PlayableTrack> mTrack;
|
||||
|
||||
private:
|
||||
MixerBoard* mMixerBoard;
|
||||
|
||||
Reference in New Issue
Block a user