Fix typos

This commit is contained in:
Andrea Gelmini 2021-04-28 20:29:44 +02:00 committed by Wim Taymans
parent 379068c31d
commit 47ef2b6b09
35 changed files with 53 additions and 53 deletions

View file

@ -733,7 +733,7 @@ static int handle_route(struct device *dev, struct route *r)
if (!ri->prev_active) {
/* a new port has been found, restore the volume and make sure we
* save this as a prefered port */
* save this as a preferred port */
pw_log_info("device %d: new active port found '%s'", dev->id, r->name);
restore_route(dev, r);
} else if (r->props && r->save) {

View file

@ -2520,7 +2520,7 @@ int main(int argc, char *argv[])
else
pw_log_debug("got dbus connection %p", impl.this.dbus_connection);
} else {
pw_log_info("dbus diabled");
pw_log_info("dbus disabled");
}
if ((res = start_session(&impl)) < 0)

View file

@ -52,7 +52,7 @@ static const struct format audio_formats[] = {
{ SAMPLE_S24LE, SPA_AUDIO_FORMAT_S24_LE, "s24ne", 3 },
{ SAMPLE_S24_32LE, SPA_AUDIO_FORMAT_S24_32_LE, "s24-32ne", 4 },
#endif
/* planar formats, we just report them as inteleaved */
/* planar formats, we just report them as interleaved */
{ SAMPLE_U8, SPA_AUDIO_FORMAT_U8P, "u8ne", 1 },
{ SAMPLE_S16NE, SPA_AUDIO_FORMAT_S16P, "s16ne", 2 },
{ SAMPLE_S24_32NE, SPA_AUDIO_FORMAT_S24_32P, "s24-32ne", 4 },

View file

@ -49,7 +49,7 @@ struct pw_filter;
/** \enum pw_filter_state The state of a filter \memberof pw_filter */
enum pw_filter_state {
PW_FILTER_STATE_ERROR = -1, /**< the strean is in error */
PW_FILTER_STATE_ERROR = -1, /**< the stream is in error */
PW_FILTER_STATE_UNCONNECTED = 0, /**< unconnected */
PW_FILTER_STATE_CONNECTING = 1, /**< connection is in progress */
PW_FILTER_STATE_PAUSED = 2, /**< filter is connected and paused */

View file

@ -111,7 +111,7 @@ struct pw_impl_client_events {
/** Create a new client. This is mainly used by protocols. */
struct pw_impl_client *
pw_context_create_client(struct pw_impl_core *core, /**< the core object */
struct pw_protocol *prototol, /**< the client protocol */
struct pw_protocol *protocol, /**< the client protocol */
struct pw_properties *properties, /**< client properties */
size_t user_data_size /**< extra user data size */);

View file

@ -69,7 +69,7 @@ struct pw_impl_module_events {
void (*initialized) (void *data);
/** The module is registered. This is a good time to register
* objectes created from the module. */
* objects created from the module. */
void (*registered) (void *data);
};

View file

@ -660,7 +660,7 @@ struct pw_impl_node {
struct spa_fraction latency; /**< requested latency */
uint32_t quantum_size; /**< desired quantum */
struct spa_fraction max_latency; /**< miximum latency */
struct spa_fraction max_latency; /**< maximum latency */
uint32_t max_quantum_size; /**< max supported quantum */
struct spa_source source; /**< source to remotely trigger this node */
struct pw_memblock *activation;