Revision 2e526a15 server/include/Utterance.h
server/include/Utterance.h | ||
---|---|---|
44 | 44 |
|
45 | 45 |
void set_phoneme_vector(phonemes_vector_t p); |
46 | 46 |
void set_text(std::string t); |
47 |
void set_audio_data(AudioData a);
|
|
47 |
void set_audio_data(boost::shared_ptr<AudioData> a);
|
|
48 | 48 |
|
49 | 49 |
void start_playback(); |
50 | 50 |
bool is_playing(); |
51 | 51 |
std::string currently_active_phoneme(); |
52 |
AudioData get_audio_data();
|
|
52 |
boost::shared_ptr<AudioData> get_audio_data();
|
|
53 | 53 |
std::string get_text(); |
54 | 54 |
|
55 | 55 |
protected: |
56 |
AudioData audio_data;
|
|
56 |
boost::shared_ptr<AudioData> audio_data;
|
|
57 | 57 |
std::string text; |
58 | 58 |
phonemes_vector_t phonemes_vector; |
59 | 59 |
|
Also available in: Unified diff