mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-03 22:19:07 +02:00
Better comments in WaveClip.* after commit 1276968
This commit is contained in:
parent
6c2cd2057c
commit
0c92d1ed74
@ -138,7 +138,7 @@ WaveClip::WaveClip(const WaveClip& orig,
|
|||||||
bool copyCutlines)
|
bool copyCutlines)
|
||||||
{
|
{
|
||||||
// essentially a copy constructor - but you must pass in the
|
// essentially a copy constructor - but you must pass in the
|
||||||
// current project, because we might be copying
|
// current sample block factory, because we might be copying
|
||||||
// from one project to another
|
// from one project to another
|
||||||
|
|
||||||
mOffset = orig.mOffset;
|
mOffset = orig.mOffset;
|
||||||
|
@ -173,7 +173,8 @@ public:
|
|||||||
class AUDACITY_DLL_API WaveClip final : public XMLTagHandler
|
class AUDACITY_DLL_API WaveClip final : public XMLTagHandler
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
// It is an error to copy a WaveClip without specifying the project.
|
// It is an error to copy a WaveClip without specifying the
|
||||||
|
// sample block factory.
|
||||||
|
|
||||||
WaveClip(const WaveClip&) PROHIBITED;
|
WaveClip(const WaveClip&) PROHIBITED;
|
||||||
WaveClip& operator= (const WaveClip&) PROHIBITED;
|
WaveClip& operator= (const WaveClip&) PROHIBITED;
|
||||||
@ -184,7 +185,7 @@ public:
|
|||||||
int rate, int colourIndex);
|
int rate, int colourIndex);
|
||||||
|
|
||||||
// essentially a copy constructor - but you must pass in the
|
// essentially a copy constructor - but you must pass in the
|
||||||
// current project, because we might be copying
|
// current sample block factory, because we might be copying
|
||||||
// from one project to another
|
// from one project to another
|
||||||
WaveClip(const WaveClip& orig,
|
WaveClip(const WaveClip& orig,
|
||||||
const SampleBlockFactoryPtr &factory,
|
const SampleBlockFactoryPtr &factory,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user