Commit graph

41 commits

Author SHA1 Message Date
Ed Gonzalez b5f9805e3b Change scaling for FDV to compensate for no extra gain in TX chain with waveform shims in SmartSDR v1.6 2015-12-22 10:23:06 -06:00
Ed Gonzalez 0834002d06 Do not change FDV slice audio gain to 90 since it is confusing and conflicts with profiles 2015-09-14 13:46:32 -05:00
Ed Gonzalez f5b96ceb1e Add code to flush waveform buffers on unkey requested. Allows radio to unkey 2015-09-04 11:51:45 -05:00
Ed Gonzalez 367f54e3db Send commands to set audio level and digu_offset when a slice enters FDV mode 2015-09-04 11:25:25 -05:00
Ed Gonzalez 484b4f6da0 Solve no right-channel audio when in binaural mode 2015-05-26 14:53:21 -05:00
Ed Gonzalez 569fc2455a Remove unnecessary debug output and usleep 2015-05-26 14:52:48 -05:00
Ed Gonzalez 39680f6139 Eliminate control characters from rx_string. All control characters are replaced by 0x7F which is an intermediary representation for a space 2015-03-17 11:16:17 -05:00
Ed Gonzalez 5cd5b63b7e Replace spaces in string parsing with non-printable 0x7F for correct passthrough in radio 2015-03-12 14:53:51 -05:00
Ed Gonzalez 5acf31bb38 CID11720 - Minor memory leak when a discovery packet is invalid 2015-03-05 16:26:48 -06:00
Ed Gonzalez 3cc95df256 Merge remote-tracking branch 'origin/BBB-dsp' into develop
Conflicts:
	DSP_API/DOCS/FreeDV.cfg
	DSP_API/SmartSDR_Interface/sched_waveform.c
2015-02-06 11:30:38 -06:00
Ed Gonzalez b436f2de99 Use sync bit to bypass FDV demod. Use 7 sync count to trigger demod 2015-02-06 11:27:23 -06:00
Ed Gonzalez 54a89a7798 Use PACKET_SAMPLES define instead of magic number. Still needs more work 2015-02-05 11:39:37 -06:00
Ed Gonzalez 3975a608d0 Slight optimization by using memset instead of for loops to clear filters and buffers 2015-02-05 11:38:54 -06:00
Ed Gonzalez 58fbc0bb2e Remove the condition 'emit' flag. We emit even if we're starved for pacing purposes 2015-02-05 11:29:44 -06:00
Ed Gonzalez d2b0fc27a3 Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"
This reverts commit a14898a070.
2015-02-05 11:29:02 -06:00
Graham Haddock 36d0dedbd8 Reverted Ed's 'reliable_sync' changes, modified scaling multipliers. 2015-01-30 19:18:49 -06:00
Graham Haddock 6ea7395b35 Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"
This reverts commit c6a6c4fedd.
2015-01-30 19:08:40 -06:00
Graham Haddock d3ef43ad37 Revert "Modified input and output levels. KE9H"
This reverts commit 893af6168d.
2015-01-30 19:06:05 -06:00
Graham Haddock 893af6168d Modified input and output levels. KE9H 2015-01-30 14:01:00 -06:00
Ed Gonzalez a14898a070 Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform 2015-01-30 10:17:35 -06:00
Ed Gonzalez c6a6c4fedd Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform 2015-01-30 10:13:46 -06:00
Graham Haddock 1f92b51e61 New BeagleboneBlack branch of FreeDV/smart-sdr. 2015-01-28 18:15:54 -06:00
Ed Gonzalez 8bdab04dd4 Send reponses for commands 2015-01-16 14:42:10 -06:00
Ed Gonzalez da0baf098f Add '--cfg_path=' command line parameter to point to cfg file directory. If not provided it defaults to the current directory 2015-01-15 18:37:50 -06:00
Ed Gonzalez c48bed03be Initialize vita_output in Traffic Cop after we have found a radio in Discovery. 2015-01-15 17:51:52 -06:00
Ed Gonzalez ab3c2de02d Keepalive thread is triggered from tc_init() now. 2015-01-15 16:47:17 -06:00
Ed Gonzalez 504ef71d99 Add '--ip=' command line param to restrict which radio the waveform connects to in a multi-radio environment 2015-01-15 16:24:39 -06:00
Ed Gonzalez 17bf4b036a Invoke register_mode (reads cfg file ) after the Traffic Cop has connected 2015-01-15 16:23:20 -06:00
Ed Gonzalez f053183349 Use 30 priority level and remove old debug code 2015-01-15 12:02:55 -06:00
Ed Gonzalez 72097c1f42 When starting the Traffic Cop, check if the supplied host IP is the same as the waveforms. Use loopback if this is the case 2015-01-15 12:02:18 -06:00
Ed Gonzalez b7707136bf Discovery now starts the Traffic Cop when a radio is found. The TC is passed the hostname and port from discovery 2015-01-15 11:45:36 -06:00
Ed Gonzalez a05e965db2 Add '--console' command line parameter to enable console thread. Replaces previous IFDEF 2015-01-15 10:43:42 -06:00
Ed Gonzalez d7a84b9ded Fix discovery packet parsing - now using network-to-host conversions instead of host-to-network 2015-01-15 10:41:53 -06:00
Stephen Hicks, N5AC 9e40822f4b adding comments 2014-10-21 11:34:46 -05:00
Stephen Hicks, N5AC ea8bb9de64 merge comments 2014-10-21 10:45:53 -05:00
Ed Gonzalez 23fb12605e Remove more debug output 2014-10-21 10:37:07 -05:00
Ed Gonzalez 65e8b4e2cc Remove debug print statements. 2014-10-21 10:36:44 -05:00
Ed Gonzalez 60c66816d0 Make sched_waveform thread SCHED_FIFO - 25. 2014-10-21 10:35:43 -05:00
Ed Gonzalez b2a2c67d84 Gain tweaks so that USB and FDV passthrough sound roughly the same. 2014-10-21 10:35:21 -05:00
Ed Gonzalez 12994e06e5 Make console thread an IFDEF so that freedv can be run as a service 2014-10-21 10:34:49 -05:00
Stephen Hicks, N5AC cea38b61ea Initial load of CODEC2/FreeDV software and wrapper 2014-09-05 21:48:37 -05:00