Mercurial > hg > svapp
diff audioio/PlaySpeedRangeMapper.cpp @ 293:068235cf5bf7
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:12:50 +0000 |
parents | 3c5756fb6a68 |
children | 46b24009ce7a |
line wrap: on
line diff
--- a/audioio/PlaySpeedRangeMapper.cpp Wed Oct 09 14:56:20 2013 +0100 +++ b/audioio/PlaySpeedRangeMapper.cpp Tue Nov 26 14:12:50 2013 +0000 @@ -51,7 +51,7 @@ position = position + half; } -// std::cerr << "value = " << value << " slow = " << slow << " factor = " << factor << " position = " << position << std::endl; +// cerr << "value = " << value << " slow = " << slow << " factor = " << factor << " position = " << position << endl; return position; } @@ -70,7 +70,7 @@ float pc; if (factor < 1.0) pc = ((1.0 / factor) - 1.0) * 100.0; else pc = (1.0 - factor) * 100.0; -// std::cerr << "position = " << position << " percent = " << pc << std::endl; +// cerr << "position = " << position << " percent = " << pc << endl; return pc; } @@ -87,7 +87,7 @@ factor = 1.0 / (1.0 + (value / 100.0)); } -// std::cerr << "value = " << value << " factor = " << factor << std::endl; +// cerr << "value = " << value << " factor = " << factor << endl; return factor; } @@ -121,7 +121,7 @@ if (!slow) factor = 1.0 / factor; -// std::cerr << "position = " << position << " slow = " << slow << " factor = " << factor << std::endl; +// cerr << "position = " << position << " slow = " << slow << " factor = " << factor << endl; return factor; }