mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
eb1c24ffe6
- Split video player to separate source files. - Move video player engine sources to extern/ (repository will be set up on github soon). - Audio is handled in a MovieAudioFactory, implemented by the user (here in MWSound subsystem). - Handle conversion of unsupported channel layouts via ffmpeg's swresample.
17 lines
360 B
C++
17 lines
360 B
C++
#ifndef OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
|
#define OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
|
|
|
#include <extern/ogre-ffmpeg-videoplayer/audiofactory.hpp>
|
|
|
|
namespace MWSound
|
|
{
|
|
|
|
class MovieAudioFactory : public Video::MovieAudioFactory
|
|
{
|
|
virtual boost::shared_ptr<Video::MovieAudioDecoder> createDecoder(Video::VideoState* videoState);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|