+ int handle;
+ GError *err = NULL;
+ GVariant *reply = NULL;
+ GDBusConnection *conn = NULL;
+ struct dbus_cb_data *dbus_cb_data = NULL;
+
+ if (path == NULL || stream_info == NULL) {
+ LOGE("invalid params");
+ return WAV_PLAYER_ERROR_INVALID_PARAMETER;
+ }
+
+ LOGI("path(%s), loop(%u), cb(%p) user_data(%p)", path, loop_count, callback, user_data);
+
+ m_path[0] = '\0';
+ if (path[0] != '/' && getcwd(m_path, PATH_MAX) != NULL)
+ strncat(m_path, "/", PATH_MAX - strlen(m_path) - 1);
+
+ strncat(m_path, path, PATH_MAX - strlen(m_path) - 1);
+ if (access(m_path, R_OK) != 0) {
+ char str_error[256];
+ strerror_r(errno, str_error, sizeof(str_error));
+ LOGE("file [%s] doesn't exists : [%s][%d]", m_path, str_error, errno);
+ return WAV_PLAYER_ERROR_INVALID_OPERATION;
+ }