3 #include "../packet.h"
\r
5 namespace caspar{ namespace ffmpeg {
\r
7 class audio_decoder : boost::noncopyable
\r
11 audio_packet_ptr execute(const audio_packet_ptr& audio_packet);
\r
13 /// <summary> The alignment </summary>
\r
14 /// <remarks> Four sec of 16 bit stereo 48kHz should be enough </remarks>
\r
15 static const int ALIGNMENT = 16 ;
\r
17 /// <summary> Size of the audio decomp buffer </summary>
\r
18 static const int AUDIO_DECOMP_BUFFER_SIZE = 4*48000*4+ALIGNMENT;
\r
20 struct implementation;
\r
21 std::shared_ptr<implementation> impl_;
\r
23 typedef std::shared_ptr<audio_decoder> audio_decoder_ptr;
\r
24 typedef std::unique_ptr<audio_decoder> audio_decoder_uptr;
\r