Fix incorrectly-timed emission of silence padding causing buffer fill (#2217).
[dcpomatic.git] / src / lib / audio_decoder.h
index 81b48b73cb7ff7aaafcf8a86ff18a4bea28fa744..a2e06f11ceed15773f9987eb96e3017eddca1ed0 100644 (file)
@@ -61,7 +61,7 @@ public:
        boost::signals2::signal<void (AudioStreamPtr, ContentAudio)> Data;
 
 private:
-       void silence (int milliseconds);
+       void silence (AudioStreamPtr stream, int milliseconds);
 
        std::shared_ptr<const AudioContent> _content;
        /** Frame after the last one that was emitted from Data (i.e. at the resampled rate, if applicable)