mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 07:59:27 +02:00
Fix more comments ("it's" -> "its")
This commit is contained in:
parent
3297850341
commit
30ac43e195
@ -375,7 +375,7 @@ private:
|
||||
FFmpegLibs *PickFFmpegLibs();
|
||||
|
||||
///! Helper function - destroys FFmpegLibs object if there is no need for it
|
||||
///! anymore, or just decrements it's reference count
|
||||
///! anymore, or just decrements its reference count
|
||||
void DropFFmpegLibs();
|
||||
|
||||
// This object allows access to the AVFormatContext,
|
||||
|
@ -90,7 +90,7 @@ namespace FileNames
|
||||
wxString LowerCaseAppNameInPath( const wxString & dirIn);
|
||||
/** \brief Audacity user data directory
|
||||
*
|
||||
* Where audacity keeps it's settings and other user data squirreled away,
|
||||
* Where audacity keeps its settings and other user data squirreled away,
|
||||
* by default ~/.audacity-data/ on Unix, Application Data/Audacity on
|
||||
* windows system */
|
||||
FilePath DataDir();
|
||||
|
@ -2015,7 +2015,7 @@ void ExportFFmpegOptions::FindSelectedFormat(wxString **name, wxString **longnam
|
||||
// Get selected format short name
|
||||
wxString selfmt = mFormatList->GetString(selections[0]);
|
||||
|
||||
// Find it's index
|
||||
// Find its index
|
||||
int nFormat = make_iterator_range( mFormatNames ).index( selfmt );
|
||||
if (nFormat == wxNOT_FOUND) return;
|
||||
|
||||
@ -2036,7 +2036,7 @@ void ExportFFmpegOptions::FindSelectedCodec(wxString **name, wxString **longname
|
||||
// Get selected codec short name
|
||||
wxString selcdc = mCodecList->GetString(selections[0]);
|
||||
|
||||
// Find it's index
|
||||
// Find its index
|
||||
int nCodec = make_iterator_range( mCodecNames ).index( selcdc );
|
||||
if (nCodec == wxNOT_FOUND) return;
|
||||
|
||||
@ -2076,7 +2076,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 its NEW index
|
||||
if ((id >= 0) && codec->id == id) index = mShownCodecNames.size();
|
||||
mShownCodecNames.push_back(wxString::FromUTF8(codec->name));
|
||||
mShownCodecLongNames.push_back(wxString::Format(wxT("%s - %s"),mShownCodecNames.back(),wxString::FromUTF8(codec->long_name)));
|
||||
@ -2104,7 +2104,7 @@ int ExportFFmpegOptions::FetchCompatibleCodecList(const wxChar *fmt, AVCodecID i
|
||||
}
|
||||
}
|
||||
}
|
||||
// Format is not found - find format in libavformat and add it's default audio codec
|
||||
// Format is not found - find format in libavformat and add its default audio codec
|
||||
// This allows us to provide limited support for NEW formats without modifying the compatibility list
|
||||
else if (found == 0)
|
||||
{
|
||||
|
@ -294,10 +294,10 @@ private:
|
||||
|
||||
wxArrayStringEx mPresetNames;
|
||||
|
||||
/// Finds the format currently selected and returns it's name and description
|
||||
/// Finds the format currently selected and returns its name and description
|
||||
void FindSelectedFormat(wxString **name, wxString **longname);
|
||||
|
||||
/// Finds the codec currently selected and returns it's name and description
|
||||
/// Finds the codec currently selected and returns its name and description
|
||||
void FindSelectedCodec(wxString **name, wxString **longname);
|
||||
|
||||
/// Retrieves format list from libavformat
|
||||
|
@ -365,7 +365,7 @@ void ExportPCMOptions::GetEncodings(int enc)
|
||||
if (sf_format_check(&info))
|
||||
{
|
||||
// If this subtype matches our last saved encoding, remember
|
||||
// it's index so we can set it in the dialog.
|
||||
// its index so we can set it in the dialog.
|
||||
if (sub == enc)
|
||||
{
|
||||
mEncodingFromChoice = mEncodingIndexes.size();
|
||||
|
@ -992,7 +992,7 @@ KeyView::RefreshLines(bool bSort)
|
||||
node.line = linecnt++;
|
||||
mLines.push_back(&node);
|
||||
|
||||
// If this node is not open, then skip all of it's decendants
|
||||
// If this node is not open, then skip all of its decendants
|
||||
if (!node.isopen)
|
||||
{
|
||||
bool iscat = node.iscat;
|
||||
@ -1678,7 +1678,7 @@ KeyView::OnLeftDown(wxMouseEvent & event)
|
||||
// order as they appear in the menus. But, we want to sort the
|
||||
// "command" nodes.
|
||||
//
|
||||
// To accomplish this, we prepend each label with it's line number
|
||||
// To accomplish this, we prepend each label with its line number
|
||||
// (in hex) for "menu" nodes. This ensures they will remain in
|
||||
// their original order.
|
||||
//
|
||||
|
@ -34,7 +34,7 @@ DECLARE_EXPORTED_EVENT_TYPE(AUDACITY_DLL_API, EVT_FREQUENCYTEXTCTRL_UPDATED, -1)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(AUDACITY_DLL_API, EVT_BANDWIDTHTEXTCTRL_UPDATED,
|
||||
-1);
|
||||
|
||||
/** \brief struct to hold a formatting control string and it's user facing name
|
||||
/** \brief struct to hold a formatting control string and its user facing name
|
||||
* Used in an array to hold the built-in time formats that are always available
|
||||
* to the user */
|
||||
struct BuiltinFormatString;
|
||||
|
Loading…
x
Reference in New Issue
Block a user