X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fsample_openal.hxx;h=706fa8d07383106ccf8bfe13667ac9d03f8180a2;hb=c188f6e3cb210327723356386d07dc1d56326ab4;hp=a32b8719c7d6fb6e38d5d41ed56563ba7c9af942;hpb=1387f47a797567dd28d1e454f2aa6bbaec226d89;p=simgear.git diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index a32b8719..706fa8d0 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -30,20 +30,20 @@ #ifndef _SG_SAMPLE_HXX #define _SG_SAMPLE_HXX 1 -#ifndef __cplusplus -# error This library requires C++ -#endif - #include -#include #include -#include #include #include - +#include + class SGPath; +#ifndef AL_FORMAT_MONO8 + #define AL_FORMAT_MONO8 0x1100 +#endif + + /** * manages everything we need to know for an individual audio sample */ @@ -513,7 +513,7 @@ private: bool _out_of_range; bool _is_file; - string random_string(); + std::string random_string(); };