mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix audio command sending
This commit is contained in:
@@ -101,7 +101,7 @@ int Render::ControlBar(std::shared_ptr<SubStreamWindowProperties>& properties) {
|
|||||||
RemoteAction remote_action;
|
RemoteAction remote_action;
|
||||||
remote_action.type = ControlType::audio_capture;
|
remote_action.type = ControlType::audio_capture;
|
||||||
remote_action.a = properties->audio_capture_button_pressed_;
|
remote_action.a = properties->audio_capture_button_pressed_;
|
||||||
SendDataFrame(peer_, (const char*)&remote_action,
|
SendDataFrame(properties->peer_, (const char*)&remote_action,
|
||||||
sizeof(remote_action));
|
sizeof(remote_action));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user