mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-04 22:07:33 +00:00
Initial work on encoding functions
This commit is contained in:
parent
8e033a0610
commit
2b16a3242f
3 changed files with 61 additions and 8 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue