1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

"new"->"NEW" in comments, easier to find remaining naked operator new

This commit is contained in:
Paul Licameli
2016-02-13 10:43:16 -05:00
parent 56e7653343
commit 7c4c45a0d5
143 changed files with 451 additions and 451 deletions

View File

@@ -93,7 +93,7 @@ bool ExportPlugin::CheckFileName(wxFileName & WXUNUSED(filename), int WXUNUSED(f
return true;
}
/** \brief Add a new entry to the list of formats this plug-in can export
/** \brief Add a NEW entry to the list of formats this plug-in can export
*
* To configure the format use SetFormat, SetCanMetaData etc with the index of
* the format.

View File

@@ -15,7 +15,7 @@
class ExportPlugin;
/** The only part of this class which is publically accessible is the
* factory method New_ExportCL() which creates a new ExportCL object and
* factory method New_ExportCL() which creates a NEW ExportCL object and
* returns a pointer to it. The rest of the class declaration is in ExportCL.cpp
*/
ExportPlugin *New_ExportCL();

View File

@@ -14,7 +14,7 @@ LRN
class ExportPlugin;
/** The only part of this class which is publically accessible is the
* factory method New_ExportFFmpeg() which creates a new ExportFFmpeg object and
* factory method New_ExportFFmpeg() which creates a NEW ExportFFmpeg object and
* returns a pointer to it. The rest of the class declaration is in ExportFFmpeg.cpp
*/
ExportPlugin *New_ExportFFmpeg();

View File

@@ -1621,7 +1621,7 @@ int ExportFFmpegOptions::FetchCompatibleCodecList(const wxChar *fmt, AVCodecID i
// If it exists, is audio and has encoder
if (codec != NULL && (codec->type == AVMEDIA_TYPE_AUDIO) && av_codec_is_encoder(codec))
{
// If it was selected - remember it's new index
// If it was selected - remember it's NEW index
if ((id >= 0) && codec->id == id) index = mShownCodecNames.GetCount();
mShownCodecNames.Add(wxString::FromUTF8(codec->name));
mShownCodecLongNames.Add(wxString::Format(wxT("%s - %s"),mShownCodecNames.Last().c_str(),wxString::FromUTF8(codec->long_name).c_str()));
@@ -1646,7 +1646,7 @@ int ExportFFmpegOptions::FetchCompatibleCodecList(const wxChar *fmt, AVCodecID i
}
}
// Format is not found - find format in libavformat and add it's default audio codec
// This allows us to provide limited support for new formats without modifying the compatibility list
// This allows us to provide limited support for NEW formats without modifying the compatibility list
else if (found == 0)
{
wxCharBuffer buf = str.ToUTF8();
@@ -1662,7 +1662,7 @@ int ExportFFmpegOptions::FetchCompatibleCodecList(const wxChar *fmt, AVCodecID i
}
}
}
// Show new codec list
// Show NEW codec list
mCodecList->Append(mShownCodecNames);
return index;

View File

@@ -277,7 +277,7 @@ private:
/// Retreives a list of formats compatible to codec
///\param id Codec ID
///\param selfmt format selected at the moment
///\return index of the selfmt in new format list or -1 if it is not in the list
///\return index of the selfmt in NEW format list or -1 if it is not in the list
int FetchCompatibleFormatList(AVCodecID id, wxString *selfmt);
/// Retreives codec list from libavcodec
@@ -286,7 +286,7 @@ private:
/// Retreives a list of codecs compatible to format
///\param fmt Format short name
///\param id id of the codec selected at the moment
///\return index of the id in new codec list or -1 if it is not in the list
///\return index of the id in NEW codec list or -1 if it is not in the list
int FetchCompatibleCodecList(const wxChar *fmt, AVCodecID id);
/// Retreives list of presets from configuration file

View File

@@ -14,7 +14,7 @@
class ExportPlugin;
/* The only part of this class which is publically accessible is the
* factory method New_ExportFLAC() which creates a new ExportFLAC object and
* factory method New_ExportFLAC() which creates a NEW ExportFLAC object and
* returns a pointer to it. The rest of the class declaration is in ExportFLAC.cpp
*/
ExportPlugin *New_ExportFLAC();

View File

@@ -15,7 +15,7 @@
class ExportPlugin;
/** The only part of this class which is publically accessible is the
* factory method New_ExportMP2() which creates a new ExportMP2 object and
* factory method New_ExportMP2() which creates a NEW ExportMP2 object and
* returns a pointer to it. The rest of the class declaration is in ExportMP2.cpp
*/
ExportPlugin *New_ExportMP2();

View File

@@ -16,7 +16,7 @@
class ExportPlugin;
class wxString;
class wxWindow;
/** Factory method New_ExportMP3() which creates a new ExportMP3 object and
/** Factory method New_ExportMP3() which creates a NEW ExportMP3 object and
* returns a pointer to it. The rest of the class declaration is in ExportMP3.cpp
*/
ExportPlugin *New_ExportMP3();

View File

@@ -239,7 +239,7 @@ int ExportOGG::Export(AudacityProject *project,
ogg_stream_packetin(&stream, &codebook_header);
// Flushing these headers now guarentees that audio data will
// start on a new page, which apparently makes streaming easier
// start on a NEW page, which apparently makes streaming easier
while (ogg_stream_flush(&stream, &page)) {
outFile.Write(page.header, page.header_len);
outFile.Write(page.body, page.body_len);

View File

@@ -14,7 +14,7 @@
class ExportPlugin;
/** The only part of this class which is publically accessible is the
* factory method New_ExportOGG() which creates a new ExportOGG object and
* factory method New_ExportOGG() which creates a NEW ExportOGG object and
* returns a pointer to it. The rest of the class declaration is in ExportOGG.cpp
*/
ExportPlugin *New_ExportOGG();

View File

@@ -14,7 +14,7 @@
class ExportPlugin;
/** The only part of this class which is publically accessible is the
* factory method New_ExportPCM() which creates a new ExportPCM object and
* factory method New_ExportPCM() which creates a NEW ExportPCM object and
* returns a pointer to it. The rest of the class declaration is in ExportPCM.cpp
*/
ExportPlugin *New_ExportPCM();