mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
opt: rename to dual-way
This commit is contained in:
@@ -1262,8 +1262,8 @@ impl LoginConfigHandler {
|
||||
pub fn get_audio_mode_enum(q: &str, ignore_default: bool) -> Option<AudioMode> {
|
||||
if q == "guest-to-host" {
|
||||
Some(AudioMode::GuestToHost)
|
||||
} else if q == "two-way" {
|
||||
Some(AudioMode::TwoWay)
|
||||
} else if q == "dual-way" {
|
||||
Some(AudioMode::DualWay)
|
||||
} else {
|
||||
if ignore_default {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user