]> git.alsa-project.org Git - alsa-lib.git/commitdiff
doc: Fix typo in PCM formats
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Tue, 27 Mar 2012 15:54:47 +0000 (17:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Mar 2012 15:41:36 +0000 (17:41 +0200)
Of course, 24bit samples are not stored in three bits, but bytes.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm.c

index ea1afdcb6e15336825b3d74dd58ae97e816f355d..18b43b3eb75f6069b574fe618be93dbae41717f0 100644 (file)
@@ -209,13 +209,13 @@ The device is physicaly disconnected. It does not accept any I/O calls in this s
 \section pcm_formats PCM formats
 
 The full list of formats present the #snd_pcm_format_t type.
-The 24-bit linear samples uses 32-bit physical space, but the sample is
-stored in low three bits. Some hardware does not support processing of full
+The 24-bit linear samples use 32-bit physical space, but the sample is
+stored in the lower three bytes. Some hardware does not support processing of full
 range, thus you may get the significant bits for linear samples via
 #snd_pcm_hw_params_get_sbits() function. The example: ICE1712
 chips support 32-bit sample processing, but low byte is ignored (playback)
 or zero (capture). The function snd_pcm_hw_params_get_sbits()
-returns 24 in the case.
+returns 24 in this case.
 
 \section alsa_transfers ALSA transfers