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

60
NEWS
View file

@ -81,7 +81,7 @@ also contains some new features:
- The UCM conflicting devices patches were merged.
- Profiles and Routes can now also be set by name.
- Hires timestamps are now used when possible in IRQ based scheduling to
get more accurate wakup times.
get more accurate wakeup times.
- udev can now be an optional dependency.
- audioadapter now has an option to automatically configure its ports.
- Camera rotation was added to the libcamera node.
@ -467,7 +467,7 @@ It is API and ABI compatible with previous 0.3.x releases.
"From the beginning of the libcamera project, we have always seen
PipeWire as the solution to handle desktop and mobile integration and
give a seemless multimedia integration to users while providing security
give a seamless multimedia integration to users while providing security
features and resource sharing between applications."
- Kieran Bingham, libcamera author
@ -779,7 +779,7 @@ with previous 0.3.x releases.
nodes adapt to the new quantum. This is important for Pro-Audio nodes
that need to reconfigure the hardware to a new period.
- The stream now has an EARLY_PROCESS option that can be used to implement
custum buffer fill levels. (#3480)
custom buffer fill levels. (#3480)
- Fix a regression in regex parsing. (#3528)
- Fix a bug in position reporting in the driver node. (#3189) (#3544)
- Destroying a link will now recalculate the graph correctly.
@ -889,7 +889,7 @@ This is a bugfix release that is API and ABI compatible with previous
- Some fixes for LE audio support (#3479)
## JACK
- Also emit unregister notify even when supressed when creating the
- Also emit unregister notify even when suppressed when creating the
client.
- The notify callbacks now match JACK2 behaviour more.
- The mixer io areas are updated and handled safely now to avoid
@ -1009,7 +1009,7 @@ This is a quick bugfix release that is API and ABI compatible with previous
- Fix a bug in ALSA source where the available number of samples was miscaluclated
and resulted in xruns in some cases.
- A new L permission was added to make it possible to force a link between
nodes even when the nodes can't see eachother.
nodes even when the nodes can't see each other.
- The VBAN module now supports midi send and receive as well.
- Many cleanups and small fixes.
@ -1018,7 +1018,7 @@ This is a quick bugfix release that is API and ABI compatible with previous
- Global objects now only show permissions that apply to them. The permissions
required to perform various API calls are documented.
- A new L permission was added to make it possible to force a link between
nodes even when the nodes can't see eachother.
nodes even when the nodes can't see each other.
- Config files need to end with .conf.
- The client.api is added the to global properties of a node.
@ -1107,7 +1107,7 @@ This is a bugfix release that is API and ABI compatible with previous
## PipeWire
- Permissions for links between nodes are now enforced. The link will now check
that the owner clients of the nodes can see eachother before allowing the link.
that the owner clients of the nodes can see each other before allowing the link.
This avoids screensharing clients to accidentally being linked to the camera
nodes by the session manager. A side effect is that patchbay tools will no longer
be able to link portal managed screencast nodes to the camera, for this we need
@ -1360,7 +1360,7 @@ This is a bugfix release that is API and ABI compatible with previous
graph as a synchronous JACK client with no added latency.
- Many performance improvements. Activation of remote nodes is more
efficient, fewer eventfds are required on the clients, less callback
overhead in performence critical paths and an optimized poll function
overhead in performance critical paths and an optimized poll function
was added. This was mainly driven by the jackdbus module to get the lowest
possible overhead when running the graph.
- The JACK notify callback implementation was reworked to emulate better what
@ -1385,7 +1385,7 @@ This is a bugfix release that is API and ABI compatible with previous
- A potential out-of-buffers case was fixed in capture pw-streams where buffers
were not moved to the recycle queue when the node suspended.
- Nodes are now always woken up with the eventfd. Previously there were
some optimiztions in the server to directly call into the node process
some optimizations in the server to directly call into the node process
function but that optimization is not necessary. Without this optimization
it is now possible to run nodes in different threads.
- pw-stream trigger is now implemented correctly in all cases.
@ -1472,7 +1472,7 @@ This is a bugfix release that is API and ABI compatible with previous
- Improve some error reporting.
- The JACK headers were updated to a newer version.
- JACK callbacks are now managed with an event queue to simulate
more what JACK does. This avoids emiting callbacks when a method is blocking
more what JACK does. This avoids emitting callbacks when a method is blocking
for a reply and causing deadlocks. (#3183)
- Assign unique names to JACK clients. (#2833)
- Fix a potential crash when the thread_utils was used after free.
@ -1538,7 +1538,7 @@ This is a quick bugfix release that is API and ABI compatible with previous
## SPA
- One ALSA commit was not correctly reverted and might cause crashes.
- The ALSA sink and source now calculate the ALSA ringbuffer memory
location more correctly wich might improve compatibility with some
location more correctly which might improve compatibility with some
hardware.
- v4l2 now sets the values of the controls in the Props param.
@ -1568,7 +1568,7 @@ This is a quick bugfix release that is API and ABI compatible with previous
again. (#3153)
- ALSA rate matching for sources was fixed. It would previously wait too
long for rate matching and then cause drift. This should reduce
crackling and stuttering whan capturing in low latency.
crackling and stuttering when capturing in low latency.
- Fix the GStreamer clock to make cheese video recording work again. (#3149)
- More fixes and improvements.
@ -1594,7 +1594,7 @@ This is a quick bugfix release that is API and ABI compatible with previous
- More ALSA IRQ based scheduling improvements.
- ALSA rate matching for sources was fixed. It would previously wait too
long for rate matching and then cause drift. This should reduce
crackling and stuttering whan capturing in low latency.
crackling and stuttering when capturing in low latency.
- The echo-cancel plugin API has a new method to make it possible to have
different channels for capture, source and playback.
- Reverted the UCM changes, they seem to cause regressions causing audio
@ -1852,7 +1852,7 @@ This is a bugfix release that is API and ABI compatible with previous
example is the X11-bell module that can now be disabled with a custom
property override.
- Filter-chain has a new mysofa based spacializer plugin.
- Suport was added for different clocks that allow the RTP modules to work
- Support was added for different clocks that allow the RTP modules to work
with a PTP clock, for example.
- Many bugfixes and improvements.
@ -1861,7 +1861,7 @@ This is a bugfix release that is API and ABI compatible with previous
- Avoid rate switches when the graph is idle.
- The rate selection algorithm was improved. This ensures minimal performance
and quality loss when resampling.
- The default min.quantum was set to 32 again after it got erronously changed
- The default min.quantum was set to 32 again after it got erroneously changed
to (the too low) 16 in version 0.3.45.
- Fix compilation issues with rust bindings because of macros in defines.
Work around it for now. (#2952)
@ -2026,7 +2026,7 @@ This is a bugfix release that is API and ABI compatible with previous
This can be set per application using the rules.
## GStreamer
- pipewiresrc will now advertize DMABUF support if the pipeline suports
- pipewiresrc will now advertise DMABUF support if the pipeline supports
this.
- pipewiresrc will now always be a live source unless told otherwise.
@ -2372,7 +2372,7 @@ This is a bugfix release that is API and ABI compatible with previous
- Codecs can now share endpoints. This reduces the amount of endpoints and
avoids problems with devices that can't handle a large amount of
codec endpoints.
- Report batery status to UPower for HFP AG.
- Report battery status to UPower for HFP AG.
- Fix bitpool increase.
## SPA
@ -2593,10 +2593,10 @@ This is a bugfix release that is API and ABI compatible with previous
- Support masking of conf.d/ files. (#2629)
- Use org.freedesktop.portal.Realtime when available. This does the
correct PID/TID mappings to make realtime also work from flatpaks.
- Fix rate adjustement logic in pulse-tunnel. This would cause
- Fix rate adjustment logic in pulse-tunnel. This would cause
increasing delays and hickups when using tunnels. (#2548)
- Add OPUS as a new vendor codec. Add OPUS-A2DP spec. PipeWire can now
send and reveive OPUS data over bluetooth.
send and receive OPUS data over bluetooth.
- An AAC decoder was added so that PipeWire can now also function as
an A2DP AAC receiver.
- Fix some issues where the wrong samplerate was used. (#2614)
@ -2633,13 +2633,13 @@ This is a bugfix release that is API and ABI compatible with previous
- Implement PIPEWIRE_NOTIFICATION_FD for notification when the socket
is ready.
- Try to use rtkit if set_nice() fails.
- Fix rate adjustement logic in pulse-tunnel. This would cause
- Fix rate adjustment logic in pulse-tunnel. This would cause
increasing delays and hickups when using tunnels. (#2548)
- Handle disconnect in pulse-tunnel.
## Bluetooth
- Add OPUS as a new vendor codec. Add OPUS-A2DP spec. PipeWire can now
send and reveive OPUS data over bluetooth.
send and receive OPUS data over bluetooth.
- An AAC decoder was added so that PipeWire can now also function as
an A2DP AAC receiver.
@ -2995,7 +2995,7 @@ This is a bugfix release that is API and ABI compatible with previous
## pulse-server
- Add initial stream latency property so that devices can be started
with a resonably accurate latency.
with a reasonably accurate latency.
- Fix ringbuffer underrun case. (#2366)
- module-native-protocol-tcp now has a auth-anonymous option to give
full access to the clients.
@ -3114,7 +3114,7 @@ This is a bugfix release that is API and ABI compatible with previous
- There is a new module-roc-sink-input module, the the PulseAudio equivalent.
- The ROC source and sink-input module now have a much lower latency.
- The ROC module now has an option to select FEC mode.
- Playback and record rate adjustements should work now. (#1159)
- Playback and record rate adjustments should work now. (#1159)
## JACK
- Remove some useless pthread attributes. This makes JACK work in QEMU with
@ -3188,13 +3188,13 @@ This is a bugfix release that is API and ABI compatible with previous
## SPA
- The channelmixer now has PSD upmixing enabled again. We used the
simple upmixing in the previous release but that just sounds too
aweful to be a good default. (#861) and (#2219)
awful to be a good default. (#861) and (#2219)
- The channelmixer will not upmix FC and LFE anymore when upmixing is
explicitly disabled. (#2266)
- The channelmixer will only lowpass filter FC and LFE channels when
they were upmixed. (#2280)
- The defaults of the channelmixer were tweaked a little. There is now
a little bit more bass in the LFE channel and more high fequencies
a little bit more bass in the LFE channel and more high frequencies
in the FC channel when upmixing. Also the channel widening has been
disabled by default.
- Locale independent float parsing now uses a more portable solution
@ -3333,7 +3333,7 @@ This is a bugfix release that is API and ABI compatible with previous
- The channelmix parameters can be changed at runtime now.
- Many improvements to the upmixing algorithms. Rear channels are now
constructed from the ambient sound and can have delay and phase shift
applied to them to improve spacialization. The stereo channels can
applied to them to improve specialization. The stereo channels can
be filtered so that the dialog is more concentrated in the center
channel. (#861)
@ -3452,7 +3452,7 @@ This is a bugfix release that is API and ABI compatible with previous
more quickly and accurately.
## JACK
- Add an option to name the defauld device as `system` to improve
- Add an option to name the default device as `system` to improve
compatibility with some applications,
- Use lock-quantum by default. This makes sure that all dynamic quantum
changes are disabled while a JACK app is running. The only way to force
@ -3500,7 +3500,7 @@ This is a bugfix release that is API and ABI compatible with previous
- TI2902 chips as found in various Behringer cards should have inputs
again.
- Better handling of busy devices in udev, retry when the inotify close
event is emited.
event is emitted.
## SPA
- plugins now handle alignment properly and only expect the max alignment
@ -3563,7 +3563,7 @@ This is a bugfix release that is API and ABI compatible with previous
- Fix a potential file descriptor leak in the connection.
- A new minimal.conf file was added to demonstrate a static setup
of a daemon that doesn't require a session manager and is able to
run JACK applicaions.
run JACK applications.
- Nice levels are now only changed on the servers, not the clients.
- Add an option to suspend nodes when idle.
- Make it possible to avoid quantum and rate changes with
@ -3798,7 +3798,7 @@ This is a bugfix release that is API and ABI compatible with previous
that newer clients can now bind to older servers, which is
a typical case for a flatpak.
- A bug in the latency calculations was fixed where it would in
some cases report the wrong minumum latency.
some cases report the wrong minimum latency.
## modules
- module-echo-cancel has voice-detection enabled now.

View file

@ -1018,9 +1018,9 @@ A choice contains an array of possible values.
- Step (2) : child1 is a default value, options are between
child2 and child3, in steps of child4 in the value array.
- Enum (3) : child1 is a default value, options are any value from
the value array, prefered values come first.
the value array, preferred values come first.
- Flags (4) : child1 is a default value, options are any value from
the value array, prefered values come first.
the value array, preferred values come first.
- flags: must be 0
## Pod (20)

View file

@ -287,7 +287,7 @@ deprecated, the target.object property should be used instead, which uses the mo
a possible target.
@PAR@ client.conf target.object = <node.name|object.serial>
Where the node should link to ths can be a node.name or an object.serial.
Where the node should link to, this can be a node.name or an object.serial.
@PAR@ client.conf node.dont-reconnect = false
\parblock
@ -437,7 +437,7 @@ This option is only active when the up-mix is enabled.
@PAR@ client.conf channelmix.rear-delay = 12.0
\parblock
Apply a delay in milliseconds when up-mixing the rear channels. This improves
spacialization of the sound. A typical delay of 12 milliseconds is the default.
specialization of the sound. A typical delay of 12 milliseconds is the default.
This is only active when the `psd` up-mix method is used.
\endparblock
@ -452,7 +452,7 @@ This is only active when up-mix is enabled and a Front Center channel is mixed.
@PAR@ client.conf channelmix.hilbert-taps = 0
\parblock
This option will apply a 90 degree phase shift to the rear channels to improve spacialization.
This option will apply a 90 degree phase shift to the rear channels to improve specialization.
Taps needs to be between 15 and 255 with more accurate results (and more CPU consumption)
for higher values.
@ -489,7 +489,7 @@ disabled otherwise.
## Debug Parameters
@PAR@ client.conf debug.wav-path = ""
Make the stream to also write the raw samples to a WAV file for debugging puposes.
Make the stream to also write the raw samples to a WAV file for debugging purposes.
## Format Properties

View file

@ -100,7 +100,7 @@ The priority for selecting this device as the default device.
\parblock
The name of the clock. This name is auto generated from the card index and stream direction. Devices with the same clock name will not use a resampler to align the clocks. This can be used to link devices together with a shared word clock.
In Pro Audio mode, nodes from the same device are assumed to have the same clock and no resampling will happen when linked togther. So, linking a capture port to a playback port will not use any adaptive resampling in Pro Audio mode.
In Pro Audio mode, nodes from the same device are assumed to have the same clock and no resampling will happen when linked together. So, linking a capture port to a playback port will not use any adaptive resampling in Pro Audio mode.
In Non Pro Audio profile, no such assumption is made and adaptive resampling is done in all cases by default. This can also be disabled by setting the same clock.name on the nodes.
\endparblock
@ -293,7 +293,7 @@ Ignore the ALSA batch flag. If the batch flag is set, ALSA will need an extra pe
Use the driver provided channel map. Default is true when using UCM, false otherwise because many driver don't report this correctly.
@PAR@ device-param api.alsa.multi-rate # boolean
Allow devices from the same card to be opened in multiple sample rates. Default is true. Some older drivers did not properly advertize the capabilities of the device and only really supported opening the device in one rate.
Allow devices from the same card to be opened in multiple sample rates. Default is true. Some older drivers did not properly advertise the capabilities of the device and only really supported opening the device in one rate.
@PAR@ device-param api.alsa.htimestamp = false # boolean
Use ALSA htimestamps in scheduling, instead of the system clock.

View file

@ -286,7 +286,7 @@ it. Disable this if you want to globally disable DBus support in the process.
@PAR@ pipewire.conf vm.overrides = { default.clock.min-quantum = 1024 }
Any property in the vm.overrides property object will override the property
in the context.properties when PipeWire detects it is running in a VM. This
is deprected, use the context.properties.rules instead.
is deprecated, use the context.properties.rules instead.
@PAR@ pipewire.conf context.modules.allow-empty = false
By default, a warning is logged when there are no context.modules loaded because this

View file

@ -139,7 +139,7 @@ more debugging. This variable supports the following format:
shell globs to match on log topics and the levels are the respective
log level to set for that topic. Globs are applied in order and a matching
glob overrides an earlier glob for that category. A level without a glob
prefix will set the global log level and is a more preformant version of
prefix will set the global log level and is a more performant version of
`*:<level>`. For example, `PIPEWIRE_DEBUG=E,mod.*:D,mod.foo:X` enables global error messages,
debugging on all modules but no messages on the foo module.
- `<level>` specifies the log level:

View file

@ -56,7 +56,7 @@ for state changes.
# Versioning
All interfaces have a version number. The maximum supported version
number of an interface is advertized in the registry global event.
number of an interface is advertised in the registry global event.
A client asks for a specific version of an interface when it binds
to them. It is the task of the server to adapt to the version of the

View file

@ -157,7 +157,7 @@ The id and seq should be copied from the Ping event.
### Core::Error (Opcode 4)
An error occured in an object on the client.
An error occurred in an object on the client.
```
Struct(
@ -274,11 +274,11 @@ Destroy an object.
## Core Events
Core events are emited by the server.
Core events are emitted by the server.
### Core::Info (Opcode 0)
Emited by the server upon connection with the more information about the
Emitted by the server upon connection with the more information about the
server.
```
@ -309,7 +309,7 @@ server.
### Core::Done (Opcode 1)
Emited as a result of a client Sync method.
Emitted as a result of a client Sync method.
```
Struct(
@ -322,7 +322,7 @@ id and seq are passed from the client Sync request.
### Core::Ping (Opcode 2)
Emited by the server when it wants to check if a client is alive or ensure
Emitted by the server when it wants to check if a client is alive or ensure
that it has processed the previous events.
```
@ -1236,7 +1236,7 @@ about the the newly allocated buffer memory.
- type: the plane memory type
- memfd: the plane memfd
- mapoffset: the start offset of where the buffer memory starts
- maxsize: the maxiumum size of the memory.
- maxsize: the maximum size of the memory.
## ClientNode events

View file

@ -188,7 +188,7 @@ The driver calculates some stats about cpu time etc.
# Remote nodes.
For remote nodes, the eventfd and the activation is transfered from the server
For remote nodes, the eventfd and the activation is transferred from the server
to the client.
This means that writing to the remote client eventfd will wake the client directly

View file

@ -21,7 +21,7 @@ For example
- a stereo ALSA PCM playback device can appear as a sink with two input ports: front-left and front-right or
- a virtual ALSA device, to which clients which attempt to use ALSA directly connect, can appear as a source with two output ports: front-left and front right.
Similar mechanisms exist to interface with and accomodate applications which use JACK or Pulseaudio.
Similar mechanisms exist to interface with and accommodate applications which use JACK or Pulseaudio.
NOTE: `pw-jack` modifies the `LD_LIBRARY_PATH` environment variable so that applications will load PipeWires reimplementation of the JACK client libraries instead of JACKs own libraries. This results in JACK clients being redirected to PipeWire.

View file

@ -43,7 +43,7 @@ Show version information.
# EXIT STATUS
If the security context was successfuly created, **pw-container** does
If the security context was successfully created, **pw-container** does
not exit until terminated with a signal. It exits with status 0 if terminated by
SIGINT or SIGTERM in this case.

View file

@ -157,7 +157,7 @@ typedef
/* Client-code macros to check the state of memory. */
/* Check that memory at _qzz_addr is addressable for _qzz_len bytes.
If suitable addressibility is not established, Valgrind prints an
If suitable addressability is not established, Valgrind prints an
error message and returns the address of the first offending byte.
Otherwise it returns zero. */
#define VALGRIND_CHECK_MEM_IS_ADDRESSABLE(_qzz_addr,_qzz_len) \
@ -166,7 +166,7 @@ typedef
(_qzz_addr), (_qzz_len), 0, 0, 0)
/* Check that memory at _qzz_addr is addressable and defined for
_qzz_len bytes. If suitable addressibility and definedness are not
_qzz_len bytes. If suitable addressability and definedness are not
established, Valgrind prints an error message and returns the
address of the first offending byte. Otherwise it returns zero. */
#define VALGRIND_CHECK_MEM_IS_DEFINED(_qzz_addr,_qzz_len) \
@ -174,8 +174,8 @@ typedef
VG_USERREQ__CHECK_MEM_IS_DEFINED, \
(_qzz_addr), (_qzz_len), 0, 0, 0)
/* Use this macro to force the definedness and addressibility of an
lvalue to be checked. If suitable addressibility and definedness
/* Use this macro to force the definedness and addressability of an
lvalue to be checked. If suitable addressability and definedness
are not established, Valgrind prints an error message and returns
the address of the first offending byte. Otherwise it returns
zero. */

View file

@ -78,7 +78,7 @@ typedef struct {
struct spa_hook stream_listener;
int64_t delay;
uint64_t transfered;
uint64_t transferred;
uint64_t buffered;
int64_t now;
uintptr_t seq;
@ -202,7 +202,7 @@ static int snd_pcm_pipewire_delay(snd_pcm_ioplug_t *io, snd_pcm_sframes_t *delay
do {
seq1 = SPA_SEQ_READ(pw->seq);
delay = pw->delay + pw->transfered;
delay = pw->delay + pw->transferred;
now = pw->now;
if (io->stream == SND_PCM_STREAM_PLAYBACK)
avail = snd_pcm_ioplug_hw_avail(io, pw->hw_ptr, io->appl_ptr);
@ -416,7 +416,7 @@ static void on_stream_process(void *data)
SPA_SEQ_WRITE(pw->seq);
if (pw->now != pwt.now) {
pw->transfered = pw->buffered;
pw->transferred = pw->buffered;
pw->buffered = 0;
}
@ -425,10 +425,10 @@ static void on_stream_process(void *data)
pw->delay = delay;
/* the buffer is now queued in the stream and consumed */
if (io->stream == SND_PCM_STREAM_PLAYBACK)
pw->transfered += xfer;
pw->transferred += xfer;
/* more then requested data transfered, use them in next iteration */
pw->buffered = (want == 0 || pw->transfered < want) ? 0 : (pw->transfered % want);
/* more then requested data transferred, use them in next iteration */
pw->buffered = (want == 0 || pw->transferred < want) ? 0 : (pw->transferred % want);
pw->now = pwt.now;
SPA_SEQ_WRITE(pw->seq);

View file

@ -6392,13 +6392,13 @@ const char ** jack_get_ports (jack_client_t *client,
if (port_name_pattern && port_name_pattern[0]) {
if ((r = regcomp(&port_regex, port_name_pattern, REG_EXTENDED | REG_NOSUB)) != 0) {
pw_log_error("cant compile regex %s: %d", port_name_pattern, r);
pw_log_error("can't compile regex %s: %d", port_name_pattern, r);
return NULL;
}
}
if (type_name_pattern && type_name_pattern[0]) {
if ((r = regcomp(&type_regex, type_name_pattern, REG_EXTENDED | REG_NOSUB)) != 0) {
pw_log_error("cant compile regex %s: %d", type_name_pattern, r);
pw_log_error("can't compile regex %s: %d", type_name_pattern, r);
return NULL;
}
}

View file

@ -150,7 +150,7 @@ enum spa_meta_videotransform_value {
SPA_META_TRANSFORMATION_270, /**< 270 degree counter-clockwise */
SPA_META_TRANSFORMATION_Flipped, /**< 180 degree flipped around the vertical axis. Equivalent
* to a reflexion through the vertical line splitting the
* bufffer in two equal sized parts */
* buffer in two equal sized parts */
SPA_META_TRANSFORMATION_Flipped90, /**< flip then rotate around 90 degree counter-clockwise */
SPA_META_TRANSFORMATION_Flipped180, /**< flip then rotate around 180 degree counter-clockwise */
SPA_META_TRANSFORMATION_Flipped270, /**< flip then rotate around 270 degree counter-clockwise */

View file

@ -125,7 +125,7 @@ static inline int spa_json_next(struct spa_json * iter, const char **value)
case '[': case '{':
if (!(flag & __ARRAY_FLAG)) {
/* At top-level we may be either in object context
* or in single-item context, and then we need ot
* or in single-item context, and then we need to
* accept array/object here.
*/
if ((iter->state & __SUB_FLAG) && !(flag & __KEY_FLAG))

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)
{

View file

@ -98,7 +98,7 @@
* {
* matches = [
* # any of the items in matches needs to match, if one does,
* # actions are emited.
* # actions are emitted.
* {
* # all keys must match the value. ! negates. ~ starts regex.
* #node.name = "~alsa_input.*"

View file

@ -407,7 +407,7 @@ static int process_byte(struct port *p, uint32_t time, uint8_t byte,
int res = 0;
if (byte >= 0xf8) {
if (byte == 0xfd) {
pw_log_warn("droping invalid MIDI status bytes %08x", byte);
pw_log_warn("dropping invalid MIDI status bytes %08x", byte);
return false;
}
p->event_byte = byte;

View file

@ -129,7 +129,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
* use a mixer if you want the output of multiple filters to go into one
* filter input port.
*
* links can be omited when the graph has just 1 filter.
* links can be omitted when the graph has just 1 filter.
*
* ### Inputs and Outputs
*
@ -390,7 +390,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
* It has an output port "Out" and also a control output port "notify".
*
* "Freq", "Ampl", "Offset" and "Phase" can be used to control the sine wave
* frequence, amplitude, offset and phase.
* frequency, amplitude, offset and phase.
*
* ## SOFA filter
*

View file

@ -28,7 +28,7 @@
/** \page page_module_jackdbus_detect JACK DBus detect
*
* Automaticall creates a sink/source when a jackdbus server is started
* Automatically creates a sink/source when a jackdbus server is started
* and connect to JACK.
*
* ## Module Name

View file

@ -86,7 +86,7 @@ PW_LOG_TOPIC(mod_topic_connection, "conn." NAME);
* if the context is a server. If not absolute paths, the sockets are created
* in the default runtime directory.
*
* The props are copied directly to any client that connects trough this server
* The props are copied directly to any client that connects through this server
* socket and can be used to configure special permissions.
*
* Has the default value `[ { name = "CORENAME" }, { name = "CORENAME-manager" } ]`,

View file

@ -264,7 +264,7 @@
* ## Dynamic properties
*
* The pulse.properties can be dyanmically updated with rules. It supports
* The pulse.properties can be dynamically updated with rules. It supports
* an `update-props` action. The matches will be performed on the values in
* context.properties.
*

View file

@ -250,7 +250,7 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
value = "none";
pw_properties_set(props, "raop.encryption.type", value);
} else if (spa_streq(key, "cn")) {
/* Suported audio codecs:
/* Supported audio codecs:
* 0 = PCM,
* 1 = ALAC,
* 2 = AAC,

View file

@ -956,7 +956,7 @@ static int rtkit_get_bus(struct impl *impl)
impl->interface = RTKIT_INTERFACE;
} else {
res = -errno;
pw_log_warn("Realtime scheduling disabled: unsufficient realtime privileges, "
pw_log_warn("Realtime scheduling disabled: insufficient realtime privileges, "
"Portal not found on session bus, and no system bus for RTKit: %m");
return res;
}

View file

@ -86,7 +86,7 @@
* stream.rules = [
* { matches = [
* # any of the items in matches needs to match, if one does,
* # actions are emited.
* # actions are emitted.
* { # all keys must match the value. ! negates. ~ starts regex.
* #rtp.origin = "wim 3883629975 0 IN IP4 0.0.0.0"
* #rtp.payload = "127"

View file

@ -49,7 +49,7 @@
* with avahi/mDNS/Bonjour.
*
* Other machines on the network that run a compatible session will see
* eachother and will be able to send audio/midi between eachother.
* each other and will be able to send audio/midi between each other.
*
* The session setup is based on apple-midi and is compatible with
* apple-midi when the session is using midi.

View file

@ -48,7 +48,7 @@
*
* - `source.ip =<str>`: source IP address, default "0.0.0.0"
* - `destination.ip =<str>`: destination IP address, default "224.0.0.56"
* - `destination.port =<int>`: destination port, default random beteen 46000 and 47024
* - `destination.port =<int>`: destination port, default random between 46000 and 47024
* - `local.ifname = <str>`: interface name to use
* - `net.mtu = <int>`: MTU to use, default 1280
* - `net.ttl = <int>`: TTL to use, default 1
@ -131,7 +131,7 @@ PW_LOG_TOPIC(mod_topic, "mod." NAME);
#define USAGE "( source.ip=<source IP address, default:"DEFAULT_SOURCE_IP"> ) " \
"( destination.ip=<destination IP address, default:"DEFAULT_DESTINATION_IP"> ) " \
"( destination.port=<int, default random beteen 46000 and 47024> ) " \
"( destination.port=<int, default random between 46000 and 47024> ) " \
"( local.ifname=<local interface name to use> ) " \
"( net.mtu=<desired MTU, default:"SPA_STRINGIFY(DEFAULT_MTU)"> ) " \
"( net.ttl=<desired TTL, default:"SPA_STRINGIFY(DEFAULT_TTL)"> ) " \
@ -140,7 +140,7 @@ PW_LOG_TOPIC(mod_topic, "mod." NAME);
"( sess.name=<a name for the session> ) " \
"( sess.min-ptime=<minimum packet time in milliseconds, default:2> ) " \
"( sess.max-ptime=<maximum packet time in milliseconds, default:20> ) " \
"( sess.media=<string, the media type audio|midi|opus, default audio> ) " \
"( sess.media=<string, the media type audio|midi|opus, default audio> ) " \
"( audio.format=<format, default:"DEFAULT_FORMAT"> ) " \
"( audio.rate=<sample rate, default:"SPA_STRINGIFY(DEFAULT_RATE)"> ) " \
"( audio.channels=<number of channels, default:"SPA_STRINGIFY(DEFAULT_CHANNELS)"> ) " \

View file

@ -9,7 +9,7 @@
/** \page page_module_session_manager Session Manager
*
* This module implements some usefull objects for implementing a session
* This module implements some useful objects for implementing a session
* manager. It is not yet actively used.
*
* ## Module Name

View file

@ -122,7 +122,7 @@ static inline int pw_array_ensure_size(struct pw_array *arr, size_t size)
}
/** Add \a ref size bytes to \a arr. A pointer to memory that can
* hold at least \a size bytes is returned or NULL when an error occured
* hold at least \a size bytes is returned or NULL when an error occurred
* and errno will be set.*/
static inline void *pw_array_add(struct pw_array *arr, size_t size)
{

View file

@ -1245,7 +1245,7 @@ int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_propert
* {
* matches = [
* # any of the items in matches needs to match, if one does,
* # actions are emited.
* # actions are emitted.
* {
* # all keys must match the value. ! negates. ~ starts regex.
* <key> = <value>

View file

@ -1412,7 +1412,7 @@ static uint32_t find_best_rate(const uint32_t *rates, uint32_t n_rates, uint32_t
/* first find higher nearest GCD. This tries to find next bigest rate that
* requires the least amount of resample filter banks. Usually these are
* rates that are multiples of eachother or multiples of a common rate.
* rates that are multiples of each other or multiples of a common rate.
*
* 44100 and [ 32000 56000 88200 96000 ] -> 88200
* 48000 and [ 32000 56000 88200 96000 ] -> 96000

View file

@ -578,7 +578,7 @@ void pw_properties_free(struct pw_properties *properties)
* \param value a value or NULL to remove the key
* \return 1 if the properties were changed. 0 if nothing was changed because
* the property already existed with the same value or because the key to remove
* did not exist. < 0 if an error occured and nothing was changed.
* did not exist. < 0 if an error occurred and nothing was changed.
*
* Set the property in \a properties with \a key to \a value. Any previous value
* of \a key will be overwritten. When \a value is NULL, the key will be

View file

@ -190,7 +190,7 @@ pw_work_queue_add(struct pw_work_queue *queue, void *obj, int res, pw_work_func_
/** Cancel a work item
* \param queue the work queue
* \param obj the owner object
* \param id the wotk id to cancel
* \param id the work id to cancel
*
*/
SPA_EXPORT

View file

@ -106,7 +106,7 @@ struct data {
static void link_event(struct target_link *tl, enum pw_link_state state, int result)
{
/* Ignore non definitive states (negociating, allocating, etc). */
/* Ignore non definitive states (negotiating, allocating, etc). */
if (state != PW_LINK_STATE_ERROR &&
state != PW_LINK_STATE_PAUSED &&
state != PW_LINK_STATE_ACTIVE)

View file

@ -162,7 +162,7 @@ PWTEST(properties_new)
p = pw_properties_new(NULL, NULL);
pwtest_ptr_notnull(p);
pwtest_ptr_null(pw_properties_get(p, "k1"));
pw_properties_free(p); /* sefault/valgrind only check */
pw_properties_free(p); /* segfault/valgrind only check */
p = pw_properties_new_string("k1=v1 k2 = v2\tk3\t=\tv3\nk4\n=\nv4");
pwtest_str_eq(pw_properties_get(p, "k1"), "v1");