]> git.mxchange.org Git - flightgear.git/commitdiff
Add a localizer audio ident class
authorTorsten Dreyer <Torsten@t3r.de>
Wed, 28 Sep 2011 22:01:44 +0000 (00:01 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Wed, 28 Sep 2011 22:01:44 +0000 (00:01 +0200)
This will be needed soon in the new navradio code.

src/Sound/audioident.cxx
src/Sound/audioident.hxx

index a09b68d80cbfdbf4c1b7d0709e7bb054c1150587..782526c9bf2048fbd732314cab863c8dafed6fb5 100644 (file)
@@ -135,7 +135,12 @@ VORAudioIdent::VORAudioIdent( const std::string & fx_name )
 //FIXME: LOCAudioIdent at approx 7wpm (ICAO Annex 10 - 3.1.3.9.4)
 // not less than six times per minute at approx equal intervals
 // frequency 1020+/-50Hz (3.1.3.9.2)
+LOCAudioIdent::LOCAudioIdent( const std::string & fx_name )
+: AudioIdent( fx_name, 10, FGMorse::LO_FREQUENCY )
+{
+}
+
 
 // FIXME: NDBAudioIdent at approx 7 wpm (ICAO ANNEX 10 - 3.4.5.1)
 // at least once every 10s (3.4.5.2.1)
-// frequency 1020+/-50Hz or 400+/-25Hz (3.4.5.4)
\ No newline at end of file
+// frequency 1020+/-50Hz or 400+/-25Hz (3.4.5.4)
index 723ddd70d99a37e768672e25a3e76d0ce345e397..3fcc7cd52bbaedcef0ee0890c642875d7be4b6cd 100644 (file)
@@ -62,4 +62,9 @@ public:
     VORAudioIdent( const std::string & fx_name );
 };
 
+class LOCAudioIdent : public AudioIdent {
+public:
+    LOCAudioIdent( const std::string & fx_name );
+};
+
 #endif // _FGAUDIOIDENT_HXX