Browse Source

Remove debug prints in AudioFile

tags/1.9.4
falkTX 11 years ago
parent
commit
dfbbb50bf8
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      source/backend/native/audio-file.cpp

+ 3
- 5
source/backend/native/audio-file.cpp View File

@@ -183,7 +183,7 @@ protected:


if (! fDoProcess) if (! fDoProcess)
{ {
carla_stderr("P: no process");
//carla_stderr("P: no process");
fLastFrame = timePos->frame; fLastFrame = timePos->frame;
carla_zeroFloat(out1, frames); carla_zeroFloat(out1, frames);
carla_zeroFloat(out2, frames); carla_zeroFloat(out2, frames);
@@ -193,7 +193,7 @@ protected:
// not playing // not playing
if (! timePos->playing) if (! timePos->playing)
{ {
carla_stderr("P: not playing");
//carla_stderr("P: not playing");
fLastFrame = timePos->frame; fLastFrame = timePos->frame;


if (timePos->frame == 0 && fLastFrame > 0) if (timePos->frame == 0 && fLastFrame > 0)
@@ -209,7 +209,7 @@ protected:
// out of reach // out of reach
if (timePos->frame + frames < fPool.startFrame || timePos->frame >= fMaxFrame) /*&& ! loopMode)*/ if (timePos->frame + frames < fPool.startFrame || timePos->frame >= fMaxFrame) /*&& ! loopMode)*/
{ {
carla_stderr("P: out of reach");
//carla_stderr("P: out of reach");
fLastFrame = timePos->frame; fLastFrame = timePos->frame;


fThread.setNeedsRead(); fThread.setNeedsRead();
@@ -294,14 +294,12 @@ private:


if (fThread.loadFilename(filename)) if (fThread.loadFilename(filename))
{ {
carla_stdout("AudioFilePlugin::loadFilename(\"%s\") - sucess", filename);
fThread.startNow(); fThread.startNow();
fMaxFrame = fThread.getMaxFrame(); fMaxFrame = fThread.getMaxFrame();
fDoProcess = true; fDoProcess = true;
} }
else else
{ {
carla_stderr("AudioFilePlugin::loadFilename(\"%s\") - failed", filename);
fDoProcess = false; fDoProcess = false;
fMaxFrame = 0; fMaxFrame = 0;
} }


Loading…
Cancel
Save