[bootlin/training-materials updates] master: audio: fix typos (0aed4b41)

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Nov 8 22:23:04 CET 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/0aed4b41d2907d115181d09a27eb3ed56447a30a

>---------------------------------------------------------------

commit 0aed4b41d2907d115181d09a27eb3ed56447a30a
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Wed Nov 8 22:22:50 2023 +0100

    audio: fix typos
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


>---------------------------------------------------------------

0aed4b41d2907d115181d09a27eb3ed56447a30a
 slides/audio-alsa-lib/audio-alsa-lib.tex   | 2 +-
 slides/audio-asoc-cpu/audio-asoc-cpu.tex   | 2 +-
 slides/audio-debugging/audio-debugging.tex | 4 ++--
 slides/audio-regmap/audio-regmap.tex       | 2 +-
 slides/audio-sound/audio-sound.tex         | 8 ++++----
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/slides/audio-alsa-lib/audio-alsa-lib.tex b/slides/audio-alsa-lib/audio-alsa-lib.tex
index 1fb2e2be..5f567712 100644
--- a/slides/audio-alsa-lib/audio-alsa-lib.tex
+++ b/slides/audio-alsa-lib/audio-alsa-lib.tex
@@ -43,7 +43,7 @@ int snd_pcm_close(snd_pcm_t *pcm)
   \item This can be specified as a hardware device. The three
     arguments (in order: CARD,DEV,SUBDEV) specify card number or
     identifier, device number and subdevice number (-1 means any). For
-    example: \code{hw:0} or \code{hw:1,0}. Instea of the index, the
+    example: \code{hw:0} or \code{hw:1,0}. Instead of the index, the
     card name can be used: \code{hw:STM32MP15DK,0}
   \item Or through the \code{plug} plugin: \code{plug:mypcmdef},
     \code{plug:hw:0,0}.
diff --git a/slides/audio-asoc-cpu/audio-asoc-cpu.tex b/slides/audio-asoc-cpu/audio-asoc-cpu.tex
index e6bb8530..9adf2ba8 100644
--- a/slides/audio-asoc-cpu/audio-asoc-cpu.tex
+++ b/slides/audio-asoc-cpu/audio-asoc-cpu.tex
@@ -83,7 +83,7 @@ static int atmel_i2s_probe(struct platform_device *pdev)
   \begin{itemize}
   \item When a peripheral DMA controller is used, this is more
     complex.
-  \item The driver will have to handle all th aspects of the PCM
+  \item The driver will have to handle all the aspects of the PCM
     stream life cycle.
   \item Understandable example in \kfile{sound/soc/atmel/atmel-pcm-pdc.c}
   \end{itemize}
diff --git a/slides/audio-debugging/audio-debugging.tex b/slides/audio-debugging/audio-debugging.tex
index 3740d8d1..3afba04a 100644
--- a/slides/audio-debugging/audio-debugging.tex
+++ b/slides/audio-debugging/audio-debugging.tex
@@ -3,7 +3,7 @@
 \begin{frame}{Troubleshooting: no sound}
   Audio seems to play for the correct duration but there is no sound:
   \begin{itemize}
-  \item Unmute \code{Master} and the relevant widgets
+  \item Unmute \code{Master} and the relevant controls
   \item Turn up the volume
   \item Check the codec analog muxing and mixing (use alsamixer)
   \item Check the amplifier configuration
@@ -60,7 +60,7 @@ underrun!!! (at least 8.558 ms long)
 
 \begin{frame}{Troubleshooting: going further}
   \begin{itemize}
-  \item Use \code{speaker-test} to generate audio an play tones.
+  \item Use \code{speaker-test} to generate audio and play tones.
   \item Be careful with the 440Hz tone, it may not expose all the
     errors. Rather play something that is not commonly divisible (e.g.
     441Hz)
diff --git a/slides/audio-regmap/audio-regmap.tex b/slides/audio-regmap/audio-regmap.tex
index 1c0e06d5..da812ed8 100644
--- a/slides/audio-regmap/audio-regmap.tex
+++ b/slides/audio-regmap/audio-regmap.tex
@@ -88,7 +88,7 @@ struct regmap_config {
   \item \code{writeable_reg}, \code{readable_reg},
     \code{volatile_reg}, \code{precious_reg}: Optional callbacks
     returning true if the register is writeable, readable, volatile or
-    precious. volatile registers wont be cached. precious registers
+    precious. volatile registers won't be cached. precious registers
     will not be read unless the driver explicitly calls a read
     function. There are also tables in the \code{struct regmap_config}
     for the same purpose.
diff --git a/slides/audio-sound/audio-sound.tex b/slides/audio-sound/audio-sound.tex
index 5a89d2b9..8f4a3788 100644
--- a/slides/audio-sound/audio-sound.tex
+++ b/slides/audio-sound/audio-sound.tex
@@ -68,7 +68,7 @@
   \item The sample size, in bits, then defines the resolution.
   \item Common sample sizes are 16 and 24 bits.
   \item 8 bits is getting very rare due to the poor audio quality and
-    32 bits samples can be used when specific alignment is required
+    32 bits samples can be used when specific alignment is required.
   \end{itemize}
 \end{frame}
 
@@ -76,7 +76,7 @@
   There are multiple ways to store samples in memory or on disk:
   \begin{itemize}
   \item as signed integers
-  \item as unsigned integer
+  \item as unsigned integers
   \item as floating points
   \end{itemize}
   Also, they can be stored in little-endian or big-endian order.
@@ -90,7 +90,7 @@
   \item We can then store sound as a sequence of samples and the
     specific sample rate that was used.
   \item This method is called Linear Pulse-code modulation or LPCM.
-  \item A sampling rate of 40~kHz is needed.
+  \item A sampling rate of about 40kHz is needed.
   \end{itemize}
 \end{frame}
 
@@ -108,7 +108,7 @@
     17-20 & 16 & Length of format data, 16 for PCM \\
     21-22 & 1 & Audio format, 1 for PCM \\
     23-24 & 2 & Number of channels \\
-    25-28 & 44800 & Sample rate \\
+    25-28 & 48000 & Sample rate \\
     29-32 & 176400 & Byte rate = (Sample rate * BitsPerSample * channels) / 8. \\
     33-34 & 4 & BlockAlign = (BitsPerSample * Channels) / 8 \\
     35-36 & 16 & Bits per sample \\




More information about the training-materials-updates mailing list