Revision d1a9b802
server/src/AudioPlayerRSB.cpp | ||
---|---|---|
126 | 126 |
long sample_count = audio_data_ptr->sample_count(); |
127 | 127 |
int sampling_rate = audio_data_ptr->rate(); |
128 | 128 |
double playback_time = (double)sample_count / (double)sampling_rate; |
129 |
printf("> AudioPlayerRSB estimated playbacktine to %5.3lf seconds. will wait now...",playback_time);
|
|
129 |
printf("> AudioPlayerRSB estimated playbacktime to %5.3lf seconds. will wait now...",playback_time);
|
|
130 | 130 |
boost::this_thread::sleep(boost::posix_time::milliseconds(1000.0 * playback_time)); |
131 | 131 |
printf("> AudioPlayerRSB finished waiting...\n"); |
132 | 132 |
break; |
Also available in: Unified diff