class AudioDecoder : public virtual Decoder
{
public:
- AudioDecoder (boost::shared_ptr<const Film>);
+ AudioDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const AudioContent>);
/** Emitted when some audio data is ready */
boost::signals2::signal<void (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame)> Audio;
void audio (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame);
AudioContent::Frame _audio_position;
+
+private:
+ AudioContent::Frame _delay_frames;
};
#endif