mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
bridges: Spelling fixes
Correct typos of the following word families: multiplication potentially iteration interaction virtual synthesis convolve initializes overlap ASTERISK-29714 Change-Id: Ia40f1aca8f2996ab407c6ed9d24cb10a67c6684b
This commit is contained in:
@@ -1864,7 +1864,7 @@ static int softmix_mixing_loop(struct ast_bridge *bridge)
|
|||||||
softmix_data->internal_mixing_interval, bridge_channel, 1, -1, -1, -1);
|
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) {
|
if (!stat_iteration_counter) {
|
||||||
gather_softmix_stats(&stats, softmix_data, bridge_channel);
|
gather_softmix_stats(&stats, softmix_data, bridge_channel);
|
||||||
}
|
}
|
||||||
|
@@ -103,7 +103,7 @@ int do_convolve(struct convolve_channel *chan, int16_t *in_samples,
|
|||||||
}
|
}
|
||||||
fftw_execute(chan->fftw_plan);
|
fftw_execute(chan->fftw_plan);
|
||||||
|
|
||||||
/* Imaginary mulitplication (frequency space). */
|
/* Imaginary multiplication (frequency space). */
|
||||||
/* First FFTW result has never an imaginary part. */
|
/* First FFTW result has never an imaginary part. */
|
||||||
chan->fftw_in[0] = chan->fftw_out[0] * chan->hrtf[0];
|
chan->fftw_in[0] = chan->fftw_out[0] * chan->hrtf[0];
|
||||||
for (i = 1; i < (hrtf_length / 2); i++) {
|
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);
|
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++) {
|
for (i = 0; i < in_sample_size; i++) {
|
||||||
chan->overlap_add[i] += chan->fftw_out[i];
|
chan->overlap_add[i] += chan->fftw_out[i];
|
||||||
}
|
}
|
||||||
|
@@ -98,7 +98,7 @@ struct convolve_channel_pair {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct convolve_data {
|
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;
|
int number_channels;
|
||||||
/*! Will set to true if there is at least one binaural output.
|
/*! Will set to true if there is at least one binaural output.
|
||||||
* Only if set to true data will be convolved. */
|
* 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);
|
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).
|
* (left and right).
|
||||||
*
|
*
|
||||||
* \param cchan_pair The channel pair used for binaural audio processing.
|
* \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);
|
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.
|
* at the beginning of a conference.
|
||||||
*
|
*
|
||||||
* \param data Contains all channels and data needed for binaural processing
|
* \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);
|
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
|
* \param data Contains all channels and data needed for binaural processing
|
||||||
* (e.g. head related transfer functions).
|
* (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);
|
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.
|
* the participants.
|
||||||
*
|
*
|
||||||
* \param bridge The conference bridge.
|
* \param bridge The conference bridge.
|
||||||
|
Reference in New Issue
Block a user