]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
bridges: Spelling fixes
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 31 Oct 2021 01:04:37 +0000 (21:04 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 17 Nov 2021 10:37:51 +0000 (04:37 -0600)
Correct typos of the following word families:

multiplication
potentially
iteration
interaction
virtual
synthesis
convolve
initializes
overlap

ASTERISK-29714

Change-Id: Ia40f1aca8f2996ab407c6ed9d24cb10a67c6684b
(cherry picked from commit 2a8fb4695ef87c363fc49f142b696ceed85a7f98)

bridges/bridge_softmix.c
bridges/bridge_softmix/bridge_softmix_binaural.c
bridges/bridge_softmix/include/bridge_softmix_internal.h

index c7b1d6c8ba4f2bca3dd0a78013a12020504d4187..f61732b6e200169e2917459f17a211d5f511741b 100644 (file)
@@ -1864,7 +1864,7 @@ static int softmix_mixing_loop(struct ast_bridge *bridge)
                                                softmix_data->internal_mixing_interval, bridge_channel, 1, -1, -1, -1);
                        }
 
-                       /* If stat_iteration_counter is 0, then collect statistics during this mixing interation */
+                       /* If stat_iteration_counter is 0, then collect statistics during this mixing interaction */
                        if (!stat_iteration_counter) {
                                gather_softmix_stats(&stats, softmix_data, bridge_channel);
                        }
index 3a036cd90b370254f22903abb8c9412f32824b77..87b40353a8025c83ae3a4b999cc49218d3df9f00 100644 (file)
@@ -103,7 +103,7 @@ int do_convolve(struct convolve_channel *chan, int16_t *in_samples,
        }
        fftw_execute(chan->fftw_plan);
 
-       /* Imaginary mulitplication (frequency space). */
+       /* Imaginary multiplication (frequency space). */
        /* First FFTW result has never an imaginary part. */
        chan->fftw_in[0] = chan->fftw_out[0] * chan->hrtf[0];
        for (i = 1; i < (hrtf_length / 2); i++) {
@@ -128,7 +128,7 @@ int do_convolve(struct convolve_channel *chan, int16_t *in_samples,
                chan->fftw_out[i] = chan->fftw_out[i] / (hrtf_length / 2);
        }
 
-       /* Save the block for overlapp add in the next itteration. */
+       /* Save the block for overlap add in the next iteration. */
        for (i = 0; i < in_sample_size; i++) {
                chan->overlap_add[i] += chan->fftw_out[i];
        }
index ca70c3cb39885c267b0c3db4ce46b089b1b94099..374a6cc37d1ca5af5af6216e64eaff0d6c540151 100644 (file)
@@ -98,7 +98,7 @@ struct convolve_channel_pair {
 };
 
 struct convolve_data {
-       /*! A count of all channels potentialy having input data for the conference. */
+       /*! A count of all channels potentially having input data for the conference. */
        int number_channels;
        /*! Will set to true if there is at least one binaural output.
         * Only if set to true data will be convolved. */
@@ -304,7 +304,7 @@ int init_convolve_channel(struct convolve_channel *channel, unsigned int hrtf_le
                unsigned int chan_pos, unsigned int chan_side, unsigned int default_sample_size);
 
 /*!
- * \brief Initializies all data needed for binaural audio processing of a channel pair
+ * \brief Initializes all data needed for binaural audio processing of a channel pair
  * (left and right).
  *
  * \param cchan_pair The channel pair used for binaural audio processing.
@@ -319,7 +319,7 @@ int init_convolve_channel_pair(struct convolve_channel_pair *cchan_pair,
                unsigned int hrtf_len, unsigned int chan_pos, unsigned int default_sample_size);
 
 /*!
- * \brief Preinits a specific number of channels (CONVOVLE_CHANNEL_PREALLOC)
+ * \brief Preinits a specific number of channels (CONVOLVE_CHANNEL_PREALLOC)
  * at the beginning of a conference.
  *
  * \param data Contains all channels and data needed for binaural processing
@@ -354,7 +354,7 @@ void free_convolve_channel_pair(struct convolve_channel_pair *cchan_pair);
 void free_convolve_data(struct convolve_data *data);
 
 /*!
- * \brief Joins a channel into a virtual enviroment build with the help of binaural sythesis.
+ * \brief Joins a channel into a virtual enviroment build with the help of binaural synthesis.
  *
  * \param data Contains all channels and data needed for binaural processing
  *  (e.g. head related transfer functions).
@@ -388,7 +388,7 @@ void softmix_process_write_binaural_audio(struct softmix_channel *sc,
                unsigned int default_sample_size);
 
 /*!
- * \brief Checks if a position change in the virual enviroment is requested by one of
+ * \brief Checks if a position change in the virtual enviroment is requested by one of
  * the participants.
  *
  * \param bridge The conference bridge.