Initial work on encoding functions

This commit is contained in:
Ed Gonzalez 2015-05-27 18:21:27 -05:00
parent 8e033a0610
commit 2b16a3242f
3 changed files with 61 additions and 8 deletions

View file

@ -220,7 +220,7 @@ static void* _sched_waveform_thread(void* param)
// ======================= Initialization Section =========================
_dv_serial_fd = openSerial("/dev/ttyUSB0");
_dv_serial_fd = thumbDV_openSerial("/dev/ttyUSB0");
// Initialize the Circular Buffers
@ -485,6 +485,8 @@ static void* _sched_waveform_thread(void* param)
}
/* DECODE */
uint32 encode_out = 0;
encode_out = thumbDV_encode(speech_in, mod_out, 320);
for( i=0 ; i < 320 ; i++)
{