1 /* 2 * Copyright (C) 2015-2020 Alibaba Group Holding Limited 3 * 4 */ 5 6 #include <stdio.h> 7 #include <stdlib.h> 8 #include <stdint.h> 9 #include <string.h> 10 11 #include "uvoice_os.h" 12 13 14 int uvoice_event_init(void); 15 int audio_device_init(void); 16 uvoice_init(void)17int uvoice_init(void) 18 { 19 if (uvoice_event_init()) { 20 M_LOGE("init uvoice event failed !\n"); 21 return -1; 22 } 23 24 if (audio_device_init()) { 25 M_LOGE("init audio device failed !\n"); 26 return -1; 27 } 28 29 M_LOGR("uvoice release v%d.%d @%s, %s\n", 30 UVOICE_RELEASE_VERSION_MAIN, 31 UVOICE_RELEASE_VERSION_SUB, __TIME__, __DATE__); 32 return 0; 33 } 34 uvoice_free(void)35int uvoice_free(void) 36 { 37 return 0; 38 } 39 40