mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
Fix typos
found them with codespell. Signed-off-by: Diego Viola <diego.viola@gmail.com>
This commit is contained in:
parent
8a24ad3073
commit
7410755c03
45 changed files with 100 additions and 100 deletions
|
|
@ -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.*"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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" } ]`,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)"> ) " \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue