]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/beacon.cxx
Forgot to implment the Node.getChild(name, index) form of the function
[flightgear.git] / src / Sound / beacon.cxx
index 0983d8bc0af3c87ef78a47a255a1b9cbf58c3d65..3da3843f9f7f0997c693289f46876fa523f26672 100644 (file)
@@ -51,7 +51,7 @@ bool FGBeacon::init() {
        ptr += INNER_DIT_LEN;
     }
 
-    inner = new FGSimpleSound( inner_buf, INNER_SIZE );
+    inner = new SGSimpleSound( inner_buf, INNER_SIZE );
 
     // Make middle marker beacon sound
     len= (int)(MIDDLE_DIT_LEN / 2.0 );
@@ -69,7 +69,7 @@ bool FGBeacon::init() {
     ptr += MIDDLE_DIT_LEN;
     memcpy( ptr, middle_dah, MIDDLE_DAH_LEN );
 
-    middle = new FGSimpleSound( middle_buf, MIDDLE_SIZE );
+    middle = new SGSimpleSound( middle_buf, MIDDLE_SIZE );
 
     // Make outer marker beacon sound
     len= (int)(OUTER_DAH_LEN * 3.0 / 4.0 );
@@ -82,7 +82,7 @@ bool FGBeacon::init() {
     ptr += OUTER_DAH_LEN;
     memcpy( ptr, outer_dah, OUTER_DAH_LEN );
 
-    outer = new FGSimpleSound( outer_buf, OUTER_SIZE );
+    outer = new SGSimpleSound( outer_buf, OUTER_SIZE );
 
     return true;
 }