mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
More spelling fixes
This commit is contained in:
parent
231645d4fc
commit
c5dca7cf2b
81 changed files with 165 additions and 167 deletions
|
|
@ -248,7 +248,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
|
|||
pa_rtpoll_item_free(u->rtpoll_item);
|
||||
u->rtpoll_item = NULL;
|
||||
} else {
|
||||
/* Quesiton: is this valid here: or should we do some sort of:
|
||||
/* Question: is this valid here: or should we do some sort of:
|
||||
return pa_sink_process_msg(PA_MSGOBJECT(u->core), PA_CORE_MESSAGE_UNLOAD_MODULE, u->module, 0, NULL);
|
||||
?? */
|
||||
pa_module_unload_request(u->module, TRUE);
|
||||
|
|
@ -287,7 +287,7 @@ static void sink_set_volume_cb(pa_sink *s) {
|
|||
pa_log_debug("Got hardware volume: %s", pa_cvolume_snprint(t, sizeof(t), &hw));
|
||||
pa_log_debug("Calculated software volume: %s", pa_cvolume_snprint(t, sizeof(t), &s->soft_volume));
|
||||
|
||||
/* Any necessary software volume manipulateion is done so set
|
||||
/* Any necessary software volume manipulation is done so set
|
||||
our hw volume (or v as a single value) on the device */
|
||||
pa_raop_client_set_volume(u->raop, v);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ static inline void bit_writer(uint8_t **buffer, uint8_t *bit_pos, int *size, uin
|
|||
if (!data_bit_len)
|
||||
return;
|
||||
|
||||
/* If bit pos is zero, we will definatly use at least one bit from the current byte so size increments. */
|
||||
/* If bit pos is zero, we will definately use at least one bit from the current byte so size increments. */
|
||||
if (!*bit_pos)
|
||||
*size += 1;
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ static inline void bit_writer(uint8_t **buffer, uint8_t *bit_pos, int *size, uin
|
|||
**buffer = bit_data;
|
||||
/* If our data fits exactly into the current byte, we need to increment our pointer */
|
||||
if (0 == bit_overflow) {
|
||||
/* Do not increment size as it will be incremeneted on next call as bit_pos is zero */
|
||||
/* Do not increment size as it will be incremented on next call as bit_pos is zero */
|
||||
*buffer += 1;
|
||||
*bit_pos = 0;
|
||||
} else {
|
||||
|
|
@ -523,7 +523,7 @@ int pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw, pa_memchun
|
|||
pa_memblock_release(raw->memblock);
|
||||
encoded->length = header_size + size;
|
||||
|
||||
/* store the lenght (endian swapped: make this better) */
|
||||
/* store the length (endian swapped: make this better) */
|
||||
len = size + header_size - 4;
|
||||
*(b + 2) = len >> 8;
|
||||
*(b + 3) = len & 0xff;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue