X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fsingle_stream_audio_content.h;h=d1d512d6765b33665ca2fe22db0f0fd1e1f40663;hp=fcfaf14ca1b211edf805d279b88744fd99b97488;hb=387304bc9147933b68eda2b38ba8cac0d250e87e;hpb=fd2b1840496fa121727b7e835843c8beeaebd5eb diff --git a/src/lib/single_stream_audio_content.h b/src/lib/single_stream_audio_content.h index fcfaf14ca..d1d512d67 100644 --- a/src/lib/single_stream_audio_content.h +++ b/src/lib/single_stream_audio_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ public: return _audio_channels; } - ContentTime audio_length () const { + Frame audio_length () const { boost::mutex::scoped_lock lm (_mutex); return _audio_length; } @@ -66,7 +66,7 @@ public: protected: int _audio_channels; - ContentTime _audio_length; + Frame _audio_length; int _audio_frame_rate; AudioMapping _audio_mapping; };