diff --git a/chunk.h b/chunk.h index af034e88..b2f140a4 100644 --- a/chunk.h +++ b/chunk.h @@ -3,7 +3,7 @@ #include -#define SAMPLE_RATE (48000) +#define SAMPLE_RATE (44100) //#define SAMPLE_BIT (16) #define CHANNELS (2) diff --git a/stream.cpp b/stream.cpp index 122f22da..07e462df 100644 --- a/stream.cpp +++ b/stream.cpp @@ -154,7 +154,7 @@ void Stream::getPlayerChunk(short* outputBuffer, double outputBufferDacTime, uns lastUpdate = now; median = pBuffer->median(); shortMedian = pShortBuffer->median(); - std::cerr << "Chunk: " << age << "\t" << shortMedian << "\t" << median << "\t" << pBuffer->size() << "\t" << outputBufferDacTime*1000 << "\n"; + std::cerr << "Chunk: " << age << "\t" << pMiniBuffer->median() << "\t" << shortMedian << "\t" << median << "\t" << pBuffer->size() << "\t" << outputBufferDacTime*1000 << "\n"; } }