mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
refactor: remove audio mode
This commit is contained in:
@@ -183,9 +183,6 @@ class Header: Reactor.Component {
|
||||
<li #balanced type="image-quality"><span>{svg_checkmark}</span>{translate('Balanced')}</li>
|
||||
<li #low type="image-quality"><span>{svg_checkmark}</span>{translate('Optimize reaction time')}</li>
|
||||
<li #custom type="image-quality"><span>{svg_checkmark}</span>{translate('Custom')}</li>
|
||||
<div .separator />
|
||||
<li #guest-to-host type="audio-mode"><span>{svg_checkmark}</span>{translate('Guest to Host')}</li>
|
||||
<li #dual-way type="audio-mode"><span>{svg_checkmark}</span>{translate('Dual way')}</li>
|
||||
{show_codec ? <div>
|
||||
<div .separator />
|
||||
<li #auto type="codec-preference"><span>{svg_checkmark}</span>Auto</li>
|
||||
@@ -394,8 +391,6 @@ class Header: Reactor.Component {
|
||||
} else if (type == "codec-preference") {
|
||||
handler.set_option("codec-preference", me.id);
|
||||
handler.change_prefer_codec();
|
||||
} else if (type == "audio-mode") {
|
||||
handler.save_audio_mode(me.id);
|
||||
}
|
||||
toggleMenuState();
|
||||
}
|
||||
|
||||
@@ -420,8 +420,6 @@ impl sciter::EventHandler for SciterSession {
|
||||
fn supported_hwcodec();
|
||||
fn change_prefer_codec();
|
||||
fn restart_remote_device();
|
||||
fn save_audio_mode(String);
|
||||
fn get_audio_mode();
|
||||
fn request_voice_call();
|
||||
fn close_voice_call();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user