]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/beacon.hxx
Add a *really* crude model of ITT, Oil Temp, and Oil Pressure. This
[flightgear.git] / src / Sound / beacon.hxx
index e9ab5eaecfd00113d17bd8f08e30d244865940fe..7d2acfae55704baea56776380c46918fa8316101 100644 (file)
@@ -4,7 +4,7 @@
 
 // Written by Curtis Olson, started March 2001.
 //
-// Copyright (C) 2001  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2001  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
 #endif
 
 #include <simgear/compiler.h>
+#include <simgear/sound/soundmgr_openal.hxx>
 
 #include <plib/sl.h>
 #include <plib/sm.h>
 
 #include "morse.hxx"
-#include "soundmgr.hxx"
 
 
 // Quoting from http://www.smartregs.com/data/sa326.htm
@@ -96,13 +96,9 @@ class FGBeacon {
 
 private:
 
-    unsigned char inner_buf[ INNER_SIZE ] ;
-    unsigned char middle_buf[ MIDDLE_SIZE ] ;
-    unsigned char outer_buf[ OUTER_SIZE ] ;
-
-    FGSimpleSound *inner;
-    FGSimpleSound *middle;
-    FGSimpleSound *outer;
+    SGSoundSample *inner;
+    SGSoundSample *middle;
+    SGSoundSample *outer;
 
 public:
 
@@ -112,9 +108,9 @@ public:
     // allocate and initialize sound samples
     bool init();
 
-    FGSimpleSound *get_inner() { return inner; }
-    FGSimpleSound *get_middle() { return middle; }
-    FGSimpleSound *get_outer() { return outer; }
+    SGSoundSample *get_inner() { return inner; }
+    SGSoundSample *get_middle() { return middle; }
+    SGSoundSample *get_outer() { return outer; }
    
 };