aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/network/tcp.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2021-04-05 18:39:55 +0200
committerRubens Brandao <git@rubens.io>2021-04-05 18:39:55 +0200
commite431ecb6c5c8406bde6a54f40ee2f648cc0cec05 (patch)
tree93a227ab5f3ceac27286a1c2c36b79c12c72f95f /mumd/src/network/tcp.rs
parent1734a72d3caff4f8831f4b366fdb818fddecf32f (diff)
downloadmum-e431ecb6c5c8406bde6a54f40ee2f648cc0cec05.tar.gz
Separate the input and output audio
Diffstat (limited to 'mumd/src/network/tcp.rs')
-rw-r--r--mumd/src/network/tcp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mumd/src/network/tcp.rs b/mumd/src/network/tcp.rs
index 6402a89..d2f0b41 100644
--- a/mumd/src/network/tcp.rs
+++ b/mumd/src/network/tcp.rs
@@ -108,7 +108,7 @@ pub async fn handle(
let password = state_lock.password().map(|x| x.to_string());
authenticate(&mut sink, username, password).await?;
let phase_watcher = state_lock.phase_receiver();
- let input_receiver = state_lock.audio().input_receiver();
+ let input_receiver = state_lock.audio_input().input_receiver();
drop(state_lock);
let event_queue = TcpEventQueue::new();
@@ -358,7 +358,7 @@ async fn listen(
state
.lock()
.await
- .audio()
+ .audio_output()
.decode_packet_payload(
VoiceStreamType::TCP,
session_id,