/** @file test/ffmpeg_audio_only_test.cc
* @brief Test FFmpeg content with audio but no video.
- * @ingroup specific
+ * @ingroup feature
*/
#include "lib/film.h"
#include <iostream>
using std::min;
-using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+using std::shared_ptr;
static SNDFILE* ref = 0;
static int ref_buffer_size = 0;
static float* ref_buffer = 0;
static void
-audio (boost::shared_ptr<AudioBuffers> audio, int channels)
+audio (std::shared_ptr<AudioBuffers> audio, int channels)
{
/* Check that we have a big enough buffer */
BOOST_CHECK (audio->frames() * audio->channels() < ref_buffer_size);
ref_buffer_size = info.samplerate * info.channels;
ref_buffer = new float[ref_buffer_size];
- shared_ptr<Player> player (new Player (film, film->playlist ()));
+ shared_ptr<Player> player (new Player(film));
player->Audio.connect (bind (&audio, _1, info.channels));
while (!player->pass ()) {}