- /** An AudioDecoderStream object to manage each stream in _audio_content */
- typedef std::map<AudioStreamPtr, boost::shared_ptr<AudioDecoderStream> > StreamMap;
- StreamMap _streams;
- std::map<AudioStreamPtr, ContentTime> _positions;
+ 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)
+ * for each AudioStream.
+ */
+ typedef std::map<AudioStreamPtr, Frame> PositionMap;
+ PositionMap _positions;
+ typedef std::map<AudioStreamPtr, std::shared_ptr<Resampler>> ResamplerMap;
+ ResamplerMap _resamplers;
+
+ bool _fast;