#include <simgear/constants.h>
+#include <Main/globals.hxx>
+
#include "morse.hxx"
// make a SGSoundSample morse code transmission for the specified string
SGSoundSample *FGMorse::make_ident( const string& id, const int freq ) {
+
+ if (globals->get_soundmgr()->is_working() == false) {
+ return 0;
+ }
+
char *idptr = (char *)id.c_str();
int length = 0;