diff options
Diffstat (limited to 'snd.c')
-rw-r--r-- | snd.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -35,7 +35,7 @@ unsigned char srs2ipc_call_type(int type) case SRS_SND_TYPE_BTVOICE: return IPC_SND_VOLUME_TYPE_BTVOICE; default: - LOGE("Unknown call type: 0x%x", type); + RIL_LOGE("Unknown call type: 0x%x", type); return 0; } } @@ -56,7 +56,7 @@ unsigned char srs2ipc_audio_path(int path) case SRS_SND_PATH_HEADPHONE: return IPC_SND_AUDIO_PATH_HEADPHONE; default: - LOGE("Unknown audio path: 0x%x", path); + RIL_LOGE("Unknown audio path: 0x%x", path); return 0; } } @@ -75,7 +75,7 @@ void ril_request_set_mute(RIL_Token t, void *data, int length) value = (int *) data; mute = *value ? 1 : 0; - LOGD("Mute is %d\n", mute); + RIL_LOGD("Mute is %d\n", mute); ipc_gen_phone_res_expect_to_complete(ril_request_get_id(t), IPC_SND_MIC_MUTE_CTRL); @@ -91,7 +91,7 @@ void srs_snd_set_call_clock_sync(struct srs_message *message) sync = (unsigned char *) message->data; - LOGD("Clock sync is 0x%x\n", *sync); + RIL_LOGD("Clock sync is 0x%x\n", *sync); ipc_fmt_send(IPC_SND_CLOCK_CTRL, IPC_TYPE_EXEC, sync, sizeof(unsigned char), ril_request_id_get()); } @@ -106,7 +106,7 @@ void srs_snd_set_call_volume(struct srs_message *message) call_volume = (struct srs_snd_call_volume *) message->data; - LOGD("Call volume for: 0x%x vol = 0x%x\n", call_volume->type, call_volume->volume); + RIL_LOGD("Call volume for: 0x%x vol = 0x%x\n", call_volume->type, call_volume->volume); memset(&volume_ctrl, 0, sizeof(volume_ctrl)); volume_ctrl.type = srs2ipc_call_type(call_volume->type); @@ -126,7 +126,7 @@ void srs_snd_set_call_audio_path(struct srs_message *message) audio_path = (int *) message->data; path = srs2ipc_audio_path(*audio_path); - LOGD("Audio path to: 0x%x\n", path); + RIL_LOGD("Audio path to: 0x%x\n", path); ipc_fmt_send(IPC_SND_AUDIO_PATH_CTRL, IPC_TYPE_SET, (void *) &path, sizeof(path), ril_request_id_get()); } |