2009-11-21 10:41:44 +00:00
|
|
|
#ifndef MANGLE_FFMPEG_OPENAL_H
|
|
|
|
#define MANGLE_FFMPEG_OPENAL_H
|
2009-11-17 17:33:19 +00:00
|
|
|
|
|
|
|
#include "sound_pair.h"
|
|
|
|
#include "input_ffmpeg.h"
|
|
|
|
#include "output_openal.h"
|
|
|
|
|
2009-11-21 10:41:44 +00:00
|
|
|
namespace Mangle {
|
2009-11-17 17:33:19 +00:00
|
|
|
namespace Sound {
|
|
|
|
|
|
|
|
/// A PairManager filter that adds FFmpeg decoding to OpenAL
|
|
|
|
class OpenAL_FFM_Manager : public PairManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
OpenAL_FFM_Manager()
|
|
|
|
{
|
|
|
|
set(new FFM_InputManager,
|
|
|
|
new OpenAL_Manager);
|
|
|
|
}
|
|
|
|
~OpenAL_FFM_Manager()
|
|
|
|
{
|
|
|
|
delete snd;
|
|
|
|
delete inp;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}}
|
|
|
|
#endif
|