Commit graph

98 commits

Author SHA1 Message Date
Hailey Somerville
613c1c8dc8 add decoder to bark-core 2023-12-27 14:15:13 +11:00
Hailey Somerville
49e60e8d37 add format field to AudioPacketHeader 2023-12-27 13:20:40 +11:00
Hailey Somerville
a6b7766d54 tidy imports 2023-12-27 12:23:29 +11:00
Hailey Somerville
41a0b0d21f log-ify 2023-12-27 11:51:45 +11:00
Hailey Somerville
b2e670deef crank up default alsa buffer 2023-12-27 11:39:53 +11:00
Hailey Somerville
e0b2616980 update readme for new input/output device opts 2023-12-27 11:31:46 +11:00
Hailey Somerville
5332caa72a Merge branch 'core-resample' 2023-12-27 11:27:39 +11:00
Hailey Somerville
0930a3de43 move resampler ffi into core mod 2023-12-27 11:14:21 +11:00
Hailey Somerville
4464e5c58a Merge branch 'alsa-input' 2023-12-27 11:12:04 +11:00
Hailey Somerville
04cddc8e4b make device sub-key default 2023-12-27 11:09:06 +11:00
Hailey Somerville
e2fe6cc5a3 wire up alsa config to bark.toml config 2023-12-25 20:51:22 +11:00
Hailey Somerville
06bd231412 remove AudioWriter 2023-12-25 20:35:58 +11:00
Hailey Somerville
87c45cc738 remove cpal 2023-12-25 20:30:12 +11:00
Hailey Somerville
4440995f1a use alsa for input also 2023-12-25 20:29:38 +11:00
Hailey Somerville
1d47e9d9a1 pull out shared part of audio output config into audio::config 2023-12-25 19:45:00 +11:00
Hailey Somerville
305036b53f Merge branch 'alsa' 2023-12-25 10:50:18 +11:00
Hailey Somerville
f1967417ca recover from pcm_writei errors 2023-12-24 22:57:06 +11:00
Hailey Somerville
064b90c94b rename config opts 2023-12-24 22:56:59 +11:00
Hailey Somerville
537f984cae allow configuring alsa device name 2023-12-24 22:04:01 +11:00
Hailey Somerville
bf6fa07e5a allow alsa period/buffer size to be configured 2023-12-24 21:35:02 +11:00
Hailey Somerville
2f61f91fdf remove errant debugging prints 2023-12-24 20:50:07 +11:00
Hailey Somerville
81c8725038 add output latency to stats 2023-12-24 20:49:39 +11:00
Hailey Somerville
3b7fc96170 hook up alsa playback 2023-12-24 20:40:45 +11:00
Hailey Somerville
0cb262c062 move audio env related functions to audio::env mod 2023-12-24 19:15:35 +11:00
Hailey Somerville
0ffa883347 start integrating new packetqueue 2023-12-24 19:13:45 +11:00
Hailey Somerville
7e0748bb03 set FRAMES_PER_PACKET to 120 2023-10-25 15:45:19 +11:00
Hailey Somerville
3772dded33 < should be <= 2023-09-26 13:16:29 +10:00
Hailey Somerville
34622a654c Merge branch 'esp' 2023-09-26 12:57:50 +10:00
Hailey Somerville
2802b8144b bump to esp-pbuf 0.2.0 2023-09-24 17:48:01 +10:00
Hailey Somerville
d564a207ae rework for esp-pbuf crate 2023-09-23 15:10:19 +10:00
Hailey Somerville
7f370a64b3 change around protocol buffer methods 2023-09-20 22:42:08 +10:00
Hailey Somerville
f793b038d3 remove bark-alloc and roll functionality into bark-protocol 2023-09-19 15:23:16 +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