[Feature][ZXW-452]merge P54U02 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/lib/libvoice/voice.c b/ap/lib/libvoice/voice.c
old mode 100644
new mode 100755
index 33b3bed..16da46c
--- a/ap/lib/libvoice/voice.c
+++ b/ap/lib/libvoice/voice.c
@@ -223,6 +223,11 @@
return 0;
}
}
+#if defined(_VBUFF_IN_SINGLE_CORE) || defined(_VBUFF_IN_MULTI_CORE)
+ printf("%s: use voice buffer,return!\n",__func__);
+ return 0;
+
+#endif
#if defined(_ALSA_CODEC_IN_CAP) && defined(_USE_ALSA_AT_INTF)
@@ -338,6 +343,13 @@
return;
}
}
+#if defined(_VBUFF_IN_SINGLE_CORE) || defined(_VBUFF_IN_MULTI_CORE)
+ printf("%s: use voice buffer,return!\n",__func__);
+ return 0;
+
+#endif
+
+
#if defined(_ALSA_CODEC_IN_CAP) && defined(_USE_ALSA_AT_INTF)
printf("%s: i2s and codec not need config,return!\n",__func__);