txt being inderted into wrong bit on 700B - Thanks Steve!
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 6 Sep 2015 00:29:24 +0000 (00:29 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 6 Sep 2015 00:29:24 +0000 (00:29 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2299 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/codec2.c
codec2-dev/src/lpc.c

index 8f3f79ce413ab78dd4c07fa2457dfe6c31959a2d..56cea011b7d63c815c864cfb7ffeb9b63845bc10 100644 (file)
@@ -1920,7 +1920,7 @@ int codec2_get_spare_bit_index(struct CODEC2 *c2)
         return 26; // bits 26 and 27 are spare
         break;
     case CODEC2_MODE_700B:
-        return 26; // bits 26 and 27 are spare
+        return 27; // bit 27 is spare
         break;
     }
     
index 4622dc375b472309016cc03e61fcf3c1cfd1056d..bfe33050fb9bf0886e373faba3cea3f39cc39582 100644 (file)
@@ -42,7 +42,7 @@
                                                                          
   Pre-emphasise (high pass filter with zero close to 0 Hz) a frame of
   speech samples.  Helps reduce dynamic range of LPC spectrum, giving
-  greater weight and hensea better match to low energy formants.  
+  greater weight and hense a better match to low energy formants.  
 
   Should be balanced by de-emphasis of the output speech.
                                                                            
@@ -69,7 +69,7 @@ void pre_emp(
                                                                          
   de_emp()                                                        
                                                                          
-  De-emphasis filter (low pass filter with polse close to 0 Hz).
+  De-emphasis filter (low pass filter with a pole close to 0 Hz).
                                                                            
 \*---------------------------------------------------------------------------*/