diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-10-13 17:05:22 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-10-13 17:05:22 +0200 |
| commit | 503f6c90395682bf5d7fd3fb8a79bfcfc3c2f329 (patch) | |
| tree | 41dd58465f1afbeb583262eb383fdcb50c256337 /mumd/src/audio.rs | |
| parent | cd353c875c3c8bcae4f4ece597468728341362c9 (diff) | |
| download | mum-503f6c90395682bf5d7fd3fb8a79bfcfc3c2f329.tar.gz | |
wait for complete state before sending commands
Diffstat (limited to 'mumd/src/audio.rs')
| -rw-r--r-- | mumd/src/audio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Mutex<VecDeque<f32>>>, - input_channel_receiver: Option<Receiver<VoicePacketPayload>>, + input_channel_receiver: Option<Receiver<VoicePacketPayload>>, //TODO unbounded? mbe ring buffer and drop the first packet client_streams: Arc<Mutex<HashMap<u32, ClientStream>>>, //TODO move to user state } |
