From d62f5fd5c65d7c7b72efb68835bf9eb7d008e0a4 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 3 Jul 2014 21:03:26 +0200 Subject: [PATCH] [DEV] remove etk_min and etk_max --- eaudiofx/core/BlockDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eaudiofx/core/BlockDecoder.cpp b/eaudiofx/core/BlockDecoder.cpp index f5f1479..a479ba7 100644 --- a/eaudiofx/core/BlockDecoder.cpp +++ b/eaudiofx/core/BlockDecoder.cpp @@ -59,7 +59,7 @@ int32_t eaudiofx::BlockDecoder::pull(double _currentTime, int32_t _request, floa int32_t offset = 0; //EAUDIOFX_DEBUG("Request data : " << (_request*2) ); while (1) { - int32_t nbSampleToCopy = etk_min(m_nbSampleIn, _request*2 - offset); + int32_t nbSampleToCopy = std::min(m_nbSampleIn, _request*2 - offset); if (m_nbSampleIn > 0) { // no pull needed ==> just copy data to output ... for (int32_t iii=0; iii < nbSampleToCopy; ++iii) {