]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/beacon.cxx
Make the sound-manager optional in a few places.
[flightgear.git] / src / Sound / beacon.cxx
index 9d7a1a18452885c93c825132c14732704564100f..689922932b4bfb15a3a7321a2b146b5b7c14bb31 100644 (file)
@@ -24,7 +24,9 @@
 
 #include "beacon.hxx"
 
+#include <simgear/sound/sample_openal.hxx>
 #include <simgear/structure/exception.hxx>
+#include <simgear/debug/logstream.hxx>
 
 // constructor
 FGBeacon::FGBeacon()
@@ -103,13 +105,13 @@ bool FGBeacon::init() {
     return true;
 }
 
-FGBeacon * FGBeacon::_instance = NULL;\r
-\r
-FGBeacon * FGBeacon::instance()\r
-{\r
-    if( _instance == NULL ) {\r
-        _instance = new FGBeacon();\r
-        _instance->init();\r
-    }\r
-    return _instance;\r
-}\r
+FGBeacon * FGBeacon::_instance = NULL;
+
+FGBeacon * FGBeacon::instance()
+{
+    if( _instance == NULL ) {
+        _instance = new FGBeacon();
+        _instance->init();
+    }
+    return _instance;
+}