[DEV] add missing print

This commit is contained in:
Edouard DUPIN 2016-08-22 21:52:31 +02:00
parent 90b09f2f03
commit 7cea398ff7
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
audio::Time::Time(int64_t _valSec, int64_t _valNano) {
m_data = std::chrono::steady_clock::time_point(std::chrono::seconds(_valSec));
m_data += std::chrono::nanoseconds(_valNano);
//AUDIO_PRINT("sec= " << _valSec << " nano=" << _valNano << " ==> " << m_data);
}
audio::Time::Time(const std::chrono::steady_clock::time_point& _val) {
m_data = _val;

View File

@ -13,6 +13,7 @@ namespace audio {
// TODO : Review this problem of multiple intanciation of "std::stringbuf sb"
#define AUDIO_BASE(info,data) ELOG_BASE(audio::getLogId(),info,data)
#define AUDIO_PRINT(data) AUDIO_BASE(-1, data)
#define AUDIO_CRITICAL(data) AUDIO_BASE(1, data)
#define AUDIO_ERROR(data) AUDIO_BASE(2, data)
#define AUDIO_WARNING(data) AUDIO_BASE(3, data)