mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 20:53:54 +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
29 lines
570 B
C++
29 lines
570 B
C++
#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
|