Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ofxaddons
ofxCloudLib
Commits
6d90ee96
Commit
6d90ee96
authored
Dec 07, 2017
by
artificiel
Browse files
ClientPlayer: cleanup
parent
c214296a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ofxCloudLib/ClientPlayer.hpp
View file @
6d90ee96
...
...
@@ -23,6 +23,13 @@ class ClientPlayer : public AbstractClient
}
}
void
direct_load_recording
(
std
::
string
path
)
{
ofLogNotice
(
"ClientPlayer"
)
<<
"direct_load_recording: "
<<
path
;
cloud_player_
.
setup
(
path
);
index_
.
setMax
(
cloud_player_
.
get_number_of_frames
());
}
void
control_playback
(
bool
&
b
)
{
if
(
b
)
{
...
...
@@ -36,7 +43,6 @@ class ClientPlayer : public AbstractClient
{
cloud_player_
.
offset_x_
=
offset_x_
;
cloud_player_
.
offset_z_
=
offset_z_
;
;
}
ofMesh
&
get_mesh
()
override
{
return
cloud_player_
.
get_mesh
();
};
...
...
@@ -79,7 +85,6 @@ class ClientPlayer : public AbstractClient
ofParameter
<
bool
>
drawing_
;
ofParameter
<
int
>
index_
;
ofxCloudLib
::
CloudPlayerThread
cloud_player_
;
};
}
// namespace ofxCloudLib
...
...
Write
Preview
Markdown
is supported
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