Skip to content
Snippets Groups Projects
Commit c0896944 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9832: audio: fix logging

parent 2ebb5800
No related branches found
No related tags found
No related merge requests found
......@@ -53,10 +53,10 @@ AudioLoop::getNext(SFLDataFormat* output, size_t total_samples, short volume)
size_t pos = pos_;
if (size_ == 0) {
ERROR("AudioLoop: Error: Audio loop size is 0");
ERROR("Audio loop size is 0");
return;
} else if (pos >= size_) {
ERROR("AudioLoop: Error: Invalid loop position %d", pos);
ERROR("Invalid loop position %d", pos);
return;
}
......
......@@ -183,7 +183,7 @@ WaveFile::WaveFile(const std::string &fileName, int newRate) : AudioFile(fileNam
// sample frames, should not be longer than a minute
int nbSamples = std::min(60 * fileRate, 8 * bytes / dt / chan);
DEBUG("WaveFile: frame size %ld, data size %d align %d rate %d avgbyte %d "
DEBUG("Frame size %ld, data size %d align %d rate %d avgbyte %d "
"chunk size %d dt %d", nbSamples, bytes, blockal, fileRate, avgb,
chunkSize, dt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment