# include <simgear_config.h>
#endif
+#include "xmlsound.hxx"
+
+
#include <simgear/compiler.h>
#include <string.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/condition.hxx>
-#include <simgear/math/SGMath.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/misc/sg_path.hxx>
-#include "xmlsound.hxx"
+#include "sample_group.hxx"
+#include "sample_openal.hxx"
+using std::string;
// static double _snd_lin(double v) { return v; }
static double _snd_inv(double v) { return (v == 0) ? 1e99 : 1/v; }
//
// Initialize the sample
//
- if (is_avionics) {
+ if ((is_avionics)&&(avionics)) {
_sgrp = avionics;
} else {
_sgrp = sgrp;