summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2020-02-07 10:29:33 +0000
committerFrediano Ziglio <fziglio@redhat.com>2020-02-07 17:07:57 +0000
commit35f45282d46ff2cdc4eaead20a4ce109153bf011 (patch)
treee16823dedadd80ac131bc70bce02dce1958f273b
parentb699221f0052e7e17dcb06ecda267f82610a40ae (diff)
snd_codec: Update field names in function documentation
in_data field was renamed to in_ptr. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Julien Rope <jrope@redhat.com>
-rw-r--r--common/snd_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/snd_codec.c b/common/snd_codec.c
index 5fb0bb5..db840cb 100644
--- a/common/snd_codec.c
+++ b/common/snd_codec.c
@@ -338,7 +338,7 @@ int snd_codec_frame_size(SndCodec codec)
Parameters:
1. codec Pointer to codec control previously allocated + created
- 2. in_data Pointer to uncompressed PCM data
+ 2. in_ptr Pointer to uncompressed PCM data
3. in_size Input size (for celt, this must be a
particular size, governed by the frame size)
4. out_ptr Pointer to area to write encoded data
@@ -379,7 +379,7 @@ int snd_codec_encode(SndCodec codec, uint8_t *in_ptr, int in_size, uint8_t *out_
Parameters:
1. codec Pointer to codec control previously allocated + created
- 2. in_data Pointer to compressed data
+ 2. in_ptr Pointer to compressed data
3. in_size Input size
4. out_ptr Pointer to area to write decoded data
5. out_size On input, the maximum size of the output buffer; on