Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
af3f3a10
Commit
af3f3a10
authored
Sep 09, 2007
by
Jean-Baptiste Kempf
Browse files
Qt4 - IM: Add a setRate function.
parent
35c9f06f
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/input_manager.cpp
View file @
af3f3a10
...
...
@@ -242,6 +242,12 @@ void InputManager::normalRate()
var_SetInteger
(
p_input
,
"rate"
,
INPUT_RATE_DEFAULT
);
}
void
InputManager
::
setRate
(
int
new_rate
)
{
if
(
hasInput
()
)
var_SetInteger
(
p_input
,
"rate"
,
new_rate
);
}
/**********************************************************************
* MainInputManager implementation. Wrap an input manager and
* take care of updating the main playlist input
...
...
modules/gui/qt4/input_manager.hpp
View file @
af3f3a10
...
...
@@ -55,6 +55,7 @@ public slots:
void
slower
();
void
faster
();
void
normalRate
();
void
setRate
(
int
);
void
sectionNext
();
void
sectionPrev
();
void
sectionMenu
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment