Commit graph

67 commits

Author SHA1 Message Date
Hailey Somerville
6e185035a6 remove bark-alloc and roll functionality into bark-protocol 2023-09-19 10:00:44 +10:00
Hailey Somerville
911b1e3099 pull PacketBuffer out to buffer mod 2023-09-19 09:07:45 +10:00
Hailey Somerville
422ce25c9f make bark-alloc fallible and add pbuf implementation 2023-09-18 18:36:40 +10:00
Hailey Somerville
760e81ecf6 add impls for both alloc and esp-alloc 2023-09-14 18:07:00 +10:00
Hailey Somerville
445d048f23 remove rand from bark-protocol dependencies 2023-09-14 17:46:47 +10:00
Hailey Somerville
71bdc833c1 add bark-alloc crate for bark-protocol packet allocation 2023-09-14 17:37:23 +10:00
Hailey Somerville
3e7dbf7726 make bark-protocol no_std (alloc only) 2023-09-14 17:20:47 +10:00
Hailey Somerville
13e072d67c split into protocol and main crate 2023-09-14 17:11:00 +10:00
Hailey Somerville
122927fa47 vestigal 2023-08-22 20:34:43 +10:00
Hailey Somerville
2586b9fb58 Merge branch 'protocol' 2023-08-22 20:17:12 +10:00
Hailey Somerville
4d22cd41b3 advance duration in AudioWriter 2023-08-22 20:08:39 +10:00
Hailey Somerville
bf70f4a723 fix time packet padding 2023-08-22 20:03:10 +10:00
Hailey Somerville
fa1d3fc68b fix buffer size passed to socket.recv_from 2023-08-22 20:03:10 +10:00
Hailey Somerville
e90f25f8b0 impl Debug for PacketBuffer and downstream packet types 2023-08-22 20:03:10 +10:00
Hailey Somerville
f92e9dfe7a remove unused methods 2023-08-22 20:03:10 +10:00
Hailey Somerville
76a4b7b18d rework protocol handling 2023-08-22 20:03:08 +10:00
Hailey Somerville
91936e99f7 move protocol to protocol::types 2023-08-22 20:02:26 +10:00
Hailey Somerville
5cd67b0b51 rename MultiSocket to Socket 2023-08-22 20:02:26 +10:00
Hailey Somerville
35c92973d6 add flags to StatsRequestPacket so all packets have same header 2023-08-22 19:48:14 +10:00
Hailey Somerville
9212c668e6 turn RateAdjust timing fields into an ordinary parameter 2023-08-21 14:16:47 +10:00
Hailey Somerville
bbe4dad6a0 add extra feature dot points 2023-08-21 11:27:23 +10:00
Hailey Somerville
7ee51c119c tweak readme 2023-08-20 13:30:35 +10:00
Hailey Somerville
c2fb97b508
add license (AGPL 3.0) 2023-08-20 13:13:14 +10:00
Hailey Somerville
d2d294a5f1 update config bit of readme 2023-08-20 12:34:04 +10:00
Hailey Somerville
da1388bb2c update readme 2023-08-20 12:30:49 +10:00
Hailey Somerville
2e12950199 change sign of audio latency field 2023-08-20 12:30:46 +10:00
Hailey Somerville
e73796150e allow configuring device and delay ms in config 2023-08-20 01:00:55 +10:00
Hailey Somerville
e3f3918c15 add config file 2023-08-20 00:25:31 +10:00
Hailey Somerville
6a4264191f thread names and realtime priority 2023-08-20 00:11:06 +10:00
Hailey Somerville
86f22f9e7d clear lines if number of receivers reduces 2023-08-19 22:15:44 +10:00
Hailey Somerville
f344ee32ca clean warnings 2023-08-19 21:30:24 +10:00
Hailey Somerville
6591ff7dc6 create SocketOpt and use flattened in all subcommand opt structs 2023-08-19 20:57:14 +10:00
Hailey Somerville
c92cfd4dad add stats command 2023-08-19 20:47:54 +10:00
Hailey Somerville
373869b6be fix up multicast so stream + receive can run on same machine 2023-08-19 18:56:55 +10:00
Hailey Somerville
d76192f774 make proper SessionId type 2023-08-19 16:48:26 +10:00
Hailey Somerville
a483f0696c pull run_receive out into receive mod 2023-08-18 21:56:59 +10:00
Hailey Somerville
7dd3a720f0 pull out stream and util modules 2023-08-18 21:51:32 +10:00
Hailey Somerville
26cfab1560 fix warnings 2023-08-18 21:42:24 +10:00
Hailey Somerville
d9375e4993 fix slewer 2023-08-18 20:48:42 +10:00
Hailey Somerville
9054e63193 silence warnings 2023-08-18 20:16:23 +10:00
Hailey Somerville
ec69ddecb3 fix streaming 2023-08-18 20:15:19 +10:00
Hailey Somerville
565167e0e0 show dts prediction offset 2023-08-18 19:57:05 +10:00
Hailey Somerville
069206c792 use aggregate for clock delta too 2023-08-18 19:47:52 +10:00
Hailey Somerville
b2ffa7e544 set thread realtime priority 2023-08-18 19:32:49 +10:00
Hailey Somerville
a863d82c79 set expedited forwarding on broadcast packets 2023-08-18 19:12:35 +10:00
Hailey Somerville
ade2ee4d57 start moving away from using wall clock time for synchronisation 2023-08-18 18:41:03 +10:00
Hailey Somerville
7cb45764b7 add padding to timing packet 2023-08-18 13:10:22 +10:00
Hailey Somerville
838fbf4384 adjust playback rate with resampler to stay in sync 2023-08-15 19:36:11 +10:00
Hailey Somerville
b3cb66bec3 check for sid in time packet 2023-08-15 18:06:52 +10:00
Hailey Somerville
8995406fa3 add AudioPacket.sid field 2023-08-15 18:02:58 +10:00