summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--src/sound_asset.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index f0e22b4e..c8770315 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@ GTAGS
TAGS
.ccls-cache
compile_commands.json
+
+run/tools/dcpdummy \ No newline at end of file
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 04234c23..0eaa8fb5 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -207,7 +207,7 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, NoteHand
for (int channel = 0; channel < frame_A->channels(); ++channel) {
int32_t const d = abs(frame_A->get(channel, sample) - frame_B->get(channel, sample));
if (d > opt.max_audio_sample_error) {
- note (NoteType::ERROR, String::compose ("PCM data difference of %1", d));
+ note (NoteType::ERROR, String::compose("PCM data difference of %1 in frame %2, channel %3, sample %4", d, i, channel, sample));
return false;
}
}