mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-19 14:19:57 +01:00
Add /speed OSC endpoint to control playspeed
This commit is contained in:
@@ -256,7 +256,7 @@ void drawMediaPlayer()
|
||||
ImGui::SameLine(0, spacing);
|
||||
ImGui::SetNextItemWidth(270);
|
||||
// ImGui::SetNextItemWidth(width - 90.0);
|
||||
if (ImGui::SliderFloat( "Speed", &speed, -10.f, 10.f, "x %.1f", 2.f))
|
||||
if (ImGui::SliderFloat( "Speed", &speed, -10.f, 10.f, "x %.2f", 2.f))
|
||||
testmedia.setPlaySpeed( static_cast<double>(speed) );
|
||||
ImGui::SameLine(0, spacing);
|
||||
if (ImGuiToolkit::ButtonIcon(19, 15)) {
|
||||
|
||||
Reference in New Issue
Block a user