Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / lib / audio_decoder.h
index d422503a78b4a643afee95493ff2c3a6a09ec85d..8765be42674c3fd8a41323c5bf865dfdab2d7071 100644 (file)
@@ -63,8 +63,10 @@ private:
        /** Frame after the last one that was emitted from Data (i.e. at the resampled rate, if applicable)
         *  for each AudioStream.
         */
-       std::map<AudioStreamPtr, Frame> _positions;
-       std::map<AudioStreamPtr, boost::shared_ptr<Resampler> > _resamplers;
+       typedef std::map<AudioStreamPtr, Frame> PositionMap;
+       PositionMap _positions;
+       typedef std::map<AudioStreamPtr, boost::shared_ptr<Resampler> > ResamplerMap;
+       ResamplerMap _resamplers;
 
        bool _fast;
 };