20#ifndef __FG_SOUNDMGR_HXX
21#define __FG_SOUNDMGR_HXX 1
25#include <simgear/props/props.hxx>
26#include <simgear/structure/subsystem_mgr.hxx>
27#include <simgear/sound/soundmgr.hxx>
34#ifdef ENABLE_AUDIO_SUPPORT
43 void reinit()
override;
44 void shutdown()
override;
45 void update(
double dt)
override;
50 void activate(
bool State);
51 void update_device_list();
53 VoiceSynthesizer * getSynthesizer(
const std::string & voice );
56 bool stationaryView()
const;
58 bool playAudioSampleCommand(
const SGPropertyNode * arg, SGPropertyNode * root);
60 std::map<std::string,SGSharedPtr<FGSampleQueue>> _queue;
63 bool _is_initialized, _enabled;
64 SGPropertyNode_ptr _sound_working, _sound_enabled, _volume, _device_name;
65 SGPropertyNode_ptr _velocityNorthFPS, _velocityEastFPS, _velocityDownFPS;
66 SGPropertyNode_ptr _frozen;
67 std::unique_ptr<Listener> _listener;
69 std::map<std::string,VoiceSynthesizer*> _synthesizers;
FlightGear sample queue class.
static override const char * staticSubsystemClassId()
A Voice Synthesizer Interface.
bool fgSetBool(char const *name, bool val)
Set a bool value for a property.