From e9b5966fb73c43ab8904ffdd32201498301ba114 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 31 Mar 2014 20:31:37 +0200 Subject: [PATCH] [DEV] remove assert --- ewolsa/decOgg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ewolsa/decOgg.cpp b/ewolsa/decOgg.cpp index 3831669..28a0a09 100644 --- a/ewolsa/decOgg.cpp +++ b/ewolsa/decOgg.cpp @@ -85,7 +85,7 @@ int16_t* ewolsa::ogg::loadAudioFile(const std::string& _filename, int8_t _nbChan EWOLSA_DEBUG("comment : " << *ptr); ++ptr; } - EWOLSA_DEBUG("Bitstream is " << vi->channels << " channel, " << vi->rate << "Hz"); + EWOLSA_DEBUG("Bitstream is " << (int32_t)vi->channels << " channel, " << (int32_t)vi->rate << "Hz"); EWOLSA_DEBUG("Decoded length: " << _nbSampleOut << " samples"); EWOLSA_DEBUG("Encoded by: " << ov_comment(&vf,-1)->vendor); EWOLSA_DEBUG("time: " << ((float)_nbSampleOut/(float)vi->rate)/60.0); @@ -129,7 +129,7 @@ int16_t* ewolsa::ogg::loadAudioFile(const std::string& _filename, int8_t _nbChan } pos += ret; } else { - EWOLSA_ERROR("Can not convert " << vi->channels << " channels in " << _nbChan << " channels"); + EWOLSA_ERROR("Can not convert " << (int32_t)vi->channels << " channels in " << _nbChan << " channels"); } } // fwrite(pcmout,1,ret,stdout); @@ -138,7 +138,7 @@ int16_t* ewolsa::ogg::loadAudioFile(const std::string& _filename, int8_t _nbChan } /* cleanup */ ov_clear(&vf); - EWOLSA_CRITICAL("Done."); + EWOLSA_DEBUG("Done."); return outputData; }