Add mbtk_source git commit info
Change-Id: I9867613657db269bba81d28c4b3712062ae41bdd
diff --git a/mbtk/libmbtk_audio/src/mbtk_pcm_stream.c b/mbtk/libmbtk_audio/src/mbtk_pcm_stream.c
index a08338f..9f2336d 100755
--- a/mbtk/libmbtk_audio/src/mbtk_pcm_stream.c
+++ b/mbtk/libmbtk_audio/src/mbtk_pcm_stream.c
@@ -667,7 +667,7 @@
int value = 1;
struct mopen_audio_t *aud_hdl = NULL;
int ret;
-
+
if(internal_hdl)
{
printf("Audio device inited\n");
@@ -740,7 +740,7 @@
if (NULL == dev_hdl || NULL == internal_hdl)
return -1;
-
+
LOGD("mbtk_audio_play_file_new() dev_hdl:%p\n", dev_hdl);
if(AUDIO_RUNNING == pcxt->state)
@@ -768,7 +768,7 @@
// printf("%s:read : %d bytes\n", __FUNCTION__, res);
if(res == 0 || res < 0)
{
- LOGD("read:[%d]", res);
+ LOGD("read:[%d]", res);
break;
}
@@ -860,7 +860,7 @@
if(read_size > len)
{
- // printf(">[%d]\n", read_size);
+ // printf(">[%d]\n", read_size);
break;
}
@@ -886,7 +886,7 @@
if(read_size == len)
{
- // printf("=[%d]", read_size);
+ // printf("=[%d]", read_size);
break;
}
@@ -897,14 +897,14 @@
{
sprintf(cmd, "ubus call audio_if config_dspgain \"{\'type\':1, \'gain\':%d}\"", gain);
system(cmd);
-
+
flay_flag = FALSE;
usleep(80000);
}
}
}
-
+
if(pcxt->state != AUDIO_STOP)
{
mbtk_audio_set_status_new(dev_hdl, AUDIO_OPEN);
@@ -942,4 +942,8 @@
return 0;
}
+void mbtk_audio_lib_info_print()
+{
+ MBTK_SOURCE_INFO_PRINT("mbtk_audio_lib");
+}