9e122eaf81
Compile a useful subset of FG as a shared library, and add two basic uses of this to exercise some Flightplan / RoutePath / navaid functions. The test framework can/will be expanded incrementally from here, this is just a starting point.
57 lines
609 B
C++
57 lines
609 B
C++
#include <simgear/sound/soundmgr.hxx>
|
|
|
|
class SGSoundMgr::SoundManagerPrivate
|
|
{
|
|
public:
|
|
};
|
|
|
|
SGSoundMgr::SGSoundMgr()
|
|
{
|
|
|
|
}
|
|
|
|
SGSoundMgr::~SGSoundMgr()
|
|
{
|
|
|
|
}
|
|
|
|
void SGSoundMgr::init()
|
|
{
|
|
|
|
}
|
|
|
|
void SGSoundMgr::stop()
|
|
{
|
|
|
|
|
|
}
|
|
|
|
void SGSoundMgr::suspend()
|
|
{
|
|
|
|
}
|
|
|
|
void SGSoundMgr::resume()
|
|
{
|
|
|
|
}
|
|
|
|
void SGSoundMgr::update(double dt)
|
|
{
|
|
}
|
|
|
|
void SGSoundMgr::reinit()
|
|
{
|
|
|
|
}
|
|
|
|
bool SGSoundMgr::load(const std::string &samplepath, void **data, int *format, size_t *size, int *freq, int *block)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
std::vector<const char*> SGSoundMgr::get_available_devices()
|
|
{
|
|
std::vector<const char*> result;
|
|
return result;
|
|
}
|