Git commit 332cde91e368700c12a136e03919db949314f8a2 by Kunda Ki. Committed on 18/11/2025 at 02:48. Pushed by eschenbacher into branch 'master'.
Fix various typos Fixes user-facing and non-user-facing typos. Found via: `codespell -S "*.appdata.xml,*.po,*.docbook,*.desktop.in"` M +1 -1 doc/en/index.docbook M +2 -2 kwave/FileContext.h M +1 -1 kwave/MainWidget.cpp M +2 -2 kwave/TopWidget.cpp M +1 -1 kwave/main.cpp M +1 -1 libgui/CurveWidget.h M +1 -1 libgui/FilterPlugin.h M +1 -1 libgui/MenuItem.h M +2 -2 libgui/MenuNode.h M +1 -1 libgui/MenuRoot.h M +1 -1 libgui/MenuSub.h M +1 -1 libgui/OverViewCache.cpp M +1 -1 libgui/ScaleWidget.h M +1 -1 libgui/SelectionTracker.cpp M +1 -1 libgui/TrackPixmap.cpp M +1 -1 libkwave/CodecPlugin.h M +1 -1 libkwave/FileInfo.h M +1 -1 libkwave/Interpolation.h M +1 -1 libkwave/MetaData.h M +1 -1 libkwave/MimeData.h M +1 -1 libkwave/MultiTrackWriter.h M +5 -5 libkwave/Parser.h M +1 -1 libkwave/PlaybackController.h M +1 -1 libkwave/Plugin.cpp M +1 -1 libkwave/SampleReader.h M +1 -1 libkwave/Signal.cpp M +1 -1 libkwave/Track.h M +4 -4 libkwave/Utils.h M +1 -1 plugins/amplifyfree/AmplifyFreePlugin.cpp M +2 -2 plugins/band_pass/BandPassDialog.h M +1 -1 plugins/codec_ogg/OpusDecoder.cpp M +1 -1 plugins/codec_wav/RIFFChunk.h M +1 -1 plugins/codec_wav/RIFFParser.cpp M +1 -1 plugins/debug/DebugPlugin.h M +1 -1 plugins/goto/InsertAtPlugin.cpp M +1 -1 plugins/goto/InsertAtPlugin.h M +1 -1 plugins/lowpass/LowPassDialog.h M +1 -1 plugins/noise/NoiseDialog.h M +1 -1 plugins/notch_filter/NotchFilterDialog.h M +1 -1 plugins/pitch_shift/PitchShiftDialog.cpp M +1 -1 plugins/playback/PlayBack-OSS.cpp M +1 -1 plugins/playback/PlayBackPlugin.h M +1 -1 plugins/record/RecordPlugin.cpp M +1 -1 plugins/samplerate/SampleRatePlugin.cpp M +1 -1 plugins/saveblocks/SaveBlocksPlugin.h M +1 -1 plugins/selectrange/SelectRangePlugin.cpp M +1 -1 plugins/sonagram/SonagramDialog.cpp M +3 -3 plugins/sonagram/SonagramPlugin.cpp M +2 -2 plugins/sonagram/SonagramPlugin.h M +1 -1 plugins/volume/VolumePlugin.cpp https://invent.kde.org/multimedia/kwave/-/commit/332cde91e368700c12a136e03919db949314f8a2 diff --git a/doc/en/index.docbook b/doc/en/index.docbook index 81f218cc7..e32776d52 100644 --- a/doc/en/index.docbook +++ b/doc/en/index.docbook @@ -1082,7 +1082,7 @@ <para> The ASCII format is quite useful for scientific and educational purposes. - Due to it's simple format, you can either write simple + Due to its simple format, you can either write simple files on your own with a text editor or you can use the output of some other application and convert it into ASCII. As the format is <emphasis>really</emphasis> simple, you diff --git a/kwave/FileContext.h b/kwave/FileContext.h index 9e9f8a6c6..b04d34b88 100644 --- a/kwave/FileContext.h +++ b/kwave/FileContext.h @@ -235,8 +235,8 @@ namespace Kwave void sigModified(); /** - * emitted when the context is about to be destroyed - * (in the context of it's destructor) + * Emitted when the context is about to be destroyed + * (in the context of its destructor) */ void destroyed(Kwave::FileContext *context); diff --git a/kwave/MainWidget.cpp b/kwave/MainWidget.cpp index 13fb6067b..c30821f1f 100644 --- a/kwave/MainWidget.cpp +++ b/kwave/MainWidget.cpp @@ -75,7 +75,7 @@ #define MINIMUM_SAMPLES_PER_SCREEN 5 /** - * Default widht of the display in seconds when in streaming mode, + * Default width of the display in seconds when in streaming mode, * where no initial length information is available (guess: 5min) */ #define DEFAULT_DISPLAY_TIME (5 * 60.0) diff --git a/kwave/TopWidget.cpp b/kwave/TopWidget.cpp index efc0cc142..a9bb15229 100644 --- a/kwave/TopWidget.cpp +++ b/kwave/TopWidget.cpp @@ -842,7 +842,7 @@ int Kwave::TopWidget::executeCommand(const QString &line) const Kwave::FileContext *context = it.value(); if (!sub || !context) continue; - // identify the window by it's title + // identify the window by its title if (context->windowCaption(false) == title) { // activate the sub window if it is not the active one if (m_mdi_area->activeSubWindow() != sub) @@ -1417,7 +1417,7 @@ void Kwave::TopWidget::updateMenu() i18nc( "list menu entry of a label, %1=index, %2=description/name", "#%1 (%2)", index, name) : - i18nc("list menue entry of a label, " + i18nc("list menu entry of a label, " "without description, %1=index", "#%1", index); m_menu_manager->addNumberedMenuEntry( diff --git a/kwave/main.cpp b/kwave/main.cpp index 7457a5caa..88fa1bc09 100644 --- a/kwave/main.cpp +++ b/kwave/main.cpp @@ -38,7 +38,7 @@ using namespace Qt::StringLiterals; /** * add data concerning the developers and - * contributers to the about data + * contributors to the about data */ static void addDataStrings(KAboutData &aboutdata) { diff --git a/libgui/CurveWidget.h b/libgui/CurveWidget.h index fd828ef3d..27a1dde10 100644 --- a/libgui/CurveWidget.h +++ b/libgui/CurveWidget.h @@ -71,7 +71,7 @@ namespace Kwave public slots: /** - * Selects a new interpolation type by it's numeric index. Used from the + * Selects a new interpolation type by its numeric index. Used from the * mouse context menu. */ void selectInterpolationType(QAction *action); diff --git a/libgui/FilterPlugin.h b/libgui/FilterPlugin.h index eabbb42d8..59120833d 100644 --- a/libgui/FilterPlugin.h +++ b/libgui/FilterPlugin.h @@ -44,7 +44,7 @@ namespace Kwave /** * Constructor * @param parent pointer to the corresponding plugin manager - * @param args argument list, containts internal meta data + * @param args argument list, contains internal meta data */ FilterPlugin(QObject *parent, const QVariantList &args); diff --git a/libgui/MenuItem.h b/libgui/MenuItem.h index 6c0c3a0a1..aa26bf3af 100644 --- a/libgui/MenuItem.h +++ b/libgui/MenuItem.h @@ -62,7 +62,7 @@ namespace Kwave void actionSelected() override; /** - * Handles/interpretes special menu commands. + * Handles/interprets special menu commands. * @param command name of a menu node or command * @return true if the name was recognized as a command and handled */ diff --git a/libgui/MenuNode.h b/libgui/MenuNode.h index fe0e30e49..9764984ef 100644 --- a/libgui/MenuNode.h +++ b/libgui/MenuNode.h @@ -228,7 +228,7 @@ namespace Kwave * position contains a path that doesn't completely exist, all * missing branches will be appended. * @param name non-localized name of the first node (might be 0) - * @param position path consiting of several node names separated + * @param position path consisting of several node names separated * by a '/'. All strings are non-localized. * @param command the command to be sent when the node is * selected (might be 0) @@ -251,7 +251,7 @@ namespace Kwave virtual Kwave::MenuNode *leafToBranch(Kwave::MenuNode *node); /** - * Handles/interpretes special menu commands. + * Handles/interprets special menu commands. * @param command name of a menu node or command * @return true if the name was recognized as a command and handled */ diff --git a/libgui/MenuRoot.h b/libgui/MenuRoot.h index a7a369fdf..815439502 100644 --- a/libgui/MenuRoot.h +++ b/libgui/MenuRoot.h @@ -58,7 +58,7 @@ namespace Kwave * @see MenuNode::insertNode() * * @param name non-localized name of the first node (might be 0) - * @param position path consiting of several node names separated + * @param position path consisting of several node names separated * by a '/'. All strings are non-localized. * @param command the command to be sent when the node is * selected (might be 0) diff --git a/libgui/MenuSub.h b/libgui/MenuSub.h index 9ee9c349f..e55f226b6 100644 --- a/libgui/MenuSub.h +++ b/libgui/MenuSub.h @@ -112,7 +112,7 @@ namespace Kwave void removeChild(Kwave::MenuNode *child) override; /** - * Handles/interpretes special menu commands. + * Handles/interprets special menu commands. * @param command name of a menu node or command * @return true if the name was recognized as a command and handled */ diff --git a/libgui/OverViewCache.cpp b/libgui/OverViewCache.cpp index 805fe864b..008e6d785 100644 --- a/libgui/OverViewCache.cpp +++ b/libgui/OverViewCache.cpp @@ -103,7 +103,7 @@ void Kwave::OverViewCache::scaleUp() sample_t *dmax = smax; CacheState *dstate = sstate; - // loop over all entries to be shrinked + // loop over all entries to be shrunk while (dst < count) { sample_t min = SAMPLE_MAX; sample_t max = SAMPLE_MIN; diff --git a/libgui/ScaleWidget.h b/libgui/ScaleWidget.h index 868c483ae..69f4219d9 100644 --- a/libgui/ScaleWidget.h +++ b/libgui/ScaleWidget.h @@ -36,7 +36,7 @@ namespace Kwave public: /** - * Primitve constructor for usage in a Qt designer's dialog + * Primitive constructor for usage in a Qt designer's dialog * @param parent the widget's parent widget */ explicit ScaleWidget(QWidget *parent); diff --git a/libgui/SelectionTracker.cpp b/libgui/SelectionTracker.cpp index bcaee39d8..8be046cac 100644 --- a/libgui/SelectionTracker.cpp +++ b/libgui/SelectionTracker.cpp @@ -376,7 +376,7 @@ void Kwave::SelectionTracker::selectRange(QList<QUuid> tracks, emit sigInvalidated(nullptr, m_offset + old_len - 1, SAMPLE_INDEX_MAX); } else if (length < old_len) { - // length was reduced -> invalidate shrinked area at end + // length was reduced -> invalidate shrunken area at end emit sigInvalidated(nullptr, m_offset + length - 1, SAMPLE_INDEX_MAX); } diff --git a/libgui/TrackPixmap.cpp b/libgui/TrackPixmap.cpp index 131c3c4a5..c5438d23b 100644 --- a/libgui/TrackPixmap.cpp +++ b/libgui/TrackPixmap.cpp @@ -493,7 +493,7 @@ void Kwave::TrackPixmap::calculateInterpolation() // qDebug("TrackPixmap::calculateInterpolation()"); - // remove all previous coefficents and signal buffer + // remove all previous coefficients and signal buffer m_interpolation_alpha.clear(); Q_ASSERT(!qFuzzyIsNull(m_zoom)); diff --git a/libkwave/CodecPlugin.h b/libkwave/CodecPlugin.h index 4aeacb7f6..c538e00a6 100644 --- a/libkwave/CodecPlugin.h +++ b/libkwave/CodecPlugin.h @@ -45,7 +45,7 @@ namespace Kwave /** * Constructor * @param parent pointer to the corresponding plugin manager - * @param args argument list, containts internal meta data + * @param args argument list, contains internal meta data * @param codec reference to a static container for the codec */ CodecPlugin(QObject *parent, const QVariantList &args, Codec &codec); diff --git a/libkwave/FileInfo.h b/libkwave/FileInfo.h index 1be4937e4..b3aab21ae 100644 --- a/libkwave/FileInfo.h +++ b/libkwave/FileInfo.h @@ -86,7 +86,7 @@ namespace Kwave INF_OPUS_FRAME_LEN, /**< Opus codec: frame length in ms */ INF_ORGANIZATION, /**< organization/label */ INF_ORIGINAL, /**< true=original, false=copy */ - INF_PERFORMER, /**< name ot the performer */ + INF_PERFORMER, /**< name of the performer */ INF_PRIVATE, /**< "private" bit */ INF_PRODUCT, /**< product */ INF_SAMPLE_FORMAT, /**< sample format (libaudiofile) */ diff --git a/libkwave/Interpolation.h b/libkwave/Interpolation.h index d4261ebbf..0c75547f1 100644 --- a/libkwave/Interpolation.h +++ b/libkwave/Interpolation.h @@ -102,7 +102,7 @@ namespace Kwave */ static QStringList descriptions(bool localized = false); - /** Sets a new interpolation tpye */ + /** Sets a new interpolation type */ inline void setType (Kwave::interpolation_t t) { m_type = t; } diff --git a/libkwave/MetaData.h b/libkwave/MetaData.h index 16e46a85e..5896928a0 100644 --- a/libkwave/MetaData.h +++ b/libkwave/MetaData.h @@ -165,7 +165,7 @@ namespace Kwave /** returns a list with all property names */ QStringList keys() const; - /** returns a list of position bount property names */ + /** returns a list of position bound property names */ static QStringList positionBoundPropertyNames(); /** diff --git a/libkwave/MimeData.h b/libkwave/MimeData.h index ef713d2a7..be0ac4b42 100644 --- a/libkwave/MimeData.h +++ b/libkwave/MimeData.h @@ -83,7 +83,7 @@ namespace Kwave private: /** - * interal class for buffering huge amounts of mime data. + * internal class for buffering huge amounts of mime data. * Used as a "write only" stream, after writing the data can be * memory mapped and accessed through a QByteArray. */ diff --git a/libkwave/MultiTrackWriter.h b/libkwave/MultiTrackWriter.h index 48a723fa8..fb192199d 100644 --- a/libkwave/MultiTrackWriter.h +++ b/libkwave/MultiTrackWriter.h @@ -78,7 +78,7 @@ namespace Kwave private: /** - * Intializer, see constructor... + * Initializer, see constructor... * * @param signal_manager reference to a SignalManager * @param track_list array of indices of tracks for reading diff --git a/libkwave/Parser.h b/libkwave/Parser.h index 7ff80630a..509cfa3c0 100644 --- a/libkwave/Parser.h +++ b/libkwave/Parser.h @@ -102,7 +102,7 @@ namespace Kwave /** * Gets the next parameter through calling nextParam() and - * interpretes it as a "bool" value. It will recognize the + * interprets it as a "bool" value. It will recognize the * strings "true" and "false" (not case-sensitive) and * numeric values (true means not zero). On errors the * return value will be false. @@ -111,28 +111,28 @@ namespace Kwave /** * Gets the next parameter through calling nextParam() and - * interpretes it as an "int" value. On errors the + * interprets it as an "int" value. On errors the * return value will be zero. */ int toInt(); /** * Gets the next parameter through calling nextParam() and - * interpretes it as an "unsigned int" value. On errors the + * interprets it as an "unsigned int" value. On errors the * return value will be zero. */ unsigned int toUInt(); /** * Gets the next parameter through calling nextParam() and - * interpretes it as a "sample_index_t" value. On errors the + * interprets it as a "sample_index_t" value. On errors the * return value will be zero. */ sample_index_t toSampleIndex(); /** * Gets the next parameter through calling nextParam() and - * interpretes it as a "double" value. On errors the + * interprets it as a "double" value. On errors the * return value will be zero. */ double toDouble(); diff --git a/libkwave/PlaybackController.h b/libkwave/PlaybackController.h index 199eced47..8cc7ae65f 100644 --- a/libkwave/PlaybackController.h +++ b/libkwave/PlaybackController.h @@ -174,7 +174,7 @@ namespace Kwave void playbackContinue(); /** - * Stopps playback / loop. Like playbackPause(), but resets the + * Stops playback / loop. Like playbackPause(), but resets the * playback pointer back to the start. */ void playbackStop(); diff --git a/libkwave/Plugin.cpp b/libkwave/Plugin.cpp index 822d80f26..a6285d4d9 100644 --- a/libkwave/Plugin.cpp +++ b/libkwave/Plugin.cpp @@ -311,7 +311,7 @@ void Kwave::Plugin::closeProgressDialog(Kwave::Plugin *) if (m_confirm_cancel) m_confirm_cancel->disconnect(); if (m_progress) m_progress->disconnect(); - // NOTE: as the progress dialog is *modal*, it is higly probable + // NOTE: as the progress dialog is *modal*, it is highly probable // that this function is called from the context of the event // loop that is provided by the progress dialog // => deleting this object should be done somewhere later... diff --git a/libkwave/SampleReader.h b/libkwave/SampleReader.h index cd256b1de..4c055fc1c 100644 --- a/libkwave/SampleReader.h +++ b/libkwave/SampleReader.h @@ -130,7 +130,7 @@ namespace Kwave /** * Reads a full buffer of samples. If the buffer cannot be filled, - * it will be shrinked to the number of samples that were really + * it will be shrunk to the number of samples that were really * read. */ SampleReader& operator >> (Kwave::SampleArray &sample); diff --git a/libkwave/Signal.cpp b/libkwave/Signal.cpp index 500f9ce58..01e697eb3 100644 --- a/libkwave/Signal.cpp +++ b/libkwave/Signal.cpp @@ -509,7 +509,7 @@ QUuid Kwave::Signal::uuidOfTrack(unsigned int track) // // // } else { -// // basically the same,but the loops go viceversa +// // basically the same,but the loops go vice-versa // // //slower routine because of check, needed only in this range... // for (unsigned int i = begin; i < begin + max; i++) { diff --git a/libkwave/Track.h b/libkwave/Track.h index 981451c41..8f7a8cd78 100644 --- a/libkwave/Track.h +++ b/libkwave/Track.h @@ -210,7 +210,7 @@ namespace Kwave /** * Append samples after a given stripe. * - * @param stripe the stripe after which to instert. Null pointer is + * @param stripe the stripe after which to insert. Null pointer is * allowed, in this case a new stripe is created * @param offset position where the new data should start * @param buffer array with samples diff --git a/libkwave/Utils.h b/libkwave/Utils.h index 29160354c..eb31984d7 100644 --- a/libkwave/Utils.h +++ b/libkwave/Utils.h @@ -46,20 +46,20 @@ namespace Kwave /** * Converts a zoom factor into a string. The number of decimals - * is automatically adjusted in order to give a nice formated + * is automatically adjusted in order to give a nice formatted * percent value. If the zoom factor gets too high for a reasonable * display in percent, the factor is displayed as a numeric * multiplier. * examples: "0.1 %", "12.3 %", "468 %", "11x" - * @param percent the zoom factor to be formated, a value of "100.0" + * @param percent the zoom factor to be formatted, a value of "100.0" * means "100%", "0.1" means "0.1%" and so on. */ QString LIBKWAVE_EXPORT zoom2string(double percent); /** * Converts a time in milliseconds into a string. Times below one - * millisecond are formated with an automatically adjusted number - * of decimals. Times below one second are formated like "9.9 ms". + * millisecond are formatted with an automatically adjusted number + * of decimals. Times below one second are formatted like "9.9 ms". * Times above one second and below one minute are rounded up * to full seconds and shown as "12.3 s". From one full minute * upwards time is shown as "12:34" (like most CD players do). diff --git a/plugins/amplifyfree/AmplifyFreePlugin.cpp b/plugins/amplifyfree/AmplifyFreePlugin.cpp index 37c37d7a0..6c6e47408 100644 --- a/plugins/amplifyfree/AmplifyFreePlugin.cpp +++ b/plugins/amplifyfree/AmplifyFreePlugin.cpp @@ -88,7 +88,7 @@ int Kwave::AmplifyFreePlugin::interpreteParameters(QStringList ¶ms) //*************************************************************************** QStringList *Kwave::AmplifyFreePlugin::setup(QStringList &previous_params) { - // try to interprete the previous parameters + // try to interpret the previous parameters interpreteParameters(previous_params); // create the setup dialog diff --git a/plugins/band_pass/BandPassDialog.h b/plugins/band_pass/BandPassDialog.h index a0aa98728..630d01338 100644 --- a/plugins/band_pass/BandPassDialog.h +++ b/plugins/band_pass/BandPassDialog.h @@ -60,7 +60,7 @@ namespace Kwave /** Sets the from a list of parameters */ void setParams(QStringList ¶ms) override; - /** retruns a pointer to this as a QDialog */ + /** Returns a pointer to this as a QDialog */ QDialog *dialog() override { return this; } signals: @@ -73,7 +73,7 @@ namespace Kwave /** * emitted whenever the bandwidth setting has changed - * @param bw bandwith parameter [0 .. 1.0] + * @param bw bandwidth parameter [0 .. 1.0] */ void bwChanged(double bw); diff --git a/plugins/codec_ogg/OpusDecoder.cpp b/plugins/codec_ogg/OpusDecoder.cpp index ad0078ec2..8afa6dd0a 100644 --- a/plugins/codec_ogg/OpusDecoder.cpp +++ b/plugins/codec_ogg/OpusDecoder.cpp @@ -676,7 +676,7 @@ void Kwave::OpusDecoder::close(Kwave::FileInfo &info) qDebug(" OpusDecoder: VBR mode"); } - // determine the avarage frame length in ms + // determine the average frame length in ms qreal avg_ms = (static_cast<qreal>(m_samples_raw) / static_cast<qreal>(m_packet_count)) / 48.0; qDebug(" OpusDecoder: average frame length: %0.1f ms", avg_ms); diff --git a/plugins/codec_wav/RIFFChunk.h b/plugins/codec_wav/RIFFChunk.h index 894d83d91..5bb1378fb 100644 --- a/plugins/codec_wav/RIFFChunk.h +++ b/plugins/codec_wav/RIFFChunk.h @@ -163,7 +163,7 @@ namespace Kwave bool isChildOf(Kwave::RIFFChunk *chunk); /** - * Fixes descrepancies in the size of the chunk. The new size will be + * Fixes discrepancies in the size of the chunk. The new size will be * computed as the size of all sub-chunks (that will be recursively * fixed too) plus the own header. */ diff --git a/plugins/codec_wav/RIFFParser.cpp b/plugins/codec_wav/RIFFParser.cpp index 22e93871e..85fcf1b0d 100644 --- a/plugins/codec_wav/RIFFParser.cpp +++ b/plugins/codec_wav/RIFFParser.cpp @@ -644,7 +644,7 @@ void Kwave::RIFFParser::collectGarbage() if (!chunk) continue; if (start_over || m_cancel) break; - // skip garbage chunks themselfes + // skip garbage chunks themselves if (chunk->type() == Kwave::RIFFChunk::Garbage) continue; Kwave::RIFFChunkList &subchunks = chunk->subChunks(); diff --git a/plugins/debug/DebugPlugin.h b/plugins/debug/DebugPlugin.h index a8de6aaad..f0d701c8e 100644 --- a/plugins/debug/DebugPlugin.h +++ b/plugins/debug/DebugPlugin.h @@ -31,7 +31,7 @@ namespace Kwave { /** - * This plugin is intended to be used internally for debuggin and + * This plugin is intended to be used internally for debugging and * verification purposes. */ class DebugPlugin: public Kwave::Plugin diff --git a/plugins/goto/InsertAtPlugin.cpp b/plugins/goto/InsertAtPlugin.cpp index 1da2529eb..7b6e883bf 100644 --- a/plugins/goto/InsertAtPlugin.cpp +++ b/plugins/goto/InsertAtPlugin.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - InsertAtPlugin.cpp - plugin for insertin the clipboard at a position + InsertAtPlugin.cpp - plugin for inserting the clipboard at a position ------------------- begin : Thu May 12 2011 copyright : (C) 2011 by Thomas Eschenbacher diff --git a/plugins/goto/InsertAtPlugin.h b/plugins/goto/InsertAtPlugin.h index 7de22e28a..01f2a4636 100644 --- a/plugins/goto/InsertAtPlugin.h +++ b/plugins/goto/InsertAtPlugin.h @@ -1,5 +1,5 @@ /*************************************************************************** - InsertAtPlugin.h - plugin for insertin the clipboard at a position + InsertAtPlugin.h - plugin for inserting the clipboard at a position ------------------- begin : Thu May 12 2011 copyright : (C) 2011 by Thomas Eschenbacher diff --git a/plugins/lowpass/LowPassDialog.h b/plugins/lowpass/LowPassDialog.h index d436af0ed..ec0a9c44f 100644 --- a/plugins/lowpass/LowPassDialog.h +++ b/plugins/lowpass/LowPassDialog.h @@ -58,7 +58,7 @@ namespace Kwave /** Sets the from a list of parameters */ void setParams(QStringList ¶ms) override; - /** retruns a pointer to this as a QDialog */ + /** Returns a pointer to this as a QDialog */ QDialog *dialog() override { return this; } signals: diff --git a/plugins/noise/NoiseDialog.h b/plugins/noise/NoiseDialog.h index a00a8d2d9..7fea75c78 100644 --- a/plugins/noise/NoiseDialog.h +++ b/plugins/noise/NoiseDialog.h @@ -51,7 +51,7 @@ namespace Kwave /** Sets the from a list of parameters */ void setParams(QStringList ¶ms) override; - /** retruns a pointer to this as a QDialog */ + /** Returns a pointer to this as a QDialog */ QDialog *dialog() override { return this; } signals: diff --git a/plugins/notch_filter/NotchFilterDialog.h b/plugins/notch_filter/NotchFilterDialog.h index 0125f29b2..d619b9ccb 100644 --- a/plugins/notch_filter/NotchFilterDialog.h +++ b/plugins/notch_filter/NotchFilterDialog.h @@ -68,7 +68,7 @@ namespace Kwave void freqChanged(double freq); /** - * Emitted when the bandwidth selectio has changed + * Emitted when the bandwidth selection has changed * @param bw the bandwidth parameter in Hz */ void bwChanged(double bw); diff --git a/plugins/pitch_shift/PitchShiftDialog.cpp b/plugins/pitch_shift/PitchShiftDialog.cpp index 90ab20a3c..941668ccb 100644 --- a/plugins/pitch_shift/PitchShiftDialog.cpp +++ b/plugins/pitch_shift/PitchShiftDialog.cpp @@ -130,7 +130,7 @@ void Kwave::PitchShiftDialog::setMode(Mode mode) DEFAULT_IMPOSSIBLE; } - // update the spped value in the display + // update the speed value in the display m_speed = speed; updateSpeed(m_speed); m_enable_updates = old_enable_updates; diff --git a/plugins/playback/PlayBack-OSS.cpp b/plugins/playback/PlayBack-OSS.cpp index 7e8f095df..cd341d41c 100644 --- a/plugins/playback/PlayBack-OSS.cpp +++ b/plugins/playback/PlayBack-OSS.cpp @@ -583,7 +583,7 @@ int Kwave::PlayBackOSS::detectChannels(const QString &device, fd = openDevice(device); if (fd < 0) return -1; - // find the smalles number of tracks, limit to MAX_CHANNELS + // find the smallest number of tracks, limit to MAX_CHANNELS for (t=1; t < MAX_CHANNELS; t++) { int real_tracks = t; err = ioctl(fd, SNDCTL_DSP_CHANNELS, &real_tracks); diff --git a/plugins/playback/PlayBackPlugin.h b/plugins/playback/PlayBackPlugin.h index 8ed91246b..42a983665 100644 --- a/plugins/playback/PlayBackPlugin.h +++ b/plugins/playback/PlayBackPlugin.h @@ -88,7 +88,7 @@ namespace Kwave protected: /** - * Interpretes a given parameter list and sets up internal + * Interprets a given parameter list and sets up internal * parameters accordingly. * @param params reference to a QStringList with parameters * @return the detected playback parameters diff --git a/plugins/record/RecordPlugin.cpp b/plugins/record/RecordPlugin.cpp index 388e22b0f..4ec105386 100644 --- a/plugins/record/RecordPlugin.cpp +++ b/plugins/record/RecordPlugin.cpp @@ -355,7 +355,7 @@ void Kwave::RecordPlugin::setMethod(Kwave::record_method_t method) // take the change in the method m_method = method; - // activate the cange in the dialog + // activate the change in the dialog m_dialog->setMethod(method); // set list of supported devices diff --git a/plugins/samplerate/SampleRatePlugin.cpp b/plugins/samplerate/SampleRatePlugin.cpp index bd883a189..9839b963a 100644 --- a/plugins/samplerate/SampleRatePlugin.cpp +++ b/plugins/samplerate/SampleRatePlugin.cpp @@ -191,7 +191,7 @@ void Kwave::SampleRatePlugin::run(QStringList params) // find out how many samples have been written and delete the leftovers sample_index_t written = sink[0]->position() - first; -// qDebug("SampleRatePlugin: old=%u, expexted=%u, written=%u", +// qDebug("SampleRatePlugin: old=%u, expected=%u, written=%u", // length, new_length, written); if (written < length) { sample_index_t to_delete = length - written; diff --git a/plugins/saveblocks/SaveBlocksPlugin.h b/plugins/saveblocks/SaveBlocksPlugin.h index 64093de17..6d6d8bffa 100644 --- a/plugins/saveblocks/SaveBlocksPlugin.h +++ b/plugins/saveblocks/SaveBlocksPlugin.h @@ -170,7 +170,7 @@ namespace Kwave /** * internal helper to create a string that contains a HTML - * formated list of file names or directories + * formatted list of file names or directories * @param list a list of file names or directories * @param max_entries maximum number of entries to render * @return the list as a single string, separated by "\<br\>" diff --git a/plugins/selectrange/SelectRangePlugin.cpp b/plugins/selectrange/SelectRangePlugin.cpp index eb8cb35eb..d0ed1d80e 100644 --- a/plugins/selectrange/SelectRangePlugin.cpp +++ b/plugins/selectrange/SelectRangePlugin.cpp @@ -96,7 +96,7 @@ QStringList *Kwave::SelectRangePlugin::setup(QStringList &previous_params) //*************************************************************************** int Kwave::SelectRangePlugin::start(QStringList ¶ms) { - // interprete the parameters + // interpret the parameters int result = interpreteParameters(params); if (result) return result; diff --git a/plugins/sonagram/SonagramDialog.cpp b/plugins/sonagram/SonagramDialog.cpp index c0c085df2..0f3d08894 100644 --- a/plugins/sonagram/SonagramDialog.cpp +++ b/plugins/sonagram/SonagramDialog.cpp @@ -81,7 +81,7 @@ Kwave::SonagramDialog::SonagramDialog(Kwave::Plugin &p) double np = sqrt(2.0 * static_cast<double>(m_length) / aspect_ratio); // round down to an exponent of 2, this makes the image more - // wide than heigh and gives a fast calculation + // wide than height and gives a fast calculation int bits = Kwave::toInt(floor(log(np) / log(2))); if (bits < 2) bits = 2; if (bits > 16) bits = 16; diff --git a/plugins/sonagram/SonagramPlugin.cpp b/plugins/sonagram/SonagramPlugin.cpp index df15649ef..40f19287c 100644 --- a/plugins/sonagram/SonagramPlugin.cpp +++ b/plugins/sonagram/SonagramPlugin.cpp @@ -101,7 +101,7 @@ QStringList *Kwave::SonagramPlugin::setup(QStringList &previous_params) { QStringList *result = nullptr; - // try to interprete the list of previous parameters, ignore errors + // try to interpret the list of previous parameters, ignore errors if (previous_params.count()) interpreteParameters(previous_params); QPointer<Kwave::SonagramDialog> dlg = @@ -421,7 +421,7 @@ void Kwave::SonagramPlugin::calculateSlice(Kwave::SonagramPlugin::Slice *slice) // norm all values to [0...254] and use them as pixel value const double scale = static_cast<double>(m_fft_points) / 254.0; for (unsigned int j = 0; j < m_fft_points / 2; j++) { - // get singal energy and scale to [0 .. 254] + // get signal energy and scale to [0 .. 254] double rea = slice->m_output[j][0]; double ima = slice->m_output[j][1]; double a = ((rea * rea) + (ima * ima)) / scale; @@ -489,7 +489,7 @@ void Kwave::SonagramPlugin::createNewImage(const unsigned int width, Q_ASSERT(!m_image.isNull()); if (m_image.isNull()) return; - // initialize the image's palette with transparecy + // initialize the image's palette with transparency m_image.setColorCount(256); for (int i = 0; i < 256; i++) { m_image.setColor(i, 0x00000000); diff --git a/plugins/sonagram/SonagramPlugin.h b/plugins/sonagram/SonagramPlugin.h index 9608d85b8..02cdc5863 100644 --- a/plugins/sonagram/SonagramPlugin.h +++ b/plugins/sonagram/SonagramPlugin.h @@ -81,7 +81,7 @@ namespace Kwave int start(QStringList ¶ms) override; /** - * Runns once until all slices of the sonagram are + * Runs once until all slices of the sonagram are * calculated. * @param params list of strings with parameters * @see Kwave::Plugin::run() @@ -167,7 +167,7 @@ namespace Kwave protected: /** - * interpretes a given parameter list and sets up internal + * interprets a given parameter list and sets up internal * coordinates accordingly * @param params reference to a QStringList with parameters * @return 0 if ok, or an error code if failed diff --git a/plugins/volume/VolumePlugin.cpp b/plugins/volume/VolumePlugin.cpp index 6d30d4c86..83be6007a 100644 --- a/plugins/volume/VolumePlugin.cpp +++ b/plugins/volume/VolumePlugin.cpp @@ -80,7 +80,7 @@ int Kwave::VolumePlugin::interpreteParameters(QStringList ¶ms) //*************************************************************************** QStringList *Kwave::VolumePlugin::setup(QStringList &previous_params) { - // try to interprete the previous parameters + // try to interpret the previous parameters interpreteParameters(previous_params); // initialize the overview cache
