diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 08:36:37 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 08:36:37 +0100 |
commit | 1662fa8a8197e62b9df3ce5ecc6f1032800a07fe (patch) | |
tree | c17dc369092e7d31fd127375393983bff8e0cd7e | |
parent | cf0efe7e48550b5dc3255f473b0f9cdfb59c8772 (diff) |
Added debug
-rw-r--r-- | src/audiocache.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audiocache.cc b/src/audiocache.cc index ee0c8d6..1493e46 100644 --- a/src/audiocache.cc +++ b/src/audiocache.cc @@ -225,13 +225,13 @@ void AudioCache::close(cacheid_t id) void AudioCache::setFrameSize(size_t framesize) { - printf("%s\n", __PRETTY_FUNCTION__); + DEBUG(cache, "%s\n", __PRETTY_FUNCTION__); // Make sure the event handler thread is stalled while we set the framesize // state. std::lock_guard<AudioCacheEventHandler> eventHandlerLock(eventHandler); - printf("A\n"); + DEBUG(cache, "A\n"); // NOTE: Not threaded... //std::lock_guard<AudioCacheIDManager> idManagerLock(idManager); @@ -249,11 +249,11 @@ void AudioCache::setFrameSize(size_t framesize) this->framesize = framesize; - printf("B\n"); + DEBUG(cache, "B\n"); eventHandler.setChunkSize(CHUNKSIZE(framesize)); - printf("C\n"); + DEBUG(cache, "C\n"); } size_t AudioCache::frameSize() const |