diff options
-rwxr-xr-x | audio/audio_hw.c | 10 | ||||
-rw-r--r-- | liblight/lights.c | 4 | ||||
-rw-r--r-- | libsensors/sensors.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 2a58f4f..079acd7 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -1247,7 +1247,7 @@ static int get_playback_delay(struct tuna_stream_out *out, buffer->time_stamp.tv_sec = 0; buffer->time_stamp.tv_nsec = 0; buffer->delay_ns = 0; - LOGV("get_playback_delay(): pcm_get_htimestamp error," + ALOGV("get_playback_delay(): pcm_get_htimestamp error," "setting playbackTimestamp to 0"); return status; } @@ -1761,7 +1761,7 @@ static void get_capture_delay(struct tuna_stream_in *in, buffer->time_stamp = tstamp; buffer->delay_ns = delay_ns; - LOGV("get_capture_delay time_stamp = [%ld].[%ld], delay_ns: [%d]," + ALOGV("get_capture_delay time_stamp = [%ld].[%ld], delay_ns: [%d]," " kernel_delay:[%ld], buf_delay:[%ld], rsmp_delay:[%ld], kernel_frames:[%d], " "in->frames_in:[%d], in->proc_frames_in:[%d], frames:[%d]", buffer->time_stamp.tv_sec , buffer->time_stamp.tv_nsec, buffer->delay_ns, @@ -1775,7 +1775,7 @@ static int32_t update_echo_reference(struct tuna_stream_in *in, size_t frames) struct echo_reference_buffer b; b.delay_ns = 0; - LOGV("update_echo_reference, frames = [%d], in->ref_frames_in = [%d], " + ALOGV("update_echo_reference, frames = [%d], in->ref_frames_in = [%d], " "b.frame_count = [%d]", frames, in->ref_frames_in, frames - in->ref_frames_in); if (in->ref_frames_in < frames) { @@ -1794,7 +1794,7 @@ static int32_t update_echo_reference(struct tuna_stream_in *in, size_t frames) if (in->echo_reference->read(in->echo_reference, &b) == 0) { in->ref_frames_in += b.frame_count; - LOGV("update_echo_reference: in->ref_frames_in:[%d], " + ALOGV("update_echo_reference: in->ref_frames_in:[%d], " "in->ref_buf_size:[%d], frames:[%d], b.frame_count:[%d]", in->ref_frames_in, in->ref_buf_size, frames, b.frame_count); } @@ -1981,7 +1981,7 @@ static ssize_t process_frames(struct tuna_stream_in *in, void* buffer, ssize_t f in->proc_buf = (int16_t *)realloc(in->proc_buf, in->proc_buf_size * in->config.channels * sizeof(int16_t)); - LOGV("process_frames(): in->proc_buf %p size extended to %d frames", + ALOGV("process_frames(): in->proc_buf %p size extended to %d frames", in->proc_buf, in->proc_buf_size); } frames_rd = read_frames(in, diff --git a/liblight/lights.c b/liblight/lights.c index 8c675b2..52bce3f 100644 --- a/liblight/lights.c +++ b/liblight/lights.c @@ -54,7 +54,7 @@ static int write_int(char const *path, int value) already_warned = 0; - LOGV("write_int: path %s, value %d", path, value); + ALOGV("write_int: path %s, value %d", path, value); fd = open(path, O_RDWR); if (fd >= 0) { @@ -95,7 +95,7 @@ static int set_light_backlight(struct light_device_t *dev, static int close_lights(struct light_device_t *dev) { - LOGV("close_light is called"); + ALOGV("close_light is called"); if (dev) free(dev); diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp index 450dbd5..96f128d 100644 --- a/libsensors/sensors.cpp +++ b/libsensors/sensors.cpp @@ -16,7 +16,7 @@ #define LOG_NDEBUG 0 #define LOG_TAG "Sensors" -//#define FUNC_LOG LOGV("%s", __PRETTY_FUNCTION__) +//#define FUNC_LOG ALOGV("%s", __PRETTY_FUNCTION__) #define FUNC_LOG #include <hardware/sensors.h> |