Commit 035d03f9 authored by artificiel's avatar artificiel
Browse files

ClientPlayer: fonction stop() explicite

parent 86591b1c
#ifndef CLIENTPLAYER_HPP
#define CLIENTPLAYER_HPP
#include "ofSystemUtils.h"
#include "ofMain.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_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment