mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix various typos
Found via `codespell -q 3 -S *.po,./.git,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch -L ba,buss,busses,discreet,doubleclick,hsi,ontop,ro,scrollin,seh,siz,sord,sur,te,trough,ue`
This commit is contained in:
parent
5a0019f9a6
commit
47c525315d
24 changed files with 27 additions and 27 deletions
|
|
@ -854,7 +854,7 @@ Editor::set_timecode_ruler_scale (samplepos_t lower, samplepos_t upper)
|
||||||
to set the ruler scale, because the caller has already determined
|
to set the ruler scale, because the caller has already determined
|
||||||
the width and set lower + upper arguments to this function to match that.
|
the width and set lower + upper arguments to this function to match that.
|
||||||
|
|
||||||
But in this case, where the range defined by lower and uppper can vary
|
But in this case, where the range defined by lower and upper can vary
|
||||||
substantially (basically anything from 24hrs+ to several billion years)
|
substantially (basically anything from 24hrs+ to several billion years)
|
||||||
trying to decide which tick marks to show does require us to know
|
trying to decide which tick marks to show does require us to know
|
||||||
about the available width.
|
about the available width.
|
||||||
|
|
@ -1652,7 +1652,7 @@ Editor::set_minsec_ruler_scale (samplepos_t lower, samplepos_t upper)
|
||||||
to set the ruler scale, because the caller has already determined
|
to set the ruler scale, because the caller has already determined
|
||||||
the width and set lower + upper arguments to this function to match that.
|
the width and set lower + upper arguments to this function to match that.
|
||||||
|
|
||||||
But in this case, where the range defined by lower and uppper can vary
|
But in this case, where the range defined by lower and upper can vary
|
||||||
substantially (anything from 24hrs+ to several billion years)
|
substantially (anything from 24hrs+ to several billion years)
|
||||||
trying to decide which tick marks to show does require us to know
|
trying to decide which tick marks to show does require us to know
|
||||||
about the available width.
|
about the available width.
|
||||||
|
|
|
||||||
|
|
@ -2996,7 +2996,7 @@ EngineControl::check_audio_latency_measurement ()
|
||||||
|
|
||||||
if (mtdm->err () > 0.2) {
|
if (mtdm->err () > 0.2) {
|
||||||
strcat (buf, "\n");
|
strcat (buf, "\n");
|
||||||
strcat (buf, _("Large mesurement deviation. Invalid result."));
|
strcat (buf, _("Large measurement deviation. Invalid result."));
|
||||||
solid = false;
|
solid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1116,7 +1116,7 @@ SoundFileBrowser::freesound_get_audio_file(Gtk::TreeIter iter)
|
||||||
DEBUG_TRACE(PBD::DEBUG::Freesound, string_compose("downloading %1 (id %2) from %3...\n", filename, id, uri));
|
DEBUG_TRACE(PBD::DEBUG::Freesound, string_compose("downloading %1 (id %2) from %3...\n", filename, id, uri));
|
||||||
(*iter)[freesound_list_columns.downloading] = true;
|
(*iter)[freesound_list_columns.downloading] = true;
|
||||||
// if we don't already have a token, fetchAudioFile() will get
|
// if we don't already have a token, fetchAudioFile() will get
|
||||||
// one: otherwse it'll return the one we already gave it.
|
// one: otherwise it'll return the one we already gave it.
|
||||||
if (!mootcher->fetchAudioFile(filename, id, uri, this, freesound_token)) {
|
if (!mootcher->fetchAudioFile(filename, id, uri, this, freesound_token)) {
|
||||||
// download cancelled or failed
|
// download cancelled or failed
|
||||||
(*iter)[freesound_list_columns.downloading] = false;
|
(*iter)[freesound_list_columns.downloading] = false;
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ MouseButton::MouseButton (uint32_t state, uint32_t keycode)
|
||||||
{
|
{
|
||||||
uint32_t ignore = ~Keyboard::RelevantModifierKeyMask;
|
uint32_t ignore = ~Keyboard::RelevantModifierKeyMask;
|
||||||
|
|
||||||
/* this is a slightly wierd test that relies on
|
/* this is a slightly weird test that relies on
|
||||||
* gdk_keyval_is_{upper,lower}() returning true for keys that have no
|
* gdk_keyval_is_{upper,lower}() returning true for keys that have no
|
||||||
* case-sensitivity. This covers mostly non-alphanumeric keys.
|
* case-sensitivity. This covers mostly non-alphanumeric keys.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -398,7 +398,7 @@ _position_menu_anchored (int& x, int& y, bool& push_in,
|
||||||
* e) if there is no selected menu item, align the menu above the button or
|
* e) if there is no selected menu item, align the menu above the button or
|
||||||
* below the button, depending on where there is more space.
|
* below the button, depending on where there is more space.
|
||||||
* For the d) and e) cases, the menu contents will be aligned as told, but
|
* For the d) and e) cases, the menu contents will be aligned as told, but
|
||||||
* the menu itself will be bigger than that to accomodate the menu items
|
* the menu itself will be bigger than that to accommodate the menu items
|
||||||
* that are scrolled out of view, thanks to |push_in = true|.
|
* that are scrolled out of view, thanks to |push_in = true|.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -671,7 +671,7 @@ int ltc_encoder_set_bufsize(LTCEncoder *e, double sample_rate, double fps);
|
||||||
/**
|
/**
|
||||||
* Set the volume of the generated LTC signal
|
* Set the volume of the generated LTC signal
|
||||||
*
|
*
|
||||||
* typically LTC is sent at 0dBu ; in EBU callibrated systems that
|
* typically LTC is sent at 0dBu ; in EBU calibrated systems that
|
||||||
* corresponds to -18dBFS. - by default libltc creates -3dBFS
|
* corresponds to -18dBFS. - by default libltc creates -3dBFS
|
||||||
*
|
*
|
||||||
* since libltc generated 8bit audio-data, the minimum dBFS
|
* since libltc generated 8bit audio-data, the minimum dBFS
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,7 @@ Panner1in2out::value_as_string (boost::shared_ptr<const AutomationControl> ac) c
|
||||||
* This is expressed as a pair of percentage values that ranges from (100,0)
|
* This is expressed as a pair of percentage values that ranges from (100,0)
|
||||||
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
||||||
*
|
*
|
||||||
* This is pretty wierd, but its the way audio engineers expect it. Just remember that
|
* This is pretty weird, but its the way audio engineers expect it. Just remember that
|
||||||
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
||||||
*
|
*
|
||||||
* This is designed to be as narrow as possible. Dedicated
|
* This is designed to be as narrow as possible. Dedicated
|
||||||
|
|
|
||||||
|
|
@ -495,7 +495,7 @@ Panner2in2out::value_as_string (boost::shared_ptr<const AutomationControl> ac) c
|
||||||
* This is expressed as a pair of percentage values that ranges from (100,0)
|
* This is expressed as a pair of percentage values that ranges from (100,0)
|
||||||
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
||||||
*
|
*
|
||||||
* This is pretty wierd, but its the way audio engineers expect it. Just remember that
|
* This is pretty weird, but its the way audio engineers expect it. Just remember that
|
||||||
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
||||||
*
|
*
|
||||||
* This is designed to be as narrow as possible. Dedicated
|
* This is designed to be as narrow as possible. Dedicated
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,7 @@ Pannerbalance::value_as_string (boost::shared_ptr<const AutomationControl> ac) c
|
||||||
* This is expressed as a pair of percentage values that ranges from (100,0)
|
* This is expressed as a pair of percentage values that ranges from (100,0)
|
||||||
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
* (hard left) through (50,50) (hard center) to (0,100) (hard right).
|
||||||
*
|
*
|
||||||
* This is pretty wierd, but its the way audio engineers expect it. Just remember that
|
* This is pretty weird, but its the way audio engineers expect it. Just remember that
|
||||||
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
* the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
||||||
*
|
*
|
||||||
* This is designed to be as narrow as possible. Dedicated
|
* This is designed to be as narrow as possible. Dedicated
|
||||||
|
|
|
||||||
|
|
@ -759,7 +759,7 @@ work (LV2_Handle instance,
|
||||||
fluid_synth_all_notes_off (self->synth, -1);
|
fluid_synth_all_notes_off (self->synth, -1);
|
||||||
fluid_synth_all_sounds_off (self->synth, -1);
|
fluid_synth_all_sounds_off (self->synth, -1);
|
||||||
self->panic = false;
|
self->panic = false;
|
||||||
// boostrap synth engine.
|
// bootstrap synth engine.
|
||||||
float l[1024];
|
float l[1024];
|
||||||
float r[1024];
|
float r[1024];
|
||||||
fluid_synth_write_float (self->synth, 1024, l, 0, 1, r, 0, 1);
|
fluid_synth_write_float (self->synth, 1024, l, 0, 1, r, 0, 1);
|
||||||
|
|
|
||||||
|
|
@ -698,7 +698,7 @@ CC121::connect_session_signals()
|
||||||
bool
|
bool
|
||||||
CC121::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptr<ARDOUR::AsyncMIDIPort> port)
|
CC121::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptr<ARDOUR::AsyncMIDIPort> port)
|
||||||
{
|
{
|
||||||
DEBUG_TRACE (DEBUG::CC121, string_compose ("something happend on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
DEBUG_TRACE (DEBUG::CC121, string_compose ("something happened on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
||||||
|
|
||||||
if (ioc & ~IO_IN) {
|
if (ioc & ~IO_IN) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -739,7 +739,7 @@ FaderPort::midi_input_handler (Glib::IOCondition ioc, boost::weak_ptr<ARDOUR::As
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::FaderPort, string_compose ("something happend on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
DEBUG_TRACE (DEBUG::FaderPort, string_compose ("something happened on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
||||||
|
|
||||||
if (ioc & ~IO_IN) {
|
if (ioc & ~IO_IN) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -513,7 +513,7 @@ FaderPort8::midi_input_handler (Glib::IOCondition ioc, boost::weak_ptr<ARDOUR::A
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VERBOSE_DEBUG
|
#ifdef VERBOSE_DEBUG
|
||||||
DEBUG_TRACE (DEBUG::FaderPort8, string_compose ("something happend on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
DEBUG_TRACE (DEBUG::FaderPort8, string_compose ("something happened on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ioc & ~IO_IN) {
|
if (ioc & ~IO_IN) {
|
||||||
|
|
|
||||||
|
|
@ -880,7 +880,7 @@ static int usb_tranzport_probe(struct usb_interface *intf, const struct usb_devi
|
||||||
int true_size;
|
int true_size;
|
||||||
int retval = -ENOMEM;
|
int retval = -ENOMEM;
|
||||||
|
|
||||||
/* allocate memory for our device state and intialize it */
|
/* allocate memory for our device state and initialize it */
|
||||||
|
|
||||||
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
|
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
|
||||||
if (dev == NULL) {
|
if (dev == NULL) {
|
||||||
|
|
|
||||||
|
|
@ -1647,7 +1647,7 @@ GenericMidiControlProtocol::midi_input_handler (Glib::IOCondition ioc, boost::we
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::GenericMidi, string_compose ("something happend on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
DEBUG_TRACE (DEBUG::GenericMidi, string_compose ("something happened on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
||||||
|
|
||||||
if (ioc & ~IO_IN) {
|
if (ioc & ~IO_IN) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -1723,7 +1723,7 @@ MackieControlProtocol::midi_input_handler (IOCondition ioc, MIDI::Port* port)
|
||||||
|
|
||||||
if (ioc & IO_IN) {
|
if (ioc & IO_IN) {
|
||||||
|
|
||||||
// DEBUG_TRACE (DEBUG::MackieControl, string_compose ("something happend on %1\n", port->name()));
|
// DEBUG_TRACE (DEBUG::MackieControl, string_compose ("something happened on %1\n", port->name()));
|
||||||
|
|
||||||
/* Devices using regular JACK MIDI ports will need to have
|
/* Devices using regular JACK MIDI ports will need to have
|
||||||
the x-thread FIFO drained to avoid burning endless CPU.
|
the x-thread FIFO drained to avoid burning endless CPU.
|
||||||
|
|
|
||||||
|
|
@ -224,12 +224,12 @@ Maschine2::start ()
|
||||||
case Mikro:
|
case Mikro:
|
||||||
_hw = new Maschine2Mikro ();
|
_hw = new Maschine2Mikro ();
|
||||||
_ctrl = new M2MapMikro ();
|
_ctrl = new M2MapMikro ();
|
||||||
info << _("Maschine2 Mikro control surface intialized");
|
info << _("Maschine2 Mikro control surface initialized");
|
||||||
break;
|
break;
|
||||||
case Maschine:
|
case Maschine:
|
||||||
_hw = new Maschine2Mk2 ();
|
_hw = new Maschine2Mk2 ();
|
||||||
_ctrl = new M2MapMk2 ();
|
_ctrl = new M2MapMk2 ();
|
||||||
info << _("Maschine2 control surface intialized");
|
info << _("Maschine2 control surface initialized");
|
||||||
break;
|
break;
|
||||||
case Studio:
|
case Studio:
|
||||||
error << _("Maschine2 Studio is not yet supported");
|
error << _("Maschine2 Studio is not yet supported");
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ class Route;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this is mostly a placeholder because I suspect that at some
|
/* this is mostly a placeholder because I suspect that at some
|
||||||
point we will want to add more members to accomodate
|
point we will want to add more members to accommodate
|
||||||
certain types of requests to the OSC UI
|
certain types of requests to the OSC UI
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -277,7 +277,7 @@ Push2Knob::set_pan_azimuth_text (double pos)
|
||||||
This is expressed as a pair of percentage values that ranges from (100,0)
|
This is expressed as a pair of percentage values that ranges from (100,0)
|
||||||
(hard left) through (50,50) (hard center) to (0,100) (hard right).
|
(hard left) through (50,50) (hard center) to (0,100) (hard right).
|
||||||
|
|
||||||
This is pretty wierd, but its the way audio engineers expect it. Just remember that
|
This is pretty weird, but its the way audio engineers expect it. Just remember that
|
||||||
the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -552,7 +552,7 @@ Push2::midi_input_handler (IOCondition ioc, MIDI::Port* port)
|
||||||
|
|
||||||
if (ioc & IO_IN) {
|
if (ioc & IO_IN) {
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::Push2, string_compose ("something happend on %1\n", port->name()));
|
DEBUG_TRACE (DEBUG::Push2, string_compose ("something happened on %1\n", port->name()));
|
||||||
|
|
||||||
AsyncMIDIPort* asp = dynamic_cast<AsyncMIDIPort*>(port);
|
AsyncMIDIPort* asp = dynamic_cast<AsyncMIDIPort*>(port);
|
||||||
if (asp) {
|
if (asp) {
|
||||||
|
|
|
||||||
|
|
@ -1339,7 +1339,7 @@ US2400Protocol::midi_input_handler (IOCondition ioc, MIDI::Port* port)
|
||||||
|
|
||||||
if (ioc & IO_IN) {
|
if (ioc & IO_IN) {
|
||||||
|
|
||||||
// DEBUG_TRACE (DEBUG::US2400, string_compose ("something happend on %1\n", port->name()));
|
// DEBUG_TRACE (DEBUG::US2400, string_compose ("something happened on %1\n", port->name()));
|
||||||
|
|
||||||
/* Devices using regular JACK MIDI ports will need to have
|
/* Devices using regular JACK MIDI ports will need to have
|
||||||
the x-thread FIFO drained to avoid burning endless CPU.
|
the x-thread FIFO drained to avoid burning endless CPU.
|
||||||
|
|
|
||||||
|
|
@ -2290,7 +2290,7 @@ TempoMap::bbt_walk (BBT_Time const & bbt, BBT_Offset const & o) const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* may have found tempo and/or meter precisely at the tiem given */
|
/* may have found tempo and/or meter precisely at the time given */
|
||||||
|
|
||||||
if (t != _tempos.end() && t->bbt() == bbt) {
|
if (t != _tempos.end() && t->bbt() == bbt) {
|
||||||
prev_t = t;
|
prev_t = t;
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
||||||
timepos_t operator+(timecnt_t const & d) const;
|
timepos_t operator+(timecnt_t const & d) const;
|
||||||
timepos_t operator+(timepos_t const & d) const { if (is_beats() == d.is_beats()) return timepos_t (is_beats(), val() + d.val()); return expensive_add (d); }
|
timepos_t operator+(timepos_t const & d) const { if (is_beats() == d.is_beats()) return timepos_t (is_beats(), val() + d.val()); return expensive_add (d); }
|
||||||
|
|
||||||
/* donn't provide operator+(samplepos_t) or operator+(superclock_t)
|
/* don't provide operator+(samplepos_t) or operator+(superclock_t)
|
||||||
* because the compiler can't disambiguate them and neither can we.
|
* because the compiler can't disambiguate them and neither can we.
|
||||||
* to add such types, create a timepo_t and then add that.
|
* to add such types, create a timepo_t and then add that.
|
||||||
*/
|
*/
|
||||||
|
|
@ -228,7 +228,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
||||||
|
|
||||||
/* these can only be called after verifying that the time domain does
|
/* these can only be called after verifying that the time domain does
|
||||||
* not match the relevant one i.e. call _beats() to get a Beats value
|
* not match the relevant one i.e. call _beats() to get a Beats value
|
||||||
* when this is using the audio time doamin
|
* when this is using the audio time domain
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* these three methods are to be called ONLY when we have already that
|
/* these three methods are to be called ONLY when we have already that
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@ Pane::on_size_allocate (Gtk::Allocation& alloc)
|
||||||
reallocate (alloc);
|
reallocate (alloc);
|
||||||
Container::on_size_allocate (alloc);
|
Container::on_size_allocate (alloc);
|
||||||
|
|
||||||
/* minumum pane size constraints */
|
/* minimum pane size constraints */
|
||||||
Dividers::size_type div = 0;
|
Dividers::size_type div = 0;
|
||||||
for (Dividers::const_iterator d = dividers.begin(); d != dividers.end(); ++d, ++div) {
|
for (Dividers::const_iterator d = dividers.begin(); d != dividers.end(); ++d, ++div) {
|
||||||
// XXX skip dividers that were just hidden in reallocate()
|
// XXX skip dividers that were just hidden in reallocate()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue