Revision 888a909b server/include/Utterance.h

View differences:

server/include/Utterance.h
30 30
#include <string>
31 31
#include <vector>
32 32
#include <chrono>
33
#include <boost/shared_ptr.hpp>
33
#include <memory>
34 34
#include "AudioData.h"
35 35

  
36 36
class Utterance{
......
43 43

  
44 44
    void set_phoneme_vector(phonemes_vector_t p);
45 45
    void set_text(std::string t);
46
    void set_audio_data(boost::shared_ptr<AudioData> a);
46
    void set_audio_data(std::shared_ptr<AudioData> a);
47 47

  
48 48
    void start_playback();
49 49
    bool is_playing();
50 50
    std::string currently_active_phoneme();
51
    boost::shared_ptr<AudioData> get_audio_data();
51
    std::shared_ptr<AudioData> get_audio_data();
52 52
    std::string get_text();
53 53

  
54 54
protected:
55
    boost::shared_ptr<AudioData> audio_data;
55
    std::shared_ptr<AudioData> audio_data;
56 56
    std::string text;
57 57
    phonemes_vector_t phonemes_vector;
58 58

  

Also available in: Unified diff