mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Track::SetLinked() and Track::SetChannel() are private...
... but class WaveTrack needs to invoke SetLinked still during project load
This commit is contained in:
parent
beebe648fb
commit
32d767c7f5
@ -327,8 +327,11 @@ private:
|
||||
|
||||
Track *GetLink() const;
|
||||
bool GetLinked () const { return mLinked; }
|
||||
public:
|
||||
|
||||
friend WaveTrack; // WaveTrack needs to call SetLinked when reloading project
|
||||
void SetLinked (bool l);
|
||||
|
||||
void SetChannel(ChannelType c) { mChannel = c; }
|
||||
private:
|
||||
// No need yet to make this virtual
|
||||
void DoSetLinked(bool l);
|
||||
@ -380,7 +383,6 @@ public:
|
||||
void Offset(double t) { SetOffset(GetOffset() + t); }
|
||||
virtual void SetOffset (double o) { mOffset = o; }
|
||||
|
||||
void SetChannel(ChannelType c) { mChannel = c; }
|
||||
virtual void SetPan( float ){ ;}
|
||||
virtual void SetPanFromChannelType(){ ;};
|
||||
|
||||
|
@ -802,6 +802,7 @@ void WaveTrackMenuTable::OnSpectrogramSettings(wxCommandEvent &)
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
void WaveTrackMenuTable::OnChannelChange(wxCommandEvent & event)
|
||||
{
|
||||
int id = event.GetId();
|
||||
@ -834,6 +835,7 @@ void WaveTrackMenuTable::OnChannelChange(wxCommandEvent & event)
|
||||
_("Channel"));
|
||||
mpData->result = RefreshCode::RefreshAll;
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Merge two tracks into one stereo track ??
|
||||
void WaveTrackMenuTable::OnMergeStereo(wxCommandEvent &)
|
||||
|
Loading…
x
Reference in New Issue
Block a user