mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 15:19:44 +02:00
Fix some spelling mistakes.
This commit is contained in:
parent
c13407d692
commit
2593a84d56
@ -167,7 +167,7 @@ The current algorithm for determining which image to use is:
|
|||||||
|
|
||||||
This is handled in function \ref ThemeBase::LoadThemeAtStartUp(). Once the
|
This is handled in function \ref ThemeBase::LoadThemeAtStartUp(). Once the
|
||||||
deprecated XPMs have been removed, we wil switch over to using the built
|
deprecated XPMs have been removed, we wil switch over to using the built
|
||||||
in 'ThemeAsCeeCode.h' defualts where we currently use the XPM defaults.
|
in 'ThemeAsCeeCode.h' defaults where we currently use the XPM defaults.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ the program like so:
|
|||||||
|
|
||||||
This reserves a 64 x 64 pixel bitmap. You can now refer to it from within the
|
This reserves a 64 x 64 pixel bitmap. You can now refer to it from within the
|
||||||
program using bmpSomeNewImage. If you add images on to the end of the list
|
program using bmpSomeNewImage. If you add images on to the end of the list
|
||||||
you will generally have the least problems with compatability of versions.
|
you will generally have the least problems with compatibility of versions.
|
||||||
If you are adding many images, the most efficient packing of images occurs
|
If you are adding many images, the most efficient packing of images occurs
|
||||||
when the images are added in tallest-first order since Audacity starts a new
|
when the images are added in tallest-first order since Audacity starts a new
|
||||||
row whenever the height increases.
|
row whenever the height increases.
|
||||||
|
@ -119,7 +119,7 @@ class ImporterClientInterface
|
|||||||
public:
|
public:
|
||||||
virtual ~ImporterClientInterface() {};
|
virtual ~ImporterClientInterface() {};
|
||||||
|
|
||||||
// Provides a pointer to the assocated host for this importer.
|
// Provides a pointer to the associated host for this importer.
|
||||||
virtual void SetHost(ImporterHostInterface *host) = 0;
|
virtual void SetHost(ImporterHostInterface *host) = 0;
|
||||||
|
|
||||||
// Open the given file, returning true if it is a recognized
|
// Open the given file, returning true if it is a recognized
|
||||||
|
@ -158,14 +158,14 @@ other. Alternative to SoundTouch, better on large changes but slower.
|
|||||||
Version in Audacity SVN: 2.0.2
|
Version in Audacity SVN: 2.0.2
|
||||||
Patches:
|
Patches:
|
||||||
Misc fixes to configure.in/Makefile.am for autoconf macros and libtool. More
|
Misc fixes to configure.in/Makefile.am for autoconf macros and libtool. More
|
||||||
files added to m4/ directory by libtoolizing commited to Audacity SVN.
|
files added to m4/ directory by libtoolizing committed to Audacity SVN.
|
||||||
AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds
|
AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds
|
||||||
by default
|
by default
|
||||||
dont-mangle-cflags.patch patch to stop sed-ing the CXXFLAGS and achieve the
|
dont-mangle-cflags.patch patch to stop sed-ing the CXXFLAGS and achieve the
|
||||||
same ends by better means, replacing a hacked version from Gentoo. Patch
|
same ends by better means, replacing a hacked version from Gentoo. Patch
|
||||||
linked to from upstream tracker at
|
linked to from upstream tracker at
|
||||||
https://sourceforge.net/tracker/index.php?func=detail&aid=2561247&group_id=177794&atid=882654
|
https://sourceforge.net/tracker/index.php?func=detail&aid=2561247&group_id=177794&atid=882654
|
||||||
because attachements there don't seem to work.
|
because attachments there don't seem to work.
|
||||||
autotools.patch: Fix all autotools warnings.
|
autotools.patch: Fix all autotools warnings.
|
||||||
autotools-fix-make-dist.patch: Correct file lists to make dist target work.
|
autotools-fix-make-dist.patch: Correct file lists to make dist target work.
|
||||||
sbsms-srcdir.patch: Adds srcdir handling
|
sbsms-srcdir.patch: Adds srcdir handling
|
||||||
@ -173,7 +173,7 @@ sbsms-srcdir.patch: Adds srcdir handling
|
|||||||
soundtouch
|
soundtouch
|
||||||
----------
|
----------
|
||||||
http://www.surina.net/soundtouch/
|
http://www.surina.net/soundtouch/
|
||||||
Independant Pitch and Tempo changing library.
|
Independent Pitch and Tempo changing library.
|
||||||
Version in Audacity SVN: 1.7.1
|
Version in Audacity SVN: 1.7.1
|
||||||
Patches: autotools.patch: Fix all autotools warnings.
|
Patches: autotools.patch: Fix all autotools warnings.
|
||||||
AM_MAINTAINER_MODE([disable]) has been added to configure.ac to disable autotools rebuilds.
|
AM_MAINTAINER_MODE([disable]) has been added to configure.ac to disable autotools rebuilds.
|
||||||
@ -230,7 +230,7 @@ separately in the next argument, with the final one being the path to inside
|
|||||||
the directory with the new source in it.
|
the directory with the new source in it.
|
||||||
|
|
||||||
3. Answer the questions as posed by the script (it is interactive). The tag
|
3. Answer the questions as posed by the script (it is interactive). The tag
|
||||||
should be correct as you specfied it in the command. Several temporary SVN
|
should be correct as you specified it in the command. Several temporary SVN
|
||||||
checkouts will be created (in /tmp) and merges done. Deleted and Added files
|
checkouts will be created (in /tmp) and merges done. Deleted and Added files
|
||||||
will be printed (with a pause after each screen). If some of these should
|
will be printed (with a pause after each screen). If some of these should
|
||||||
actually be renames (that is, a delete and an addition go together), then
|
actually be renames (that is, a delete and an addition go together), then
|
||||||
|
@ -1426,7 +1426,7 @@ loop
|
|||||||
;;
|
;;
|
||||||
;; Time transformation: the envelope is not warped; the start time and
|
;; Time transformation: the envelope is not warped; the start time and
|
||||||
;; stop times are warped to global time. Then the value of *SUSTAIN* at
|
;; stop times are warped to global time. Then the value of *SUSTAIN* at
|
||||||
;; the begining of the envelope is used to determing absolute duration.
|
;; the beginning of the envelope is used to determing absolute duration.
|
||||||
;; Since PWL is ultimately called to create the envelope, we must use
|
;; Since PWL is ultimately called to create the envelope, we must use
|
||||||
;; ABS-ENV to prevent any further transforms inside PWL. We use
|
;; ABS-ENV to prevent any further transforms inside PWL. We use
|
||||||
;; (AT global-start ...) inside ABS-ENV so that the final result has
|
;; (AT global-start ...) inside ABS-ENV so that the final result has
|
||||||
|
@ -71,7 +71,7 @@ $control makeup (_ "Apply Make-up Gain") choice (
|
|||||||
(defun get-env (sig step lookahead limit)
|
(defun get-env (sig step lookahead limit)
|
||||||
(let* ((sig (mult (/ limit) sig))
|
(let* ((sig (mult (/ limit) sig))
|
||||||
(pad-time (* 3 lookahead)) ; padding required at start (seconds)
|
(pad-time (* 3 lookahead)) ; padding required at start (seconds)
|
||||||
(pad-s (* 3 step)) ; padding smaples
|
(pad-s (* 3 step)) ; padding samples
|
||||||
(padding (snd-const (peak sig pad-s) 0 *sound-srate* pad-time))
|
(padding (snd-const (peak sig pad-s) 0 *sound-srate* pad-time))
|
||||||
(peak-env (snd-avg sig (* 4 step) step OP-PEAK)))
|
(peak-env (snd-avg sig (* 4 step) step OP-PEAK)))
|
||||||
(extract 0 1
|
(extract 0 1
|
||||||
|
@ -65,7 +65,7 @@ $copyright (_ "Released under terms of the GNU General Public License version 2"
|
|||||||
(defmacro validate-low-hz (hz fmin fmax)
|
(defmacro validate-low-hz (hz fmin fmax)
|
||||||
;; Discard if out of valid range.
|
;; Discard if out of valid range.
|
||||||
;; Do NOT coerce into range if too high - if multiple tracks with
|
;; Do NOT coerce into range if too high - if multiple tracks with
|
||||||
;; different sample rates, that could cause very unepected results.
|
;; different sample rates, that could cause very unexpected results.
|
||||||
`(if (or (not ,hz) (< ,hz fmin) (> ,hz fmax))
|
`(if (or (not ,hz) (< ,hz fmin) (> ,hz fmax))
|
||||||
(setf ,hz nil)))
|
(setf ,hz nil)))
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ $control high-transition (_ "High Cut for Vocals (Hz)") real "" 9000 1 24000
|
|||||||
|
|
||||||
*track* ;Return original audio if something goes wrong
|
*track* ;Return original audio if something goes wrong
|
||||||
|
|
||||||
;;; we start with some variable assignements
|
;;; we start with some variable assignments
|
||||||
(setf *sr* *sound-srate*)
|
(setf *sr* *sound-srate*)
|
||||||
|
|
||||||
;; hard coded STFT parameters
|
;; hard coded STFT parameters
|
||||||
|
@ -66,7 +66,7 @@ $control radar-f (_ "Frequency of Radar Needles (Hz)") real "" 30 1 100
|
|||||||
(setf *radar-table* (list *radar-table* (hz-to-step radar-f) T))
|
(setf *radar-table* (list *radar-table* (hz-to-step radar-f) T))
|
||||||
|
|
||||||
;; increase the volume of the audacity track in the middle of the slider
|
;; increase the volume of the audacity track in the middle of the slider
|
||||||
;; the sqrt trick is something like an artifical db scaling
|
;; the sqrt trick is something like an artificial db scaling
|
||||||
(setf track-vol (sqrt (/ track-vl 100.0)))
|
(setf track-vol (sqrt (/ track-vl 100.0)))
|
||||||
;; decrease the volume of the white noise in the middle of the slider
|
;; decrease the volume of the white noise in the middle of the slider
|
||||||
;; the expt trick is an inverse db scaling
|
;; the expt trick is an inverse db scaling
|
||||||
|
@ -15,7 +15,7 @@ execute_process(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if( output )
|
if( output )
|
||||||
# message( FATAL_ERROR "You have uncommited changes\n${output}" )
|
# message( FATAL_ERROR "You have uncommitted changes\n${output}" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Get the list of files in the repo
|
# Get the list of files in the repo
|
||||||
|
@ -214,7 +214,7 @@ if [ -f "lib-src/Makefile" ] ; then
|
|||||||
reconf=1
|
reconf=1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# if no Makefile, definitly need to configure
|
# if no Makefile, definitely need to configure
|
||||||
reconf=1
|
reconf=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ def tagextract(doc):
|
|||||||
>>> tagextract('<!DOCTYPE html PUBLIC etc...>')
|
>>> tagextract('<!DOCTYPE html PUBLIC etc...>')
|
||||||
[('!DOCTYPE html PUBLIC etc...', {})]
|
[('!DOCTYPE html PUBLIC etc...', {})]
|
||||||
|
|
||||||
Greater-than and less-than characters occuring inside comments or
|
Greater-than and less-than characters occurring inside comments or
|
||||||
CDATA blocks are correctly kept as part of the block:
|
CDATA blocks are correctly kept as part of the block:
|
||||||
|
|
||||||
>>> tagextract('<!-- <><><><>>..> -->')
|
>>> tagextract('<!-- <><><><>>..> -->')
|
||||||
|
@ -1006,7 +1006,7 @@ def run(out=sys.stdout):
|
|||||||
complete.add(nurl)
|
complete.add(nurl)
|
||||||
filename = url_to_filename(url)
|
filename = url_to_filename(url)
|
||||||
|
|
||||||
#this is needed for the first path as it doesn't know if it is a redirect or not in the begining
|
#this is needed for the first path as it doesn't know if it is a redirect or not in the beginning
|
||||||
#at this point all the content of redir_cache is relative to the start path
|
#at this point all the content of redir_cache is relative to the start path
|
||||||
if start:
|
if start:
|
||||||
start = False
|
start = False
|
||||||
|
@ -1231,7 +1231,7 @@ bool AudacityApp::OnInit()
|
|||||||
|
|
||||||
FileNames::SetAudacityPathList( std::move( audacityPathList ) );
|
FileNames::SetAudacityPathList( std::move( audacityPathList ) );
|
||||||
|
|
||||||
// Define languanges for which we have translations, but that are not yet
|
// Define languages for which we have translations, but that are not yet
|
||||||
// supported by wxWidgets.
|
// supported by wxWidgets.
|
||||||
//
|
//
|
||||||
// TODO: The whole Language initialization really need to be reworked.
|
// TODO: The whole Language initialization really need to be reworked.
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
// but then the student didn't contribute after that. It needs a bit of work to finish it off.
|
// but then the student didn't contribute after that. It needs a bit of work to finish it off.
|
||||||
// As a minimum, if this is turned on for a release,
|
// As a minimum, if this is turned on for a release,
|
||||||
// it should have an easy mechanism to disable it at run-time, such as a menu item or a pref,
|
// it should have an easy mechanism to disable it at run-time, such as a menu item or a pref,
|
||||||
// preferrably disabled until other work is done. Martyn 22/12/2008.
|
// preferably disabled until other work is done. Martyn 22/12/2008.
|
||||||
//
|
//
|
||||||
|
|
||||||
// JKC Apr 2015, Menu item to manage effects.
|
// JKC Apr 2015, Menu item to manage effects.
|
||||||
@ -226,7 +226,7 @@
|
|||||||
|
|
||||||
// PRL 11 Jul 2017
|
// PRL 11 Jul 2017
|
||||||
// Highlight more things in TrackPanel when the mouse moves over them,
|
// Highlight more things in TrackPanel when the mouse moves over them,
|
||||||
// using delibrately ugly pens and brushes until there is better cooperation
|
// using deliberately ugly pens and brushes until there is better cooperation
|
||||||
// with themes
|
// with themes
|
||||||
//#define EXPERIMENTAL_TRACK_PANEL_HIGHLIGHTING
|
//#define EXPERIMENTAL_TRACK_PANEL_HIGHLIGHTING
|
||||||
|
|
||||||
|
@ -929,7 +929,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// utilites for RAII:
|
// utilities for RAII:
|
||||||
|
|
||||||
// Deleter adaptor for functions like av_free that take a pointer
|
// Deleter adaptor for functions like av_free that take a pointer
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ std::unique_ptr<wxImage> OverlayImage(teBmps eBack, teBmps eForeground,
|
|||||||
memcpy(dst, bg, bgWidth * bgHeight * 3);
|
memcpy(dst, bg, bgWidth * bgHeight * 3);
|
||||||
|
|
||||||
// If background image has tranparency, then we want to blend with the
|
// If background image has tranparency, then we want to blend with the
|
||||||
// current backgorund colour.
|
// current background colour.
|
||||||
if( imgBack.HasAlpha() ){
|
if( imgBack.HasAlpha() ){
|
||||||
unsigned char *pAlpha = imgBack.GetAlpha();
|
unsigned char *pAlpha = imgBack.GetAlpha();
|
||||||
wxColour c = theTheme.Colour( clrMedium );
|
wxColour c = theTheme.Colour( clrMedium );
|
||||||
|
@ -554,7 +554,7 @@ void LyricsPanel::DoPaint(wxDC &dc)
|
|||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
// Mac OS X automatically double-buffers the screen for you,
|
// Mac OS X automatically double-buffers the screen for you,
|
||||||
// so our bitmap is unneccessary
|
// so our bitmap is unnecessary
|
||||||
HandlePaint(dc);
|
HandlePaint(dc);
|
||||||
#else
|
#else
|
||||||
wxBitmap bitmap(mWidth, mKaraokeHeight);
|
wxBitmap bitmap(mWidth, mKaraokeHeight);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#if !(_MSC_VER >= 1800 || __cplusplus >= 201402L)
|
#if !(_MSC_VER >= 1800 || __cplusplus >= 201402L)
|
||||||
/* replicate the very useful C++14 make_unique for those build environments
|
/* replicate the very useful C++14 make_unique for those build environments
|
||||||
that don't implement it yet.
|
that don't implement it yet.
|
||||||
typical useage:
|
typical usage:
|
||||||
auto p = std::make_unique<Myclass>(ctorArg1, ctorArg2, ... ctorArgN);
|
auto p = std::make_unique<Myclass>(ctorArg1, ctorArg2, ... ctorArgN);
|
||||||
p->DoSomething();
|
p->DoSomething();
|
||||||
auto q = std::make_unique<Myclass[]>(count);
|
auto q = std::make_unique<Myclass[]>(count);
|
||||||
|
@ -308,7 +308,7 @@ void ModuleManager::Initialize(CommandHandler &cmdHandler)
|
|||||||
XO("Try and load this module?"),
|
XO("Try and load this module?"),
|
||||||
false);
|
false);
|
||||||
#ifdef EXPERIMENTAL_MODULE_PREFS
|
#ifdef EXPERIMENTAL_MODULE_PREFS
|
||||||
// If we're not prompting always, accept the answer permanantly
|
// If we're not prompting always, accept the answer permanently
|
||||||
if( iModuleStatus == kModuleNew ){
|
if( iModuleStatus == kModuleNew ){
|
||||||
iModuleStatus = (action==1)?kModuleDisabled : kModuleEnabled;
|
iModuleStatus = (action==1)?kModuleDisabled : kModuleEnabled;
|
||||||
ModulePrefs::SetModuleStatus( files[i], iModuleStatus );
|
ModulePrefs::SetModuleStatus( files[i], iModuleStatus );
|
||||||
|
@ -884,7 +884,7 @@ void ProjectAudioManager::OnAudioIOStopRecording()
|
|||||||
// Add to history
|
// Add to history
|
||||||
// We want this to have No-fail-guarantee if we get here from exception
|
// We want this to have No-fail-guarantee if we get here from exception
|
||||||
// handling of recording, and that means we rely on the last autosave
|
// handling of recording, and that means we rely on the last autosave
|
||||||
// successully committed to the database, not risking a failure
|
// successfully committed to the database, not risking a failure
|
||||||
history.PushState(XO("Recorded Audio"), XO("Record"),
|
history.PushState(XO("Recorded Audio"), XO("Record"),
|
||||||
UndoPush::NOAUTOSAVE);
|
UndoPush::NOAUTOSAVE);
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ public:
|
|||||||
const TranslatableString &GetLibraryError();
|
const TranslatableString &GetLibraryError();
|
||||||
|
|
||||||
// Provides a means to bypass "DELETE"s at shutdown if the database
|
// Provides a means to bypass "DELETE"s at shutdown if the database
|
||||||
// is just going to be deleted anyway. This prevents a noticable
|
// is just going to be deleted anyway. This prevents a noticeable
|
||||||
// delay caused by SampleBlocks being deleted when the Sequences that
|
// delay caused by SampleBlocks being deleted when the Sequences that
|
||||||
// own them are deleted.
|
// own them are deleted.
|
||||||
//
|
//
|
||||||
@ -184,7 +184,7 @@ public:
|
|||||||
// 0 for success or non-zero to stop the query
|
// 0 for success or non-zero to stop the query
|
||||||
using ExecCB = std::function<int(int cols, char **vals, char **names)>;
|
using ExecCB = std::function<int(int cols, char **vals, char **names)>;
|
||||||
|
|
||||||
//! Return true if a connetion is now open
|
//! Return true if a connection is now open
|
||||||
bool HasConnection() const;
|
bool HasConnection() const;
|
||||||
|
|
||||||
//! Return a reference to a connection, creating it as needed on demand; throw on failure
|
//! Return a reference to a connection, creating it as needed on demand; throw on failure
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
This means that reading in a wav file and writing it out again
|
This means that reading in a wav file and writing it out again
|
||||||
('round tripping'), via floats, is lossless; -32768 equates to -1.0f
|
('round tripping'), via floats, is lossless; -32768 equates to -1.0f
|
||||||
and 32767 equates to +1.0f - (a little bit).
|
and 32767 equates to +1.0f - (a little bit).
|
||||||
It also means (unfortunatly) that writing out +1.0f leads to
|
It also means (unfortunately) that writing out +1.0f leads to
|
||||||
clipping by 1 LSB. This creates some distortion, but I (MJS) have
|
clipping by 1 LSB. This creates some distortion, but I (MJS) have
|
||||||
not been able to measure it, it's so small. Zero is preserved.
|
not been able to measure it, it's so small. Zero is preserved.
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ own background.
|
|||||||
It is used (a) To group together widgets which need to be refreshed
|
It is used (a) To group together widgets which need to be refreshed
|
||||||
together. A single refresh of the panel causes all the subwindows to
|
together. A single refresh of the panel causes all the subwindows to
|
||||||
refresh. (b) as a base class for some flicker-free classes for which
|
refresh. (b) as a base class for some flicker-free classes for which
|
||||||
the backgorund is never repainted.
|
the background is never repainted.
|
||||||
|
|
||||||
JKC: InvisiblePanel will probably be replaced in time by a mechanism
|
JKC: InvisiblePanel will probably be replaced in time by a mechanism
|
||||||
for registering for changes.
|
for registering for changes.
|
||||||
|
@ -395,7 +395,7 @@ private:
|
|||||||
virtual Holder Duplicate() const;
|
virtual Holder Duplicate() const;
|
||||||
|
|
||||||
// Called when this track is merged to stereo with another, and should
|
// Called when this track is merged to stereo with another, and should
|
||||||
// take on some paramaters of its partner.
|
// take on some parameters of its partner.
|
||||||
virtual void Merge(const Track &orig);
|
virtual void Merge(const Track &orig);
|
||||||
|
|
||||||
wxString GetName() const { return mName; }
|
wxString GetName() const { return mName; }
|
||||||
|
@ -333,7 +333,7 @@ TrackPanel::~TrackPanel()
|
|||||||
void TrackPanel::UpdatePrefs()
|
void TrackPanel::UpdatePrefs()
|
||||||
{
|
{
|
||||||
// All vertical rulers must be recalculated since the minimum and maximum
|
// All vertical rulers must be recalculated since the minimum and maximum
|
||||||
// frequences may have been changed.
|
// frequencies may have been changed.
|
||||||
UpdateVRulers();
|
UpdateVRulers();
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
@ -156,7 +156,7 @@ bool TrackPanelAx::IsFocused( const Track *track )
|
|||||||
if( !focusedTrack )
|
if( !focusedTrack )
|
||||||
focusedTrack = SetFocus();
|
focusedTrack = SetFocus();
|
||||||
|
|
||||||
// Remap track pointer if there are oustanding pending updates
|
// Remap track pointer if there are outstanding pending updates
|
||||||
auto origTrack =
|
auto origTrack =
|
||||||
GetTracks().FindById( track->GetId() );
|
GetTracks().FindById( track->GetId() );
|
||||||
if (origTrack)
|
if (origTrack)
|
||||||
|
@ -381,7 +381,7 @@ sampleCount VoiceKey::OnBackward (
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Move froward from the start to find an OFF region.
|
//Move forward from the start to find an OFF region.
|
||||||
sampleCount VoiceKey::OffForward (
|
sampleCount VoiceKey::OffForward (
|
||||||
const WaveTrack & t, sampleCount start, sampleCount len)
|
const WaveTrack & t, sampleCount start, sampleCount len)
|
||||||
{
|
{
|
||||||
|
@ -292,7 +292,7 @@ public:
|
|||||||
void Flush();
|
void Flush();
|
||||||
|
|
||||||
/// This name is consistent with WaveTrack::Clear. It performs a "Cut"
|
/// This name is consistent with WaveTrack::Clear. It performs a "Cut"
|
||||||
/// operation (but without putting the cutted audio to the clipboard)
|
/// operation (but without putting the cut audio to the clipboard)
|
||||||
void Clear(double t0, double t1);
|
void Clear(double t0, double t1);
|
||||||
|
|
||||||
/// Clear, and add cut line that starts at t0 and contains everything until t1.
|
/// Clear, and add cut line that starts at t0 and contains everything until t1.
|
||||||
|
@ -1181,7 +1181,7 @@ void WaveTrack::Paste(double t0, const Track *src)
|
|||||||
//
|
//
|
||||||
// - If multiple clips should be pasted, or a single clip that does not fill
|
// - If multiple clips should be pasted, or a single clip that does not fill
|
||||||
// the duration of the pasted track, these are always pasted as single
|
// the duration of the pasted track, these are always pasted as single
|
||||||
// clips, and the current clip is splitted, when necessary. This may seem
|
// clips, and the current clip is split, when necessary. This may seem
|
||||||
// strange at first, but it probably is better than trying to auto-merge
|
// strange at first, but it probably is better than trying to auto-merge
|
||||||
// anything. The user can still merge the clips by hand (which should be a
|
// anything. The user can still merge the clips by hand (which should be a
|
||||||
// simple command reachable by a hotkey or single mouse click).
|
// simple command reachable by a hotkey or single mouse click).
|
||||||
|
@ -309,7 +309,7 @@ public:
|
|||||||
std::shared_ptr<CommandMessageTarget> mErrorTarget;
|
std::shared_ptr<CommandMessageTarget> mErrorTarget;
|
||||||
public:
|
public:
|
||||||
// && is not a reference to a reference, but rather a way to allow reference to a temporary
|
// && is not a reference to a reference, but rather a way to allow reference to a temporary
|
||||||
// that will be gone or transfered after we have taken it. It's a reference to an xvalue,
|
// that will be gone or transferred after we have taken it. It's a reference to an xvalue,
|
||||||
// or 'expiring value'.
|
// or 'expiring value'.
|
||||||
CommandOutputTargets(std::unique_ptr<CommandProgressTarget> &&pt = TargetFactory::ProgressDefault(),
|
CommandOutputTargets(std::unique_ptr<CommandProgressTarget> &&pt = TargetFactory::ProgressDefault(),
|
||||||
std::shared_ptr<CommandMessageTarget> &&st = TargetFactory::MessageDefault(),
|
std::shared_ptr<CommandMessageTarget> &&st = TargetFactory::MessageDefault(),
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
\brief Command for saving an Audacity project
|
\brief Command for saving an Audacity project
|
||||||
|
|
||||||
\class SaveCopyCommand
|
\class SaveCopyCommand
|
||||||
\brief Command for saving a copy of currenty project
|
\brief Command for saving a copy of currently project
|
||||||
|
|
||||||
\class SaveLogCommand
|
\class SaveLogCommand
|
||||||
\brief Command for saving the log contents
|
\brief Command for saving the log contents
|
||||||
|
@ -311,7 +311,7 @@ EffectEqualization::EffectEqualization(int Options)
|
|||||||
mBench=false;
|
mBench=false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We expect these Hi and Lo frequences to be overridden by Init().
|
// We expect these Hi and Lo frequencies to be overridden by Init().
|
||||||
// Don't use inputTracks(). See bug 2321.
|
// Don't use inputTracks(). See bug 2321.
|
||||||
#if 0
|
#if 0
|
||||||
auto trackList = inputTracks();
|
auto trackList = inputTracks();
|
||||||
|
@ -533,7 +533,7 @@ size_t RealtimeEffectState::RealtimeProcess(int group,
|
|||||||
// Call the client until we run out of input or output channels
|
// Call the client until we run out of input or output channels
|
||||||
while (ichans > 0 && ochans > 0)
|
while (ichans > 0 && ochans > 0)
|
||||||
{
|
{
|
||||||
// If we don't have enough input channels to accomodate the client's
|
// If we don't have enough input channels to accommodate the client's
|
||||||
// requirements, then we replicate the input channels until the
|
// requirements, then we replicate the input channels until the
|
||||||
// client's needs are met.
|
// client's needs are met.
|
||||||
if (ichans < numAudioIn)
|
if (ichans < numAudioIn)
|
||||||
@ -562,7 +562,7 @@ size_t RealtimeEffectState::RealtimeProcess(int group,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we don't have enough output channels to accomodate the client's
|
// If we don't have enough output channels to accommodate the client's
|
||||||
// requirements, then we provide all of the output channels and fulfill
|
// requirements, then we provide all of the output channels and fulfill
|
||||||
// the client's needs with dummy buffers. These will just get tossed.
|
// the client's needs with dummy buffers. These will just get tossed.
|
||||||
if (ochans < numAudioOut)
|
if (ochans < numAudioOut)
|
||||||
|
@ -761,7 +761,7 @@ bool AUPImportFileHandle::HandleProject(XMLTagHandler *&handler)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If that fails then try to use the filename of the .aup as the base directory
|
// If that fails then try to use the filename of the .aup as the base directory
|
||||||
// This is because unzipped projects e.g. those that get transfered between mac-pc
|
// This is because unzipped projects e.g. those that get transferred between mac-pc
|
||||||
// may have encoding issues and end up expanding the wrong filenames for certain
|
// may have encoding issues and end up expanding the wrong filenames for certain
|
||||||
// international characters (such as capital 'A' with an umlaut.)
|
// international characters (such as capital 'A' with an umlaut.)
|
||||||
if (projName.empty())
|
if (projName.empty())
|
||||||
|
@ -962,7 +962,7 @@ void OnScoreAlign(const CommandContext &context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Creating the dialog also stores dialog into gScoreAlignDialog so
|
// Creating the dialog also stores dialog into gScoreAlignDialog so
|
||||||
// that it can be delted by CloseScoreAlignDialog() either here or
|
// that it can be deleted by CloseScoreAlignDialog() either here or
|
||||||
// if the program is quit by the user while the dialog is up.
|
// if the program is quit by the user while the dialog is up.
|
||||||
ScoreAlignParams params;
|
ScoreAlignParams params;
|
||||||
|
|
||||||
|
@ -389,7 +389,7 @@ void OnTimerRecord(const CommandContext &context)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We check the selected tracks to see if there is enough of them to accomodate
|
// We check the selected tracks to see if there is enough of them to accommodate
|
||||||
// all input channels and all of them have the same sampling rate.
|
// all input channels and all of them have the same sampling rate.
|
||||||
// Those checks will be later performed by recording function anyway,
|
// Those checks will be later performed by recording function anyway,
|
||||||
// but we want to warn the user about potential problems from the very start.
|
// but we want to warn the user about potential problems from the very start.
|
||||||
@ -572,7 +572,7 @@ void OnPunchAndRoll(const CommandContext &context)
|
|||||||
error = true;
|
error = true;
|
||||||
else {
|
else {
|
||||||
// May adjust t1 left
|
// May adjust t1 left
|
||||||
// Let's ignore the possibilty of a clip even shorter than the
|
// Let's ignore the possibility of a clip even shorter than the
|
||||||
// crossfade duration!
|
// crossfade duration!
|
||||||
newt1 = std::min(newt1, clip->GetEndTime() - crossFadeDuration);
|
newt1 = std::min(newt1, clip->GetEndTime() - crossFadeDuration);
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
******************************************************************//**
|
******************************************************************//**
|
||||||
|
|
||||||
\class ODTaskThread
|
\class ODTaskThread
|
||||||
\brief A thread that executes a part of the task specfied by an ODTask.
|
\brief A thread that executes a part of the task specified by an ODTask.
|
||||||
|
|
||||||
*//*******************************************************************/
|
*//*******************************************************************/
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
******************************************************************//**
|
******************************************************************//**
|
||||||
|
|
||||||
\class ODTaskThread
|
\class ODTaskThread
|
||||||
\brief A thread that executes a part of the task specfied by an ODTask.
|
\brief A thread that executes a part of the task specified by an ODTask.
|
||||||
|
|
||||||
*//*******************************************************************/
|
*//*******************************************************************/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user