mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Expand on r48273 (from issue 8506), to translate more of the fskmodem stuff to English.
r48273 dealt with the comments and such, this deals with the code itself. (This couldn't have been easily done if it weren't for 48273 - thanks again for that merbanan) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -35,7 +35,7 @@ typedef struct {
|
||||
float spb; /*!< Samples / Bit */
|
||||
int nbit; /*!< Number of Data Bits (5,7,8) */
|
||||
float nstop; /*!< Number of Stop Bits 1,1.5,2 */
|
||||
int paridad; /*!< Parity 0=none 1=even 2=odd */
|
||||
int parity; /*!< Parity 0=none 1=even 2=odd */
|
||||
int hdlc; /*!< Modo Packet */
|
||||
float x0;
|
||||
float x1;
|
||||
@@ -53,7 +53,7 @@ typedef struct {
|
||||
int state;
|
||||
int pcola; /*!< Pointer to data queues */
|
||||
float cola_in[NCOLA]; /*!< Queue of input samples */
|
||||
float cola_filtro[NCOLA]; /*!< Queue of samples after filters */
|
||||
float cola_filter[NCOLA]; /*!< Queue of samples after filters */
|
||||
float cola_demod[NCOLA]; /*!< Queue of demodulated samples */
|
||||
} fsk_data;
|
||||
|
||||
@@ -66,6 +66,6 @@ typedef struct {
|
||||
\arg 1: An output byte was received and stored in outbyte
|
||||
\arg -1: An error occured in the transmission
|
||||
He must be called with at least 80 bytes of buffer. */
|
||||
int fsk_serie(fsk_data *fskd, short *buffer, int *len, int *outbyte);
|
||||
int fsk_serial(fsk_data *fskd, short *buffer, int *len, int *outbyte);
|
||||
|
||||
#endif /* _ASTERISK_FSKMODEM_H */
|
||||
|
||||
Reference in New Issue
Block a user