5 #include "hrpsys/util/Hrpsys.h" 20 sprintf(buf,
"aplay %s", filename);
21 std::cout <<
"cmd = [" << buf <<
"]" << std::endl;
22 int ret = system(buf);
29 sprintf(buf,
"aplay %s", filename);
30 std::cout <<
"cmd = [" << buf <<
"]" << std::endl;
31 int ret = system(buf);
38 pthread_create(&thr, NULL,
thread_main, (
void *)filename);
virtual ~WavPlayerService_impl()
RTC::ReturnCode_t ret(RTC::Local::ReturnCode_t r)
void playWav(const char *filename)
void * thread_main(void *args)
void playWavNoWait(const char *filename)
std::string sprintf(char const *__restrict fmt,...)