forked from teamnwah/openmw-tes3coop
- 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.
20 lines
366 B
C++
20 lines
366 B
C++
#ifndef VIDEO_MOVIEAUDIOFACTORY_H
|
|
#define VIDEO_MOVIEAUDIOFACTORY_H
|
|
|
|
#include "audiodecoder.hpp"
|
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
namespace Video
|
|
{
|
|
|
|
class MovieAudioFactory
|
|
{
|
|
public:
|
|
/// @note The ownership of the created decoder is passed to the caller.
|
|
virtual boost::shared_ptr<MovieAudioDecoder> createDecoder(VideoState* videoState) = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|