1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-24 10:53:53 +00:00
openmw/sound/imp/openal_audiere.h

30 lines
570 B
C
Raw Normal View History

#ifndef MANGLE_FFMPEG_OPENAL_H
#define MANGLE_FFMPEG_OPENAL_H
#include "input_filter.h"
#include "input_audiere.h"
#include "output_openal.h"
namespace Mangle {
namespace Sound {
/// A InputFilter that adds audiere decoding to OpenAL. Audiere has
/// it's own output, but OpenAL sports 3D and other advanced features.
class OpenAL_Audiere_Manager : public InputFilter
{
public:
OpenAL_Audiere_Manager()
{
set(new OpenAL_Manager,
new AudiereInput);
}
~OpenAL_Audiere_Manager()
{
delete snd;
delete inp;
}
};
}}
#endif