#include <simgear/compiler.h>
-#ifdef SG_HAVE_STD_INCLUDES
-# include <fstream>
-# include <iostream>
-#elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
-# include <fstream.h>
-# include <iostream.h>
-#elif defined( __BORLANDC__ ) || (__APPLE__)
+#if defined( SG_HAVE_STD_INCLUDES ) || defined( __BORLANDC__ ) || (__APPLE__)
# include <fstream>
# include <iostream>
#else
#include <list>
#include <string>
+#include <simgear/sound/sample_openal.hxx>
+
SG_USING_STD(map);
SG_USING_STD(list);
SG_USING_STD(string);
-#if !defined( SG_HAVE_NATIVE_SGI_COMPILERS )
SG_USING_STD(cout);
SG_USING_STD(ios);
SG_USING_STD(ofstream);
SG_USING_STD(ifstream);
-#endif
struct WordData {
// the sound and word position data
char* rawSoundData;
unsigned int rawDataSize;
- slSample* SoundData;
+ SGSoundSample *SoundData;
// A map of words vs. byte position and length in rawSoundData
atc_word_map_type wordMap;