#include "audio_content.h"
class AudioBuffers;
-class Resampler;
/** @class AudioDecoder.
* @brief Parent class for audio decoders.
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 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