mirror of https://github.com/ericonr/sndio.git
Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net>
This commit is contained in:
parent
c8f92682a4
commit
dd3f3ee5ee
|
@ -469,7 +469,7 @@ enc_init(struct conv *p, struct aparams *par, int nch)
|
|||
}
|
||||
|
||||
/*
|
||||
* decode "todo" frames from from foreign to native encoding
|
||||
* decode "todo" frames from foreign to native encoding
|
||||
*/
|
||||
void
|
||||
dec_do(struct conv *p, unsigned char *in, unsigned char *out, int todo)
|
||||
|
@ -608,7 +608,7 @@ cmap_add(struct cmap *p, void *in, void *out, int vol, int todo)
|
|||
}
|
||||
|
||||
/*
|
||||
* overwrite output with "todo" input frames with with the given volume
|
||||
* overwrite output with "todo" input frames with the given volume
|
||||
*/
|
||||
void
|
||||
cmap_copy(struct cmap *p, void *in, void *out, int vol, int todo)
|
||||
|
|
|
@ -376,8 +376,8 @@ file_poll(void)
|
|||
}
|
||||
|
||||
/*
|
||||
* Sleep. Calculate the number off milliseconds poll(2) must
|
||||
* wait before the timo_update() needs to be called. If there're
|
||||
* Sleep. Calculate the number of milliseconds poll(2) must
|
||||
* wait before the timo_update() needs to be called. If there are
|
||||
* no timeouts scheduled, then call poll(2) with infinite
|
||||
* timeout (i.e -1).
|
||||
*/
|
||||
|
|
|
@ -136,7 +136,7 @@ dev_sio_open(struct dev *d)
|
|||
|
||||
#ifdef DEBUG
|
||||
/*
|
||||
* We support any parameters combination exposed by the kernel,
|
||||
* We support any parameter combination exposed by the kernel,
|
||||
* and we have no other choice than trusting the kernel for
|
||||
* returning correct parameters. But let's check parameters
|
||||
* early and nicely report kernel bugs rather than crashing
|
||||
|
|
|
@ -327,7 +327,7 @@ sock_exit(void *arg)
|
|||
}
|
||||
|
||||
/*
|
||||
* write on the socke fd and handle errors
|
||||
* write on the socket fd and handle errors
|
||||
*/
|
||||
int
|
||||
sock_fdwrite(struct sock *f, void *data, int count)
|
||||
|
@ -368,7 +368,7 @@ sock_fdwrite(struct sock *f, void *data, int count)
|
|||
}
|
||||
|
||||
/*
|
||||
* read from the socke fd and handle errors
|
||||
* read from the socket fd and handle errors
|
||||
*/
|
||||
int
|
||||
sock_fdread(struct sock *f, void *data, int count)
|
||||
|
@ -522,7 +522,7 @@ sock_rdata(struct sock *f)
|
|||
}
|
||||
|
||||
/*
|
||||
* read data into the slot/midi ring buffer
|
||||
* write data to the slot/midi ring buffer
|
||||
*/
|
||||
int
|
||||
sock_wdata(struct sock *f)
|
||||
|
|
Loading…
Reference in New Issue