Revision 888a909b server/src/Utterance.cpp

View differences:

server/src/Utterance.cpp
28 28

  
29 29
#include "Utterance.h"
30 30
using namespace std;
31
using namespace boost;
32 31

  
33 32
#define DEBUG_PRINT_PHONEMES 1
34 33

  
35 34
Utterance::Utterance(){
36 35
    playing = false;
37 36
    text = "UNINITIALISED UTTERANCE";
38
    audio_data = boost::shared_ptr<AudioData>(new AudioData());
37
    audio_data = std::shared_ptr<AudioData>(new AudioData());
39 38
}
40 39

  
41 40
void Utterance::set_phoneme_vector(phonemes_vector_t p){
......
46 45
    text = t;
47 46
}
48 47

  
49
void Utterance::set_audio_data(boost::shared_ptr<AudioData> a){
48
void Utterance::set_audio_data(std::shared_ptr<AudioData> a){
50 49
    audio_data = a;
51 50
}
52 51

  
......
57 56
    return text;
58 57
}
59 58

  
60
boost::shared_ptr<AudioData> Utterance::get_audio_data(){
59
std::shared_ptr<AudioData> Utterance::get_audio_data(){
61 60
    return audio_data;
62 61
}
63 62

  

Also available in: Unified diff