]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / mgetty / mgetty-1.1.30 / 26-voice_libpvf_usr.c
1 --- mgetty-1.1.27.orig/voice/libpvf/usr.c
2 +++ mgetty-1.1.27/voice/libpvf/usr.c
3 @@ -103,9 +103,13 @@
4           }
5         }
6         gsm_encode(r, s, d);
7 +#if defined(old_USR_GSM_with_head_and_tail_bytes)
8         fwrite((char *)gsm_head, 2, 1, fd_out);
9 +#endif
10         fwrite((char *)d, sizeof(d), 1, fd_out);
11 +#if defined(old_USR_GSM_with_head_and_tail_bytes)
12         fwrite((char *)gsm_tail, 3, 1, fd_out);
13 +#endif
14       }
15       gsm_destroy(r);
16       return(OK);