1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-24 18:23:54 +00:00
openmw/sound/imp/openal_ffmpeg.h
2009-12-21 21:51:57 +01:00

28 lines
477 B
C++

#ifndef MANGLE_FFMPEG_OPENAL_H
#define MANGLE_FFMPEG_OPENAL_H
#include "input_filter.h"
#include "input_ffmpeg.h"
#include "output_openal.h"
namespace Mangle {
namespace Sound {
/// An InputFilter that adds FFmpeg decoding to OpenAL
class OpenAL_FFM_Manager : public InputFilter
{
public:
OpenAL_FFM_Manager()
{
set(new OpenAL_Manager,
new FFM_InputManager);
}
~OpenAL_FFM_Manager()
{
delete snd;
delete inp;
}
};
}}
#endif