git: 15a46b046db5 - stable/12 - sound(4): Fix some common typos in comments

Gordon Bergling gbe at FreeBSD.org
Tue Aug 31 06:16:05 UTC 2021


The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=15a46b046db50ab773cce73fbf884283259a6fd5

commit 15a46b046db50ab773cce73fbf884283259a6fd5
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-08-26 15:15:55 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-08-31 06:15:50 +0000

    sound(4): Fix some common typos in comments
    
    - s/doens't/doesn't/
    - s/apropriate/appropriate/
    - s/intepretation/interpretation/
    
    (cherry picked from commit 58d868c88d21b46d3d6d40a2920e7ba8996723b8)
---
 sys/dev/sound/midi/sequencer.c    | 4 ++--
 sys/dev/sound/pcm/feeder_chain.c  | 2 +-
 sys/dev/sound/pcm/feeder_matrix.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c
index 03b22cd10c41..0dbdf3c6d4b6 100644
--- a/sys/dev/sound/midi/sequencer.c
+++ b/sys/dev/sound/midi/sequencer.c
@@ -894,7 +894,7 @@ mseq_read(struct cdev *i_dev, struct uio *uio, int ioflag)
 	/*
 	 * I think the semantics are to return as soon
 	 * as possible.
-	 * Second thought, it doens't seem like midimoutain
+	 * Second thought, it doesn't seem like midimoutain
 	 * expects that at all.
 	 * TODO: Look up in some sort of spec
 	 */
@@ -1444,7 +1444,7 @@ mseq_poll(struct cdev *i_dev, int events, struct thread *td)
 
 	ret = 0;
 
-	/* Look up the apropriate queue and select it. */
+	/* Look up the appropriate queue and select it. */
 	if ((events & (POLLOUT | POLLWRNORM)) != 0) {
 		/* Start playing. */
 		scp->playing = 1;
diff --git a/sys/dev/sound/pcm/feeder_chain.c b/sys/dev/sound/pcm/feeder_chain.c
index 73922ab55396..b2d48abd71d1 100644
--- a/sys/dev/sound/pcm/feeder_chain.c
+++ b/sys/dev/sound/pcm/feeder_chain.c
@@ -652,7 +652,7 @@ feeder_chain(struct pcm_channel *c)
 	}
 
 	/*
-	 * The 'hardware' possibly have different intepretation of channel
+	 * The 'hardware' possibly have different interpretation of channel
 	 * matrixing, so get it first .....
 	 */
 	hwmatrix = CHANNEL_GETMATRIX(c->methods, c->devinfo, hwfmt);
diff --git a/sys/dev/sound/pcm/feeder_matrix.c b/sys/dev/sound/pcm/feeder_matrix.c
index 5e2bdbcb8471..ecb3c55a4825 100644
--- a/sys/dev/sound/pcm/feeder_matrix.c
+++ b/sys/dev/sound/pcm/feeder_matrix.c
@@ -700,7 +700,7 @@ feeder_matrix_compare(struct pcmchan_matrix *m_in, struct pcmchan_matrix *m_out)
 }
 
 /*
- * XXX 4front intepretation of "surround" is ambigous and sort of
+ * XXX 4front interpretation of "surround" is ambigous and sort of
  *     conflicting with "rear"/"back". Map it to "side". Well.. 
  *     who cares?
  */


More information about the dev-commits-src-all mailing list