aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_c.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: remove thread priority elevationCiro Nishiguchi2019-10-221-4/+0
| | | | | | | Remove UHD call to elevate thread priority to realtime. Setting all threads to the same realtime priority can cause the threads to not share access to the network interface fairly, which adversely affects operation of the worker threads in UHD.
* examples: tx_samples_c: Fix memory leakMoritz Fischer2019-02-151-2/+5
| | | | | | | | | Fix memory leak: 'buff' was never freed. While we're at it replace the kludgy malloc(n*y*sizeof(float)) by calloc(sizeof(float), n*y). Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: Fix some minor compiler warningsMartin Braun2018-02-191-1/+1
| | | | All warnings reported by MSVC. Mostly related to narrowing conversions.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* examples/c-api: Fix invalid free of device_argssugandhagupta2017-06-291-6/+5
| | | | | | | | | One does not simply free() stack / automatic variables. Please `man 3 strdup()`. Signed-off-by: Sugandha Gupta <sugandha.gupta@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: fix device_args parsing in tx_samples_cAndrej Rode2017-04-251-2/+5
|
* Fix warning in tx_samples_c.c.Philip Balister2016-10-131-1/+1
| | | | | | | Function needs pointer to size_t type. I suspect using uint64_t could lead to trouble on a 32 bit machine. Signed-off-by: Philip Balister <philip@opensdr.com>
* Merge branch 'maint'Martin Braun2016-06-171-1/+1
|\
| * Fixed minor warningsNicholas Corgan2016-06-161-1/+1
| | | | | | | | | | | | * Mismatched printf format strings * Number truncation * Unreferenced variables
* | examples: added options for specifying number of samples to transmitPaul David2016-04-041-3/+18
|/
* C API cleanup, feature additionsNicholas Corgan2015-08-121-1/+1
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* C API: feature additions, bugfixesNicholas Corgan2015-08-071-5/+5
| | | | | | * Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock * Replaced getopt with public domain implementation * Minor bugfixes
* uhd: C API wrapperNicholas Corgan2015-08-061-0/+241
* multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion