aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-08-12 16:33:26 -0700
committerAshish Chaudhari <ashish@ettus.com>2015-08-12 16:33:26 -0700
commitd745b5cf6d9a918be141339ceca5fbf9d6259eab (patch)
treee08c449fe7041b734cd537cdca06f68dac219387 /host/examples
parent094bf7607362b08663c1b94ca05432da519036c5 (diff)
parentbc9dd05988454428de1b6efd235d980b8eaa9afe (diff)
downloaduhd-d745b5cf6d9a918be141339ceca5fbf9d6259eab.tar.gz
uhd-d745b5cf6d9a918be141339ceca5fbf9d6259eab.tar.bz2
uhd-d745b5cf6d9a918be141339ceca5fbf9d6259eab.zip
Merge branch 'master' into ashish/register_api
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rx_samples_c.c2
-rw-r--r--host/examples/tx_samples_c.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/rx_samples_c.c b/host/examples/rx_samples_c.c
index b5882b79b..abea812fe 100644
--- a/host/examples/rx_samples_c.c
+++ b/host/examples/rx_samples_c.c
@@ -215,7 +215,7 @@ int main(int argc, char* argv[])
while (num_acc_samps < n_samples) {
size_t num_rx_samps = 0;
EXECUTE_OR_GOTO(close_file,
- uhd_rx_streamer_recv(rx_streamer, buffs_ptr, samps_per_buff, md, 3.0, false, &num_rx_samps)
+ uhd_rx_streamer_recv(rx_streamer, buffs_ptr, samps_per_buff, &md, 3.0, false, &num_rx_samps)
)
uhd_rx_metadata_error_code_t error_code;
diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c
index 3035297fd..ebf368ec7 100644
--- a/host/examples/tx_samples_c.c
+++ b/host/examples/tx_samples_c.c
@@ -201,7 +201,7 @@ int main(int argc, char* argv[]){
size_t num_samps_sent = 0;
while(!stop_signal_called){
EXECUTE_OR_GOTO(free_tx_streamer,
- uhd_tx_streamer_send(tx_streamer, buffs_ptr, samps_per_buff, md, 0.1, &num_samps_sent)
+ uhd_tx_streamer_send(tx_streamer, buffs_ptr, samps_per_buff, &md, 0.1, &num_samps_sent)
)
if(verbose){
fprintf(stderr, "Sent %zu samples\n", num_samps_sent);