mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 23:15:33 +00:00
69e8f9c9db
- renamed imp_client/ to clients/ and ditto for servers/ - renamed imp/ to servers/ - renamed stream/input.h to stream/stream.h - renamed Stream::InputStream to Stream::Stream - updated various tests and makefiles - NOT TESTED YET
28 lines
477 B
C++
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
|