Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 17:24:36 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5cd0914ebee0 - stable/12 - pcm(4): Fix a common typo in source code comments
Message-ID:  <202109291724.18THOaXn096106@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=5cd0914ebee0a781be83193dc861de5ae00e205c

commit 5cd0914ebee0a781be83193dc861de5ae00e205c
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-09-26 09:21:16 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-09-29 17:23:47 +0000

    pcm(4): Fix a common typo in source code comments
    
    - s/prefered/preferred/
    
    (cherry picked from commit 513ee901eec639da45796d563168f0af966705e6)
---
 sys/dev/sound/pcm/feeder_chain.c  | 4 ++--
 sys/dev/sound/pcm/feeder_matrix.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/sound/pcm/feeder_chain.c b/sys/dev/sound/pcm/feeder_chain.c
index b2d48abd71d1..fe114b727ffd 100644
--- a/sys/dev/sound/pcm/feeder_chain.c
+++ b/sys/dev/sound/pcm/feeder_chain.c
@@ -52,7 +52,7 @@ struct feeder_chain_desc {
 	struct feeder_chain_state current;	/* current state */
 	struct feeder_chain_state target;	/* target state */
 	struct pcm_feederdesc desc;		/* feeder descriptor */
-	uint32_t afmt_ne;			/* prefered native endian */
+	uint32_t afmt_ne;			/* preferred native endian */
 	int mode;				/* chain mode */
 	int use_eq;				/* need EQ? */
 	int use_matrix;				/* need channel matrixing? */
@@ -77,7 +77,7 @@ struct feeder_chain_desc {
 #endif
 
 /*
- * List of prefered formats that might be required during
+ * List of preferred formats that might be required during
  * processing. It will be decided through snd_fmtbest().
  */
 
diff --git a/sys/dev/sound/pcm/feeder_matrix.c b/sys/dev/sound/pcm/feeder_matrix.c
index ecb3c55a4825..c0dec6415b7b 100644
--- a/sys/dev/sound/pcm/feeder_matrix.c
+++ b/sys/dev/sound/pcm/feeder_matrix.c
@@ -553,7 +553,7 @@ feeder_matrix_setup(struct pcm_feeder *f, struct pcmchan_matrix *m_in,
 
 /*
  * feeder_matrix_default_id(): For a given number of channels, return
- *                             default prefered id (example: both 5.1 and
+ *                             default preferred id (example: both 5.1 and
  *                             6.0 are simply 6 channels, but 5.1 is more
  *                             preferable).
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109291724.18THOaXn096106>