summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-05 01:12:32 +0000
committerCarl Hetherington <cth@carlh.net>2018-03-05 01:12:32 +0000
commit112826fec70f99de7d0b81d152b759d2a60344cd (patch)
tree6c96a4f409dfc6e1be43bea98235073410767f1d /src/lib/audio_decoder.h
parentf1130b3ac66d359406d532e91383a31fa6928b72 (diff)
Tidy up with some typedefs.
Diffstat (limited to 'src/lib/audio_decoder.h')
-rw-r--r--src/lib/audio_decoder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h
index d422503a7..8765be426 100644
--- a/src/lib/audio_decoder.h
+++ b/src/lib/audio_decoder.h
@@ -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;
};