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
035d03f9
Commit
035d03f9
authored
Feb 11, 2018
by
artificiel
Browse files
ClientPlayer: fonction stop() explicite
parent
86591b1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ofxCloudLib/ClientPlayer.hpp
View file @
035d03f9
#ifndef CLIENTPLAYER_HPP
#define CLIENTPLAYER_HPP
#include "of
SystemUtils
.h"
#include "of
Main
.h"
#include "ofxCloudLib/CloudPlayerThread.hpp"
#include "ofxCloudLib/AbstractClient.hpp"
namespace
ofxCloudLib
{
...
...
@@ -11,7 +12,8 @@ namespace ofxCloudLib
class
ClientPlayer
:
public
AbstractClient
{
public:
ClientPlayer
(
std
::
string
client_name
,
int
index
)
:
AbstractClient
(
client_name
,
index
){};
ClientPlayer
(
std
::
string
client_name
,
int
index
)
:
AbstractClient
(
client_name
,
index
){};
void
load_recording
()
{
...
...
@@ -39,6 +41,11 @@ class ClientPlayer : public AbstractClient
}
}
void
stop
()
{
cloud_player_
.
stop
();
}
void
offset
(
float
&
b
)
{
cloud_player_
.
offset_x_
=
offset_x_
;
...
...
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