X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=8765be42674c3fd8a41323c5bf865dfdab2d7071;hb=dc87773c69beb0249c1d50841730a10a496b563a;hp=69655cceb32b8d654db6d3cd33f143d5d1817a65;hpb=2537a2d959a5872c2e75b322022a7679d24c7e60;p=dcpomatic.git diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 69655cceb..8765be426 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -60,9 +60,13 @@ private: void silence (int milliseconds); boost::shared_ptr _content; - /** Frame after the last one that was emitted from Data for each AudioStream */ - std::map _positions; - std::map > _resamplers; + /** Frame after the last one that was emitted from Data (i.e. at the resampled rate, if applicable) + * for each AudioStream. + */ + typedef std::map PositionMap; + PositionMap _positions; + typedef std::map > ResamplerMap; + ResamplerMap _resamplers; bool _fast; };