Changeset 441 in flair-src for trunk/lib/FlairCore/src/unexported
- Timestamp:
- Aug 31, 2021, 4:15:03 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/ui_com.h
r440 r441 43 43 ssize_t Receive(char *buf, ssize_t buf_size); 44 44 void AddSendData(const flair::gui::SendData *obj); 45 void UpdateSendData(const flair::gui::SendData *obj); 45 void UpdateSendData(const flair::gui::SendData *obj);//must be called with mutex locked 46 46 void RemoveSendData(const flair::gui::SendData *obj); 47 47 void UpdateDataToSendSize(void); … … 53 53 ssize_t send_size; 54 54 char *send_buffer; 55 std::vector<const flair::gui::SendData *> data _to_send;56 std::vector<flair::core::Time> resume _time;55 std::vector<const flair::gui::SendData *> datasToSend; 56 std::vector<flair::core::Time> resumeTimes; 57 57 flair::core::Mutex *send_mutex; 58 58 UDTSOCKET socket_fd; … … 62 62 //private part, called to effectively send to udt 63 63 void SendNRT(char *buf, ssize_t size,int ttl); 64 void PushDatasToSend(const flair::gui::SendData *data _to_send);64 void PushDatasToSend(const flair::gui::SendData *dataToSend); 65 65 typedef struct { 66 66 char* buf; 67 ssize_t size; 67 size_t actual_size; 68 size_t final_size; 68 69 uint16_t period; 69 70 uint16_t nb_buffering; 70 71 } PushedData_t; 71 std::vector<PushedData_t> PushedDatas;72 std::vector<PushedData_t> pushedDatas; 72 73 73 74 static int compressBuffer(char *in, ssize_t in_size, char **out,
Note:
See TracChangeset
for help on using the changeset viewer.