changeset 508:c275e57132f8

libgsmhr1/{pack,unpack}_frame.c: comment fix there is only one unvoiced mode, hence it should be singular
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Aug 2024 21:45:34 +0000
parents 06578223a752
children b7ddcb178ef6
files libgsmhr1/pack_frame.c libgsmhr1/unpack_frame.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgsmhr1/pack_frame.c	Wed Jun 19 02:13:56 2024 +0000
+++ b/libgsmhr1/pack_frame.c	Sat Aug 17 21:45:34 2024 +0000
@@ -43,7 +43,7 @@
 		*c++ =   ((params[16] & 0x7) << 5)
 		       | (params[17] & 0x1F);
 	} else {
-		/* unvoiced modes */
+		/* unvoiced mode */
 		*c++ =   ((params[0] & 0x1F) << 3)
 		       | ((params[1] >> 8) & 0x7);
 		*c++ =   params[1] & 0xFF;
--- a/libgsmhr1/unpack_frame.c	Wed Jun 19 02:13:56 2024 +0000
+++ b/libgsmhr1/unpack_frame.c	Sat Aug 17 21:45:34 2024 +0000
@@ -43,7 +43,7 @@
 		params[16] |= (*c >> 5) & 0x7;
 		params[17]  = *c++ & 0x1F;
 	} else {
-		/* unvoiced modes */
+		/* unvoiced mode */
 		params[6]  = (*c++ & 0xF) << 3;
 		params[6] |= (*c >> 5) & 0x7;
 		params[7]  = (*c++ & 0x1F) << 2;