diff --git a/credentials.example.toml b/credentials.example.toml index eaa4b98..4a875c8 100644 --- a/credentials.example.toml +++ b/credentials.example.toml @@ -2,11 +2,11 @@ discord_token = "SECRET" teamspeak_server = "IP:PORT" # NO tsdns -# identitfy, should change this +# identity, should change this teamspeak_identity = "MG0DAgeAAgEgAiAIXJBlj1hQbaH0Eq0DuLlCmH8bl+veTAO2+k9EQjEYSgIgNnImcmKo7ls5mExb6skfK2Tw+u54aeDr0OP1ITsC/50CIA8M5nmDBnmDM/gZ//4AAAAAAAAAAAAAAAAAAAAZRzOI" # join channel ID teamspeak_channel = 1 -# logging stuff +# logging stuff, 0-3 verbose = 1 -# ?! +# currently unused volume = 1.0 \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 4c2abf6..a6f8485 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,7 +70,7 @@ impl Read for TsToDiscordPipeline { fn read(&mut self, buf: &mut [u8]) -> std::io::Result { let len = buf.len() / size_of::(); let mut wtr: Vec = vec![0.0; len]; - // TODO: can't we support async read for songbird ? this is kinda bad.. + // TODO: can't we support async read for songbird ? this is kinda bad as it requires a sync mutex { let mut lock = self.data.lock().expect("Can't lock ts voice buffer!");