Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-alsa_sound: 提交

hardware/alsa_sound


Commit MetaInfo

修订版ece3f1b6f1e6a67d02e42490eca6c7de62220b57 (tree)
时间2011-03-04 12:44:24
作者Sean McNeil <sean.mcneil@wind...>
CommiterSean McNeil

Log Message

Update for Gingerbread build.

Add LOCAL_MODULE_TAGS as required.
Change LOG format to evade more restrictive errors by the compiler.

Change-Id: Ic5d390927c304f492b00ecd7d2ac2f2f68e79274

更改概述

差异

--- a/Android.mk
+++ b/Android.mk
@@ -86,6 +86,7 @@ endif
8686 libasound \
8787 liblog
8888
89+ LOCAL_MODULE_TAGS := optional
8990 LOCAL_MODULE:= alsa.default
9091
9192 include $(BUILD_SHARED_LIBRARY)
@@ -106,6 +107,7 @@ endif
106107
107108 LOCAL_SHARED_LIBRARIES := liblog
108109
110+ LOCAL_MODULE_TAGS := optional
109111 LOCAL_MODULE:= acoustics.default
110112
111113 include $(BUILD_SHARED_LIBRARY)
--- a/AudioHardwareALSA.cpp
+++ b/AudioHardwareALSA.cpp
@@ -63,7 +63,7 @@ static void ALSAErrorHandler(const char *file,
6363 l = snprintf(buf, BUFSIZ, "%s:%i:(%s) ", file, line, function);
6464 vsnprintf(buf + l, BUFSIZ - l, fmt, arg);
6565 buf[BUFSIZ-1] = '\0';
66- LOG(LOG_ERROR, "ALSALib", buf);
66+ LOG(LOG_ERROR, "ALSALib", "%s", buf);
6767 va_end(arg);
6868 }
6969
Show on old repository browser