From 503f6c90395682bf5d7fd3fb8a79bfcfc3c2f329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 13 Oct 2020 17:05:22 +0200 Subject: wait for complete state before sending commands --- mumd/src/audio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd/src/audio.rs') diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 3c24f1c..e13845e 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -27,7 +27,7 @@ pub struct Audio { pub input_config: StreamConfig, pub input_stream: Stream, pub input_buffer: Arc>>, - input_channel_receiver: Option>, + input_channel_receiver: Option>, //TODO unbounded? mbe ring buffer and drop the first packet client_streams: Arc>>, //TODO move to user state } -- cgit v1.2.1