radio: Silero VAD + auto-PTT; chatgui/android: app icon and background
This commit is contained in:
1 parent
74ca98b38f
commit
1176411b79
51 files changed
+155505
-138
No files matched your search
@@ -54,7 +54,7 @@ static inline int proxy_send(struct UTUN_INSTANCE* inst, uint64_t peer, uint8_t
|
||||
}
|
||||
struct ll_entry* e = queue_entry_new(0);
|
||||
if (!e) { DEBUG_ERROR(DEBUG_CATEGORY_PROXY, "proxy: entry allocation failed sid=%08x", sid); return -1; }
|
||||
e->dgram = u_malloc(TCP_PROXY_HDR_SIZE + len);
|
||||
e->dgram = (uint8_t*)u_malloc(TCP_PROXY_HDR_SIZE + len);
|
||||
if (!e->dgram) {
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_PROXY, "proxy: payload allocation failed sid=%08x", sid);
|
||||
queue_entry_free(e); return -1;
|
||||
@@ -70,7 +70,7 @@ static inline void proxy_flow_flush(struct proxy_flow* f);
|
||||
|
||||
// Повторяем только недоставленные control-сообщения; DATA остаётся у владельца потока.
|
||||
static inline void proxy_flow_retry(void* arg) {
|
||||
struct proxy_flow* f = arg;
|
||||
struct proxy_flow* f = (struct proxy_flow*)arg;
|
||||
f->retry = NULL;
|
||||
proxy_flow_flush(f);
|
||||
if (f->wake) f->wake(f->arg);
|
||||
|
||||
Reference in new issue
Block a user