1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwsound/mpgsnd_decoder.cpp
2012-03-16 23:59:21 -07:00

34 lines
372 B
C++

#ifdef OPENMW_USE_MPG123
#include "mpgsnd_decoder.hpp"
namespace MWSound
{
bool MpgSnd_Decoder::Open(const std::string &fname)
{
return false;
}
void MpgSnd_Decoder::Close()
{
}
MpgSnd_Decoder::MpgSnd_Decoder()
{
static bool initdone = false;
if(!initdone)
mpg123_init();
initdone = true;
}
MpgSnd_Decoder::~MpgSnd_Decoder()
{
}
}
#endif