[Spice-commits] common/snd_codec.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Feb 7 17:08:10 UTC 2020
common/snd_codec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 35f45282d46ff2cdc4eaead20a4ce109153bf011
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Feb 7 10:29:33 2020 +0000
snd_codec: Update field names in function documentation
in_data field was renamed to in_ptr.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Julien Rope <jrope at redhat.com>
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
More information about the Spice-commits
mailing list