Fix spelling errata
[platform/core/uifw/voice-control.git] / server / vcd_recorder.c
index 5d1f689..ca49fb9 100644 (file)
@@ -241,7 +241,7 @@ static void __recorder_focus_state_cb(sound_stream_info_h stream_info, sound_str
                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");
@@ -267,7 +267,7 @@ static int __apply_device_for_stream_routing()
        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)) {
@@ -304,7 +304,7 @@ static void __device_connection_changed_cb(sound_device_h device, bool is_connec
        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) {
@@ -369,7 +369,7 @@ int vcd_recorder_create(vcd_recoder_audio_cb audio_cb, vcd_recorder_interrupt_cb
        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;