// 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.hxx>
-
-#include <plib/sl.h>
-#include <plib/sm.h>
+#include <simgear/sound/soundmgr_openal.hxx>
#include "morse.hxx"
private:
- unsigned char inner_buf[ INNER_SIZE ] ;
- unsigned char middle_buf[ MIDDLE_SIZE ] ;
- unsigned char outer_buf[ OUTER_SIZE ] ;
-
- SGSimpleSound *inner;
- SGSimpleSound *middle;
- SGSimpleSound *outer;
+ SGSoundSample *inner;
+ SGSoundSample *middle;
+ SGSoundSample *outer;
public:
// allocate and initialize sound samples
bool init();
- SGSimpleSound *get_inner() { return inner; }
- SGSimpleSound *get_middle() { return middle; }
- SGSimpleSound *get_outer() { return outer; }
+ SGSoundSample *get_inner() { return inner; }
+ SGSoundSample *get_middle() { return middle; }
+ SGSoundSample *get_outer() { return outer; }
};