]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/aeonwave_test1.cxx
Reflect the latest header changes
[simgear.git] / simgear / sound / aeonwave_test1.cxx
index 18642103a143dbfce2f2b2d25af186a61e76b03d..46fb4c472dc1e3000027a7f3bcb99b54f4721612 100644 (file)
 
 bool testForError(aax::AeonWave& p, std::string s)
 {
-    enum aaxErrorType error = aax::error_no();
+    enum aaxErrorType error = p.error_no();
     if (error != AAX_ERROR_NONE) {
        std::cout << "AeonWave Error: "
-                 << aax::error(error) << " at " << s << std::endl;
+                 << aax::strerror(error) << " at " << s << std::endl;
         return true;
     }
     return false;