|
|
|
@ -2243,8 +2243,8 @@ void get_tlm_fc() {
|
|
|
|
|
|
|
|
|
|
|
|
/* create data, stream, and waveform buffers */
|
|
|
|
/* create data, stream, and waveform buffers */
|
|
|
|
|
|
|
|
|
|
|
|
unsigned char source_bytes[256];
|
|
|
|
U8 source_bytes[256];
|
|
|
|
unsigned char encoded_bytes[650];
|
|
|
|
// U8 encoded_bytes[650];
|
|
|
|
int byte_count = 256;
|
|
|
|
int byte_count = 256;
|
|
|
|
|
|
|
|
|
|
|
|
memset(source_bytes, 0xa5, sizeof(source_bytes));
|
|
|
|
memset(source_bytes, 0xa5, sizeof(source_bytes));
|
|
|
|
@ -2256,7 +2256,7 @@ void get_tlm_fc() {
|
|
|
|
// const unsigned char *CCodecAO40::encode(unsigned char *source_bytes, int byte_count)
|
|
|
|
// const unsigned char *CCodecAO40::encode(unsigned char *source_bytes, int byte_count)
|
|
|
|
|
|
|
|
|
|
|
|
CCodecAO40 ao40;
|
|
|
|
CCodecAO40 ao40;
|
|
|
|
encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count);
|
|
|
|
const U8* encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count);
|
|
|
|
|
|
|
|
|
|
|
|
/* convert to waveform buffer */
|
|
|
|
/* convert to waveform buffer */
|
|
|
|
|
|
|
|
|
|
|
|
|