summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-25 22:04:20 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-25 22:04:20 +0100
commit78e5a331074a456097a162d47501daf1df1ab1a3 (patch)
tree17dbc6cd0e3e6a4878277959d7cd86129fb516b4 /src/lib/audio_decoder.h
parent991244a0d4be149e8733a8dd70bfd745cab72583 (diff)
Hopefully much cleaner handling of PTS changes under resample.
Diffstat (limited to 'src/lib/audio_decoder.h')
-rw-r--r--src/lib/audio_decoder.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h
index e2d28d707..2ad53da8b 100644
--- a/src/lib/audio_decoder.h
+++ b/src/lib/audio_decoder.h
@@ -29,7 +29,6 @@
#include "audio_content.h"
class AudioBuffers;
-class Resampler;
/** @class AudioDecoder.
* @brief Parent class for audio decoders.
@@ -37,19 +36,15 @@ class Resampler;
class AudioDecoder : public virtual Decoder
{
public:
- AudioDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const AudioContent>);
+ AudioDecoder (boost::shared_ptr<const Film>);
/** Emitted when some audio data is ready */
boost::signals2::signal<void (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame)> Audio;
protected:
- void flush ();
-
void audio (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame);
- /** Frame index of next emission (post resampling) */
AudioContent::Frame _audio_position;
- boost::shared_ptr<Resampler> _resampler;
};
#endif