瀏覽代碼

I have added the debug output for AL_RENDERE AL_VENDER and AL_VERSION when starting openAL

treeform 15 年之前
父節點
當前提交
d5071f89b6
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      panda/src/audiotraits/openalAudioManager.cxx

+ 5 - 0
panda/src/audiotraits/openalAudioManager.cxx

@@ -148,6 +148,11 @@ OpenALAudioManager() {
     audio_3d_set_distance_factor(audio_distance_factor);
     audio_3d_set_drop_off_factor(audio_drop_off_factor);
   }
+    
+  audio_cat->debug() << "AL_RENDERER:" << alGetString(AL_RENDERER) << endl;
+  audio_cat->debug() << "AL_VENDOR:" << alGetString(AL_VENDOR) << endl;
+  audio_cat->debug() << "AL_VERSION:" << alGetString(AL_VERSION) << endl;
+
 }
 
 ////////////////////////////////////////////////////////////////////