MCPcopy Create free account
hub / github.com/RHVoice/RHVoice / run

Method run

src/sd_module/speech_player.cpp:146–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 void speech_player::run()
147 {
148 try
149 {
150 synth_result_ptr ptr;
151 while(speech_queue.pop(ptr))
152 {
153 ptr->output();
154 }
155 }
156 catch(const std::exception& e)
157 {
158 logger::log(2,"Fatal error in the playback thread: ",e.what());
159 }
160 }
161 }
162}

Callers

nothing calls this directly

Calls 3

outputMethod · 0.80
popMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected