From c659351ad768dbc200bafc80b422908771087280 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 20 Oct 2011 11:55:39 +0100 Subject: Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Ia9892afbd743662a2272882bcdda7f23ae9d3b6d --- pico/tts/com_svox_picottsengine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp index 2370964..1ceb40e 100644 --- a/pico/tts/com_svox_picottsengine.cpp +++ b/pico/tts/com_svox_picottsengine.cpp @@ -1071,11 +1071,11 @@ tts_result TtsEngine::init( synthDoneCB_t synthDoneCBPtr, const char *config ) if ((config != NULL) && (strlen(config) > 0)) { pico_alt_lingware_path = (char*)malloc(strlen(config)); strcpy((char*)pico_alt_lingware_path, config); - LOGV("Alternative lingware path %s", pico_alt_lingware_path); + ALOGV("Alternative lingware path %s", pico_alt_lingware_path); } else { pico_alt_lingware_path = (char*)malloc(strlen(PICO_LINGWARE_PATH) + 1); strcpy((char*)pico_alt_lingware_path, PICO_LINGWARE_PATH); - LOGV("Using predefined lingware path %s", pico_alt_lingware_path); + ALOGV("Using predefined lingware path %s", pico_alt_lingware_path); } return TTS_SUCCESS; @@ -1225,7 +1225,7 @@ tts_support_result TtsEngine::isLanguageAvailable(const char *lang, const char * } if (langIndex < 0) { // language isn't supported - LOGV("TtsEngine::isLanguageAvailable called with unsupported language"); + ALOGV("TtsEngine::isLanguageAvailable called with unsupported language"); return TTS_LANG_NOT_SUPPORTED; } @@ -1615,7 +1615,7 @@ tts_result TtsEngine::synthesizeText( const char * text, int8_t * buffer, size_t if (local_text) { free(local_text); } - LOGV("Synth loop: sending TTS_SYNTH_DONE after error"); + ALOGV("Synth loop: sending TTS_SYNTH_DONE after error"); picoSynthDoneCBPtr( userdata, 16000, TTS_AUDIO_FORMAT_PCM_16_BIT, 1, buffer, bufused, TTS_SYNTH_DONE); pico_resetEngine( picoEngine, PICO_RESET_SOFT ); @@ -1624,7 +1624,7 @@ tts_result TtsEngine::synthesizeText( const char * text, int8_t * buffer, size_t } /* Synthesis is done; notify the caller */ - LOGV("Synth loop: sending TTS_SYNTH_DONE after all done, or was asked to stop"); + ALOGV("Synth loop: sending TTS_SYNTH_DONE after all done, or was asked to stop"); picoSynthDoneCBPtr( userdata, 16000, TTS_AUDIO_FORMAT_PCM_16_BIT, 1, buffer, bufused, TTS_SYNTH_DONE); -- cgit v1.1