mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-04 22:29:27 +02:00
Fix comments for WaveTrackFactory, remove friend
This commit is contained in:
parent
4ca3e7096f
commit
0e10a27172
@ -17,14 +17,13 @@
|
|||||||
\brief Used only by WaveTrack, a special way to hold location that
|
\brief Used only by WaveTrack, a special way to hold location that
|
||||||
can accommodate merged regions.
|
can accommodate merged regions.
|
||||||
|
|
||||||
*//****************************************************************//**
|
*//****************************************************************/
|
||||||
|
|
||||||
\class WaveTrackFactory
|
/*!
|
||||||
\brief Used to create a WaveTrack, or a LabelTrack.. Implementation
|
@class WaveTrackFactory
|
||||||
of the functions of this class are dispersed through the different
|
@brief Used to create or clone a WaveTrack, with appropriate context
|
||||||
Track classes.
|
from the project that will own the track.
|
||||||
|
*/
|
||||||
*//*******************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#include "WaveTrack.h"
|
#include "WaveTrack.h"
|
||||||
|
@ -673,11 +673,9 @@ class AUDACITY_DLL_API WaveTrackFactory final
|
|||||||
private:
|
private:
|
||||||
const ProjectSettings &mSettings;
|
const ProjectSettings &mSettings;
|
||||||
SampleBlockFactoryPtr mpFactory;
|
SampleBlockFactoryPtr mpFactory;
|
||||||
friend class AudacityProject;
|
|
||||||
public:
|
public:
|
||||||
// These methods are defined in WaveTrack.cpp, NoteTrack.cpp,
|
|
||||||
// LabelTrack.cpp, and TimeTrack.cpp respectively
|
|
||||||
std::shared_ptr<WaveTrack> DuplicateWaveTrack(const WaveTrack &orig);
|
std::shared_ptr<WaveTrack> DuplicateWaveTrack(const WaveTrack &orig);
|
||||||
std::shared_ptr<WaveTrack> NewWaveTrack(sampleFormat format = (sampleFormat)0,
|
std::shared_ptr<WaveTrack> NewWaveTrack(
|
||||||
|
sampleFormat format = (sampleFormat)0,
|
||||||
double rate = 0);
|
double rate = 0);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user