return;
}
- SLOG(LOG_WARN, TAG_VCD, "[Recorder] focus state chagned to (%d) with reason (%s)", (int)focus_state, __get_focus_changed_reason_code(reason));
+ SLOG(LOG_WARN, TAG_VCD, "[Recorder] focus state changed to (%d) with reason (%s)", (int)focus_state, __get_focus_changed_reason_code(reason));
if (VCD_RECORDER_STATE_RECORDING == g_recorder_state && SOUND_STREAM_FOCUS_STATE_RELEASED == focus_state) {
SLOG(LOG_WARN, TAG_VCD, "[Recorder] Focus released as interrupt");
int ret = -1;
while (0 == sound_manager_get_next_device(device_list, &device)) {
if (0 != sound_manager_get_device_type(device, &type)) {
- SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail to get device tyep");
+ SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail to get device type");
continue;
}
if (0 != sound_manager_get_device_io_direction(device, &io_direction)) {
sound_device_type_e type;
if (is_connected) {
if (0 != sound_manager_get_device_type(device, &type)) {
- SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail to get device tyep");
+ SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail to get device type");
return;
}
if (type == SOUND_DEVICE_USB_AUDIO) {
audio_channel_e audio_ch;
audio_sample_type_e audio_type;
- SLOG(LOG_DEBUG, TAG_VCD, "[Recorder] AUdio type(%d) rate(%d) channel(%d)", g_audio_type, g_audio_rate, g_audio_channel);
+ SLOG(LOG_DEBUG, TAG_VCD, "[Recorder] Audio type(%d) rate(%d) channel(%d)", g_audio_type, g_audio_rate, g_audio_channel);
switch (g_audio_channel) {
case 1: audio_ch = AUDIO_CHANNEL_MONO; break;