Permalink
Browse files

o Diagnostic if gapless cannot be done, because the other file is

  already open.
  • Loading branch information...
1 parent ac40d85 commit 1113409af8ca0867a3c9483d124c0444bcc51271 @hzeller committed Sep 21, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 folve-filesystem.cc
View
@@ -337,8 +337,11 @@ class SndFileHandler :
}
virtual bool AcceptProcessor(SoundProcessor *processor) {
- if (processor_ != NULL || !input_frames_left_)
+ if (processor_ != NULL || !input_frames_left_) {
+ DebugLogf("Gapless attempt: Cannot bridge gap to alrady open file %s",
+ base_stats_.filename.c_str());
return false; // We already have one.
+ }
// TODO: check that other parameters such as sampling rate and channels
// match (should be a are problem).
processor_ = processor;

0 comments on commit 1113409

Please sign in to comment.