implemented output_delay,more options

This commit is contained in:
wangyu-
2017-10-17 05:20:30 -05:00
parent f07dae4513
commit 74e088d383
6 changed files with 122 additions and 31 deletions

View File

@@ -67,7 +67,7 @@ int delay_manager_t::add(my_time_t delay,const dest_t &dest,char *data,int len)
delay_data_t tmp=delay_data;
tmp.data=(char *)malloc(delay_data.len+100);
memcpy(tmp.data,delay_data.data,delay_data.len);
memcpy(tmp.data,data,delay_data.len);
my_time_t tmp_time=get_current_time_us();
tmp_time+=delay;