Fix typos

found them with codespell.

Signed-off-by: Diego Viola <diego.viola@gmail.com>
This commit is contained in:
Diego Viola 2024-05-20 10:45:04 -03:00 committed by Wim Taymans
parent 8a24ad3073
commit 7410755c03
45 changed files with 100 additions and 100 deletions

View file

@ -211,7 +211,7 @@ static int webrtc_init2(void *object, const struct spa_dict *args,
// drift compensation on all sinks and sources linked to this echo-canceler
apm->echo_cancellation()->enable_drift_compensation(false);
apm->echo_cancellation()->Enable(true);
// TODO: wire up supression levels to args
// TODO: wire up suppression levels to args
apm->echo_cancellation()->set_suppression_level(webrtc::EchoCancellation::kHighSuppression);
apm->noise_suppression()->set_level(webrtc::NoiseSuppression::kHigh);
apm->noise_suppression()->Enable(noise_suppression);

View file

@ -1718,7 +1718,7 @@ static int mixer_class_event(snd_mixer_class_t *class, unsigned int mask,
// NOTE: The remove event defined as '~0U`.
if (mask == SND_CTL_EVENT_MASK_REMOVE) {
// NOTE: unless remove pointer to melem from link-list at private_data of helem, hits
// assersion in alsa-lib since the list is not empty.
// assertion in alsa-lib since the list is not empty.
_helem = snd_mixer_elem_get_private(melem);
*_helem = NULL;
snd_mixer_elem_detach(melem, helem);

View file

@ -961,7 +961,7 @@ static int write_queued_output_buffers(struct impl *this)
/* In here, we write as much data as possible. The device may
* initially not have sufficient space, but it is possible
* that due to ongoing data consumption, it can accomodate
* that due to ongoing data consumption, it can accommodate
* for more data in a next attempt, hence the "again" label.
*
* If during the write attempts, only a portion of a chunk

View file

@ -1339,7 +1339,7 @@ static int reconfigure_mode(struct impl *this, enum spa_param_port_config_mode m
init_port(this, direction, i, 0, false, false, true);
}
/* when output is convert mode, we are in OUTPUT (merge) mode, we always output all
* the incomming data to output. When output is DSP, we need to output quantum size
* the incoming data to output. When output is DSP, we need to output quantum size
* chunks. */
this->direction = this->dir[SPA_DIRECTION_OUTPUT].mode == SPA_PARAM_PORT_CONFIG_MODE_convert ?
SPA_DIRECTION_OUTPUT : SPA_DIRECTION_INPUT;

View file

@ -179,7 +179,7 @@ struct surround_encoder_mapping {
#define BT_AUDIO_LOCATION_BC 0x00200000 /* Bottom Front Center */
#define BT_AUDIO_LOCATION_BLC 0x00400000 /* Bottom Front Left */
#define BT_AUDIO_LOCATION_BRC 0x00800000 /* Bottom Front Right */
#define BT_AUDIO_LOCATION_FLW 0x01000000 /* Fron Left Wide */
#define BT_AUDIO_LOCATION_FLW 0x01000000 /* Front Left Wide */
#define BT_AUDIO_LOCATION_FRW 0x02000000 /* Front Right Wide */
#define BT_AUDIO_LOCATION_SSL 0x04000000 /* Left Surround */
#define BT_AUDIO_LOCATION_SSR 0x08000000 /* Right Surround */

View file

@ -1152,7 +1152,7 @@ next_indicator:
/* *****
* Following commands requires a Service Level Connection
* and acces to a modem
* and access to a modem
* ***** */
} else if (!backend->modem.network_has_service) {
@ -1162,7 +1162,7 @@ next_indicator:
/* *****
* Following commands requires a Service Level Connection,
* acces to a modem and to the network
* access to a modem and to the network
* ***** */
} else if (spa_strstartswith(buf, "ATA")) {

View file

@ -282,7 +282,7 @@ static int parse_bluez_pacs(const uint8_t *data, size_t data_size, struct pac_da
struct spa_debug_context *debug_ctx)
{
/*
* BlueZ capabilites for the same codec may contain multiple
* BlueZ capabilities for the same codec may contain multiple
* PACs separated by zero-length LTV (see BlueZ b907befc2d80)
*/
int pac = 0;

View file

@ -976,7 +976,7 @@ static DBusHandlerResult endpoint_select_properties(DBusConnection *conn, DBusMe
duplex = SPA_FLAG_IS_SET(ep->device->profiles, SPA_BT_PROFILE_BAP_DUPLEX);
/* Call of SelectProperties means that local device acts as an initiator
* and therefor remote endpoint is an acceptor
* and therefore remote endpoint is an acceptor
*/
ep->acceptor = true;
@ -3660,7 +3660,7 @@ finish:
spa_log_error(monitor->log, "transport %p: transport_create_iso_io failed",
transport);
/* For broadcast the initiator moves the transport state to SPA_BT_TRANSPORT_STATE_ACTIVE */
/* TODO: handeling multiple BIGs support */
/* TODO: handling multiple BIGs support */
if ((transport->profile == SPA_BT_PROFILE_BAP_BROADCAST_SINK) ||
(transport->profile == SPA_BT_PROFILE_BAP_BROADCAST_SOURCE)) {
spa_bt_transport_set_state(transport, SPA_BT_TRANSPORT_STATE_ACTIVE);
@ -3832,7 +3832,7 @@ static int do_transport_release(struct spa_bt_transport *transport)
}
/* For LE Audio, multiple transport stream (CIS) can be linked together (CIG).
* If they are part of the same device they re-use the same fd, and call to
* If they are part of the same device they reuse the same fd, and call to
* release should be done for the last one only.
*/
spa_list_for_each(t_linked, &transport->bap_transport_linked, bap_transport_linked) {

View file

@ -920,7 +920,7 @@ static int spa_libcamera_stream_on(struct impl *impl)
int res;
if (!port->current_format) {
spa_log_error(impl->log, "Exting %s with -EIO", __FUNCTION__);
spa_log_error(impl->log, "Exiting %s with -EIO", __FUNCTION__);
return -EIO;
}

View file

@ -304,8 +304,8 @@ static int runExportSHMBuffers(struct vulkan_compute_state *s) {
/** runCommandBuffer
* The return value of this functions means the following:
* ret < 0: Error
* ret = 0: queueSubmit was succsessful, but manual synchronization is required
* ret = 1: queueSubmit was succsessful and buffers can be released without synchronization
* ret = 0: queueSubmit was successful, but manual synchronization is required
* ret = 1: queueSubmit was successful and buffers can be released without synchronization
*/
static int runCommandBuffer(struct vulkan_compute_state *s)
{