Android Audio - debug

1.抓logcat

++ b/frameworks/av/services/audiopolicy/enginedefault/src/Engine.cpp
@@ -15,9 +15,9 @@
  */

 #define LOG_TAG "APM::AudioPolicyEngine"
-//#define LOG_NDEBUG 0
+#define LOG_NDEBUG 0

-//#define VERY_VERBOSE_LOGGING
+#define VERY_VERBOSE_LOGGING
 #ifdef VERY_VERBOSE_LOGGING
 #define ALOGVV ALOGV
 

你可能感兴趣的:(Media,android,Audio)